ProtoOAPositionUnrealizedPnL
Implements: IMessage<ProtoOAPositionUnrealizedPnL>, IMessage, IEquatable<ProtoOAPositionUnrealizedPnL>, IDeepCloneable<ProtoOAPositionUnrealizedPnL>, IBufferMessage
Properties
GrossUnrealizedPnL : long
The gross unrealized PnL of the position denoted in the account deposit currency.
HasGrossUnrealizedPnL : bool
Gets whether the "grossUnrealizedPnL" field is set
HasNetUnrealizedPnL : bool
Gets whether the "netUnrealizedPnL" field is set
HasPositionId : bool
Gets whether the "positionId" field is set
NetUnrealizedPnL : long
The net unrealized PnL of the position denoted in the account deposit currency. It does not include potential closing commission.
PositionId : long
The position ID.
Methods
ClearGrossUnrealizedPnL()
Clears the value of the "grossUnrealizedPnL" field
ClearNetUnrealizedPnL()
Clears the value of the "netUnrealizedPnL" field
ClearPositionId()
Clears the value of the "positionId" field
Fields
GrossUnrealizedPnLFieldNumber : int
Field number for the "grossUnrealizedPnL" field.
NetUnrealizedPnLFieldNumber : int
Field number for the "netUnrealizedPnL" field.
PositionIdFieldNumber : int
Field number for the "positionId" field.