ProtoOAMarginCall
* 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
public bool HasMarginCallType { get; }
value = protoOAMarginCall.HasMarginCallType
Gets whether the "marginCallType" field is set
public bool HasMarginLevelThreshold { get; }
value = protoOAMarginCall.HasMarginLevelThreshold
Gets whether the "marginLevelThreshold" field is set
public bool HasUtcLastUpdateTimestamp { get; }
value = protoOAMarginCall.HasUtcLastUpdateTimestamp
Gets whether the "utcLastUpdateTimestamp" field is set
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.
public double MarginLevelThreshold { get; set; }
value = protoOAMarginCall.MarginLevelThreshold
protoOAMarginCall.MarginLevelThreshold = value
Margin level threshold for margin call.
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
public void ClearMarginCallType()
protoOAMarginCall.ClearMarginCallType()
Clears the value of the "marginCallType" field
public void ClearMarginLevelThreshold()
protoOAMarginCall.ClearMarginLevelThreshold()
Clears the value of the "marginLevelThreshold" field
public void ClearUtcLastUpdateTimestamp()
protoOAMarginCall.ClearUtcLastUpdateTimestamp()
Clears the value of the "utcLastUpdateTimestamp" field
Fields
public const int MarginCallTypeFieldNumber
value = ProtoOAMarginCall.MarginCallTypeFieldNumber
Field number for the "marginCallType" field.
public const int MarginLevelThresholdFieldNumber
value = ProtoOAMarginCall.MarginLevelThresholdFieldNumber
Field number for the "marginLevelThreshold" field.
public const int UtcLastUpdateTimestampFieldNumber
value = ProtoOAMarginCall.UtcLastUpdateTimestampFieldNumber
Field number for the "utcLastUpdateTimestamp" field.