ProtoOAMarginChangedEvent
* Event that is sent when the margin allocated to a specific position is changed.
Implementa: IMessage<ProtoOAMarginChangedEvent>, IMessage, IEquatable<ProtoOAMarginChangedEvent>, IDeepCloneable<ProtoOAMarginChangedEvent>, IBufferMessage
Propiedades
CtidTraderAccountId : long
Unique identifier of the trader's account. Used to match responses to trader's accounts.
HasCtidTraderAccountId : bool
Gets whether the "ctidTraderAccountId" field is set
HasMoneyDigits : bool
Gets whether the "moneyDigits" field is set
HasPayloadType : bool
Gets whether the "payloadType" field is set
HasPositionId : bool
Gets whether the "positionId" field is set
HasUsedMargin : bool
Gets whether the "usedMargin" field is set
MoneyDigits : uint
Specifies the exponent of the monetary values. E.g. moneyDigits = 8 must be interpret as business value multiplied by 10^8, then real balance would be 10053099944 / 10^8 = 100.53099944. Affects usedMargin.
PositionId : ulong
The unique ID of the position.
UsedMargin : ulong
The new value of the margin used.
Métodos
ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
ClearMoneyDigits()
Clears the value of the "moneyDigits" field
ClearPayloadType()
Clears the value of the "payloadType" field
ClearPositionId()
Clears the value of the "positionId" field
ClearUsedMargin()
Clears the value of the "usedMargin" field
Campos
CtidTraderAccountIdFieldNumber : int
Field number for the "ctidTraderAccountId" field.
MoneyDigitsFieldNumber : int
Field number for the "moneyDigits" field.
PayloadTypeFieldNumber : int
Field number for the "payloadType" field.
PositionIdFieldNumber : int
Field number for the "positionId" field.
UsedMarginFieldNumber : int
Field number for the "usedMargin" field.