ProtoOAGetPositionUnrealizedPnLReq
StockSharp.cTrader.Native.Model
* Request for getting trader's positions' unrealized PnLs.
Implements: IMessage<ProtoOAGetPositionUnrealizedPnLReq>, IMessage, IEquatable<ProtoOAGetPositionUnrealizedPnLReq>, IDeepCloneable<ProtoOAGetPositionUnrealizedPnLReq>, IBufferMessage
Properties
CtidTraderAccountId
public long CtidTraderAccountId { get; set; }
value = protoOAGetPositionUnrealizedPnLReq.CtidTraderAccountId
protoOAGetPositionUnrealizedPnLReq.CtidTraderAccountId = value
The unique identifier of the trader's account in cTrader platform.
HasCtidTraderAccountId
public bool HasCtidTraderAccountId { get; }
value = protoOAGetPositionUnrealizedPnLReq.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
HasPayloadType
public bool HasPayloadType { get; }
value = protoOAGetPositionUnrealizedPnLReq.HasPayloadType
Gets whether the "payloadType" field is set
Methods
ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAGetPositionUnrealizedPnLReq.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
ClearPayloadType
public void ClearPayloadType()
protoOAGetPositionUnrealizedPnLReq.ClearPayloadType()
Clears the value of the "payloadType" field
Fields
CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAGetPositionUnrealizedPnLReq.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAGetPositionUnrealizedPnLReq.PayloadTypeFieldNumber
Field number for the "payloadType" field.