ProtoOAOrderErrorEvent

StockSharp.cTrader.Native.Model

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

实现: IMessage<ProtoOAOrderErrorEvent>, IMessage, IEquatable<ProtoOAOrderErrorEvent>, IDeepCloneable<ProtoOAOrderErrorEvent>, IBufferMessage

属性

CtidTraderAccountId : long

Unique identifier of the trader's account. Used to match responses to trader's accounts.

Description : string

The error description.

ErrorCode : string

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

HasCtidTraderAccountId : bool

Gets whether the "ctidTraderAccountId" field is set

HasDescription : bool

Gets whether the "description" field is set

HasErrorCode : bool

Gets whether the "errorCode" field is set

HasOrderId : bool

Gets whether the "orderId" field is set

HasPayloadType : bool

Gets whether the "payloadType" field is set

HasPositionId : bool

Gets whether the "positionId" field is set

OrderId : long

The unique ID of the order.

PositionId : long

The unique ID of the position.

方法

ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearDescription()

Clears the value of the "description" field

ClearErrorCode()

Clears the value of the "errorCode" field

ClearOrderId()

Clears the value of the "orderId" field

ClearPayloadType()

Clears the value of the "payloadType" field

ClearPositionId()

Clears the value of the "positionId" field

字段

CtidTraderAccountIdFieldNumber : int

Field number for the "ctidTraderAccountId" field.

DescriptionFieldNumber : int

Field number for the "description" field.

ErrorCodeFieldNumber : int

Field number for the "errorCode" field.

OrderIdFieldNumber : int

Field number for the "orderId" field.

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.

PositionIdFieldNumber : int

Field number for the "positionId" field.