ProtoOAGetPositionUnrealizedPnLRes

StockSharp.cTrader.Native.Model

* Response to ProtoOAGetPositionUnrealizedPnLReq request.

実装: IMessage<ProtoOAGetPositionUnrealizedPnLRes>, IMessage, IEquatable<ProtoOAGetPositionUnrealizedPnLRes>, IDeepCloneable<ProtoOAGetPositionUnrealizedPnLRes>, IBufferMessage

プロパティ

CtidTraderAccountId : long

The unique identifier of the trader's account in cTrader platform.

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

MoneyDigits : uint

Specifies the exponent of various monetary values. E.g., moneyDigits = 8 should be interpreted as the value multiplied by 10^8 with the 'real' value equal to 10053099944 / 10^8 = 100.53099944. Affects positionUnrealizedPnL.grossUnrealizedPnL, positionUnrealizedPnL.netUnrealizedPnL.

PositionUnrealizedPnL : RepeatedField<ProtoOAPositionUnrealizedPnL>

Information about trader's positions' unrealized PnLs.

メソッド

ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearMoneyDigits()

Clears the value of the "moneyDigits" field

ClearPayloadType()

Clears the value of the "payloadType" field

フィールド

CtidTraderAccountIdFieldNumber : int

Field number for the "ctidTraderAccountId" field.

MoneyDigitsFieldNumber : int

Field number for the "moneyDigits" field.

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.

PositionUnrealizedPnLFieldNumber : int

Field number for the "positionUnrealizedPnL" field.