ProtoOACancelOrderReq
* Request for cancelling existing pending order. Allowed only if the accessToken has "trade" permissions for the trading account.
Implements: IMessage<ProtoOACancelOrderReq>, IMessage, IEquatable<ProtoOACancelOrderReq>, IDeepCloneable<ProtoOACancelOrderReq>, IBufferMessage
Properties
public long CtidTraderAccountId { get; set; }
value = protoOACancelOrderReq.CtidTraderAccountId
protoOACancelOrderReq.CtidTraderAccountId = value
Unique identifier of the trader's account. Used to match responses to trader's accounts.
public bool HasCtidTraderAccountId { get; }
value = protoOACancelOrderReq.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasOrderId { get; }
value = protoOACancelOrderReq.HasOrderId
Gets whether the "orderId" field is set
public bool HasPayloadType { get; }
value = protoOACancelOrderReq.HasPayloadType
Gets whether the "payloadType" field is set
public long OrderId { get; set; }
value = protoOACancelOrderReq.OrderId
protoOACancelOrderReq.OrderId = value
The unique ID of the order.
Methods
public void ClearCtidTraderAccountId()
protoOACancelOrderReq.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearOrderId()
protoOACancelOrderReq.ClearOrderId()
Clears the value of the "orderId" field
public void ClearPayloadType()
protoOACancelOrderReq.ClearPayloadType()
Clears the value of the "payloadType" field
Fields
public const int CtidTraderAccountIdFieldNumber
value = ProtoOACancelOrderReq.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int OrderIdFieldNumber
value = ProtoOACancelOrderReq.OrderIdFieldNumber
Field number for the "orderId" field.
public const int PayloadTypeFieldNumber
value = ProtoOACancelOrderReq.PayloadTypeFieldNumber
Field number for the "payloadType" field.