ProtoOAOrderErrorEvent
* Event that is sent when errors occur during the order requests.
Implements: IMessage<ProtoOAOrderErrorEvent>, IMessage, IEquatable<ProtoOAOrderErrorEvent>, IDeepCloneable<ProtoOAOrderErrorEvent>, IBufferMessage
Properties
public long CtidTraderAccountId { get; set; }
value = protoOAOrderErrorEvent.CtidTraderAccountId
protoOAOrderErrorEvent.CtidTraderAccountId = value
Unique identifier of the trader's account. Used to match responses to trader's accounts.
public string Description { get; set; }
value = protoOAOrderErrorEvent.Description
protoOAOrderErrorEvent.Description = value
The error description.
public string ErrorCode { get; set; }
value = protoOAOrderErrorEvent.ErrorCode
protoOAOrderErrorEvent.ErrorCode = value
The name of the ProtoErrorCode or the other custom ErrorCodes (e.g. ProtoCHErrorCode).
public bool HasCtidTraderAccountId { get; }
value = protoOAOrderErrorEvent.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasDescription { get; }
value = protoOAOrderErrorEvent.HasDescription
Gets whether the "description" field is set
public bool HasErrorCode { get; }
value = protoOAOrderErrorEvent.HasErrorCode
Gets whether the "errorCode" field is set
public bool HasOrderId { get; }
value = protoOAOrderErrorEvent.HasOrderId
Gets whether the "orderId" field is set
public bool HasPayloadType { get; }
value = protoOAOrderErrorEvent.HasPayloadType
Gets whether the "payloadType" field is set
public bool HasPositionId { get; }
value = protoOAOrderErrorEvent.HasPositionId
Gets whether the "positionId" field is set
public long OrderId { get; set; }
value = protoOAOrderErrorEvent.OrderId
protoOAOrderErrorEvent.OrderId = value
The unique ID of the order.
public long PositionId { get; set; }
value = protoOAOrderErrorEvent.PositionId
protoOAOrderErrorEvent.PositionId = value
The unique ID of the position.
Methods
public void ClearCtidTraderAccountId()
protoOAOrderErrorEvent.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearDescription()
protoOAOrderErrorEvent.ClearDescription()
Clears the value of the "description" field
public void ClearErrorCode()
protoOAOrderErrorEvent.ClearErrorCode()
Clears the value of the "errorCode" field
public void ClearOrderId()
protoOAOrderErrorEvent.ClearOrderId()
Clears the value of the "orderId" field
public void ClearPayloadType()
protoOAOrderErrorEvent.ClearPayloadType()
Clears the value of the "payloadType" field
public void ClearPositionId()
protoOAOrderErrorEvent.ClearPositionId()
Clears the value of the "positionId" field
Fields
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAOrderErrorEvent.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int DescriptionFieldNumber
value = ProtoOAOrderErrorEvent.DescriptionFieldNumber
Field number for the "description" field.
public const int ErrorCodeFieldNumber
value = ProtoOAOrderErrorEvent.ErrorCodeFieldNumber
Field number for the "errorCode" field.
public const int OrderIdFieldNumber
value = ProtoOAOrderErrorEvent.OrderIdFieldNumber
Field number for the "orderId" field.
public const int PayloadTypeFieldNumber
value = ProtoOAOrderErrorEvent.PayloadTypeFieldNumber
Field number for the "payloadType" field.
public const int PositionIdFieldNumber
value = ProtoOAOrderErrorEvent.PositionIdFieldNumber
Field number for the "positionId" field.