ProtoOAMarginCall
StockSharp.cTrader.Native.Model
*边际呼叫实体,指定精确差值呼叫类型的阈值。仅支持3个差值呼叫实例,由marginCallType识别。详情见ProtoOANotificationType。
实现: IMessage<ProtoOAMarginCall>, IMessage, IEquatable<ProtoOAMarginCall>, IDeepCloneable<ProtoOAMarginCall>, IBufferMessage
属性
HasMarginCallType
public bool HasMarginCallType { get; }
value = protoOAMarginCall.HasMarginCallType
获取是否设置了 " marginCallType " 字段
HasMarginLevelThreshold
public bool HasMarginLevelThreshold { get; }
value = protoOAMarginCall.HasMarginLevelThreshold
获取是否设置了 " marginLevelThreshold " 字段
HasUtcLastUpdateTimestamp
public bool HasUtcLastUpdateTimestamp { get; }
value = protoOAMarginCall.HasUtcLastUpdateTimestamp
获取是否设置了 " utcLastUpdateTimestamp " 字段
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
差值调用时的边际水平阈值 。
UtcLastUpdateTimestamp
public long UtcLastUpdateTimestamp { get; set; }
value = protoOAMarginCall.UtcLastUpdateTimestamp
protoOAMarginCall.UtcLastUpdateTimestamp = value
上次更新比值调用时以毫秒表示的Unix时间.
方法
ClearMarginCallType
public void ClearMarginCallType()
protoOAMarginCall.ClearMarginCallType()
清除 " marginCallType " 字段的值
ClearMarginLevelThreshold
public void ClearMarginLevelThreshold()
protoOAMarginCall.ClearMarginLevelThreshold()
清除 " marginLevelThreshold " 字段的值
ClearUtcLastUpdateTimestamp
public void ClearUtcLastUpdateTimestamp()
protoOAMarginCall.ClearUtcLastUpdateTimestamp()
清除 " utcLastUpdateTimestamp " 字段的值
字段
MarginCallTypeFieldNumber
public const int MarginCallTypeFieldNumber
value = ProtoOAMarginCall.MarginCallTypeFieldNumber
" marginCallType " 字段的字段编号。
MarginLevelThresholdFieldNumber
public const int MarginLevelThresholdFieldNumber
value = ProtoOAMarginCall.MarginLevelThresholdFieldNumber
" marginLevelThreshold " 字段的字段编号。
UtcLastUpdateTimestampFieldNumber
public const int UtcLastUpdateTimestampFieldNumber
value = ProtoOAMarginCall.UtcLastUpdateTimestampFieldNumber
" utcLastUpdateTimestamp " 字段的字段编号。