ProtoOAGetPositionUnrealizedPnLReq
StockSharp.cTrader.Native.Model
* 要求获得贸易商未实现的PnLs职位。
实现: IMessage<ProtoOAGetPositionUnrealizedPnLReq>, IMessage, IEquatable<ProtoOAGetPositionUnrealizedPnLReq>, IDeepCloneable<ProtoOAGetPositionUnrealizedPnLReq>, IBufferMessage
属性
CtidTraderAccountId
public long CtidTraderAccountId { get; set; }
value = protoOAGetPositionUnrealizedPnLReq.CtidTraderAccountId
protoOAGetPositionUnrealizedPnLReq.CtidTraderAccountId = value
cTrader平台交易商账户的独有标识.
HasCtidTraderAccountId
public bool HasCtidTraderAccountId { get; }
value = protoOAGetPositionUnrealizedPnLReq.HasCtidTraderAccountId
获取是否设置了 " ctidTraderAccountId " 字段
HasPayloadType
public bool HasPayloadType { get; }
value = protoOAGetPositionUnrealizedPnLReq.HasPayloadType
获取是否设置了 " payloadType " 字段
方法
ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAGetPositionUnrealizedPnLReq.ClearCtidTraderAccountId()
清除 " ctidTraderAccountId " 字段的值
ClearPayloadType
public void ClearPayloadType()
protoOAGetPositionUnrealizedPnLReq.ClearPayloadType()
清除 " payloadType " 字段的值
字段
CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAGetPositionUnrealizedPnLReq.CtidTraderAccountIdFieldNumber
" ctidTraderAccountId " 字段的字段编号。
PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAGetPositionUnrealizedPnLReq.PayloadTypeFieldNumber
" payloadType " 字段的字段编号。