ProtoOAOrderErrorEvent

StockSharp.cTrader.Native.Model

* Event that is sent when errors occur during the order requests.

Implements: IMessage<ProtoOAOrderErrorEvent>, IMessage, IEquatable<ProtoOAOrderErrorEvent>, IDeepCloneable<ProtoOAOrderErrorEvent>, IBufferMessage

Properties

CtidTraderAccountId
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.

Description
public string Description { get; set; }
value = protoOAOrderErrorEvent.Description
protoOAOrderErrorEvent.Description = value

The error description.

ErrorCode
public string ErrorCode { get; set; }
value = protoOAOrderErrorEvent.ErrorCode
protoOAOrderErrorEvent.ErrorCode = value

The name of the ProtoErrorCode or the other custom ErrorCodes (e.g. ProtoCHErrorCode).

HasCtidTraderAccountId
public bool HasCtidTraderAccountId { get; }
value = protoOAOrderErrorEvent.HasCtidTraderAccountId

Gets whether the "ctidTraderAccountId" field is set

HasDescription
public bool HasDescription { get; }
value = protoOAOrderErrorEvent.HasDescription

Gets whether the "description" field is set

HasErrorCode
public bool HasErrorCode { get; }
value = protoOAOrderErrorEvent.HasErrorCode

Gets whether the "errorCode" field is set

HasOrderId
public bool HasOrderId { get; }
value = protoOAOrderErrorEvent.HasOrderId

Gets whether the "orderId" field is set

HasPayloadType
public bool HasPayloadType { get; }
value = protoOAOrderErrorEvent.HasPayloadType

Gets whether the "payloadType" field is set

HasPositionId
public bool HasPositionId { get; }
value = protoOAOrderErrorEvent.HasPositionId

Gets whether the "positionId" field is set

OrderId
public long OrderId { get; set; }
value = protoOAOrderErrorEvent.OrderId
protoOAOrderErrorEvent.OrderId = value

The unique ID of the order.

PositionId
public long PositionId { get; set; }
value = protoOAOrderErrorEvent.PositionId
protoOAOrderErrorEvent.PositionId = value

The unique ID of the position.

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAOrderErrorEvent.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearDescription
public void ClearDescription()
protoOAOrderErrorEvent.ClearDescription()

Clears the value of the "description" field

ClearErrorCode
public void ClearErrorCode()
protoOAOrderErrorEvent.ClearErrorCode()

Clears the value of the "errorCode" field

ClearOrderId
public void ClearOrderId()
protoOAOrderErrorEvent.ClearOrderId()

Clears the value of the "orderId" field

ClearPayloadType
public void ClearPayloadType()
protoOAOrderErrorEvent.ClearPayloadType()

Clears the value of the "payloadType" field

ClearPositionId
public void ClearPositionId()
protoOAOrderErrorEvent.ClearPositionId()

Clears the value of the "positionId" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAOrderErrorEvent.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

DescriptionFieldNumber
public const int DescriptionFieldNumber
value = ProtoOAOrderErrorEvent.DescriptionFieldNumber

Field number for the "description" field.

ErrorCodeFieldNumber
public const int ErrorCodeFieldNumber
value = ProtoOAOrderErrorEvent.ErrorCodeFieldNumber

Field number for the "errorCode" field.

OrderIdFieldNumber
public const int OrderIdFieldNumber
value = ProtoOAOrderErrorEvent.OrderIdFieldNumber

Field number for the "orderId" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAOrderErrorEvent.PayloadTypeFieldNumber

Field number for the "payloadType" field.

PositionIdFieldNumber
public const int PositionIdFieldNumber
value = ProtoOAOrderErrorEvent.PositionIdFieldNumber

Field number for the "positionId" field.