ProtoOAPositionUnrealizedPnL

StockSharp.cTrader.Native.Model

实现: IMessage<ProtoOAPositionUnrealizedPnL>, IMessage, IEquatable<ProtoOAPositionUnrealizedPnL>, IDeepCloneable<ProtoOAPositionUnrealizedPnL>, IBufferMessage

属性

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.

方法

ClearGrossUnrealizedPnL()

Clears the value of the "grossUnrealizedPnL" field

ClearNetUnrealizedPnL()

Clears the value of the "netUnrealizedPnL" field

ClearPositionId()

Clears the value of the "positionId" field

字段

GrossUnrealizedPnLFieldNumber : int

Field number for the "grossUnrealizedPnL" field.

NetUnrealizedPnLFieldNumber : int

Field number for the "netUnrealizedPnL" field.

PositionIdFieldNumber : int

Field number for the "positionId" field.