ProtoOAMarginCall

StockSharp.cTrader.Native.Model

* Margin call entity, specifies threshold for exact margin call type. Only 3 instances of margin calls are supported, identified by marginCallType. See ProtoOANotificationType for details.

Implements: IMessage<ProtoOAMarginCall>, IMessage, IEquatable<ProtoOAMarginCall>, IDeepCloneable<ProtoOAMarginCall>, IBufferMessage

Properties

HasMarginCallType
public bool HasMarginCallType { get; }
value = protoOAMarginCall.HasMarginCallType

Gets whether the "marginCallType" field is set

HasMarginLevelThreshold
public bool HasMarginLevelThreshold { get; }
value = protoOAMarginCall.HasMarginLevelThreshold

Gets whether the "marginLevelThreshold" field is set

HasUtcLastUpdateTimestamp
public bool HasUtcLastUpdateTimestamp { get; }
value = protoOAMarginCall.HasUtcLastUpdateTimestamp

Gets whether the "utcLastUpdateTimestamp" field is set

MarginCallType
public ProtoOANotificationType MarginCallType { get; set; }
value = protoOAMarginCall.MarginCallType
protoOAMarginCall.MarginCallType = value

Type of margin call. All margin calls are similar, only difference is in marginLevelThreshold.

MarginLevelThreshold
public double MarginLevelThreshold { get; set; }
value = protoOAMarginCall.MarginLevelThreshold
protoOAMarginCall.MarginLevelThreshold = value

Margin level threshold for margin call.

UtcLastUpdateTimestamp
public long UtcLastUpdateTimestamp { get; set; }
value = protoOAMarginCall.UtcLastUpdateTimestamp
protoOAMarginCall.UtcLastUpdateTimestamp = value

The Unix time in milliseconds of the last update of the margin call.

Methods

ClearMarginCallType
public void ClearMarginCallType()
protoOAMarginCall.ClearMarginCallType()

Clears the value of the "marginCallType" field

ClearMarginLevelThreshold
public void ClearMarginLevelThreshold()
protoOAMarginCall.ClearMarginLevelThreshold()

Clears the value of the "marginLevelThreshold" field

ClearUtcLastUpdateTimestamp
public void ClearUtcLastUpdateTimestamp()
protoOAMarginCall.ClearUtcLastUpdateTimestamp()

Clears the value of the "utcLastUpdateTimestamp" field

Fields

MarginCallTypeFieldNumber
public const int MarginCallTypeFieldNumber
value = ProtoOAMarginCall.MarginCallTypeFieldNumber

Field number for the "marginCallType" field.

MarginLevelThresholdFieldNumber
public const int MarginLevelThresholdFieldNumber
value = ProtoOAMarginCall.MarginLevelThresholdFieldNumber

Field number for the "marginLevelThreshold" field.

UtcLastUpdateTimestampFieldNumber
public const int UtcLastUpdateTimestampFieldNumber
value = ProtoOAMarginCall.UtcLastUpdateTimestampFieldNumber

Field number for the "utcLastUpdateTimestamp" field.