ProtoOAExecutionEvent

StockSharp.cTrader.Native.Model

* 服务器成功接受或执行命令后发送的事件。作为响应ProtoOANewOrderReq、ProtoOACancelOrderReq、ProtoOAAmendOrderReq、ProtoOAAmendPositionSLTPReq、ProtoOAClosePositionReq请求而发送的事件也是在交存/退出时发送的。

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

属性

BonusDepositWithdraw
public ProtoOABonusDepositWithdraw BonusDepositWithdraw { get; set; }
value = protoOAExecutionEvent.BonusDepositWithdraw
protoOAExecutionEvent.BonusDepositWithdraw = value

有关奖金交存或退出业务的参考文献。

CtidTraderAccountId
public long CtidTraderAccountId { get; set; }
value = protoOAExecutionEvent.CtidTraderAccountId
protoOAExecutionEvent.CtidTraderAccountId = value

交易商账户的独特标识符。 用于匹配交易商账户的响应 。

Deal
public ProtoOADeal Deal { get; set; }
value = protoOAExecutionEvent.Deal
protoOAExecutionEvent.Deal = value

交易的参考(执行).

DepositWithdraw
public ProtoOADepositWithdraw DepositWithdraw { get; set; }
value = protoOAExecutionEvent.DepositWithdraw
protoOAExecutionEvent.DepositWithdraw = value

有关交存或退出行动的说明。

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

ProtoErrorCode或其他自定义的 ErrorCodes (e.g. ProtoCHErrorCode.)的名称.

ExecutionType
public ProtoOAExecutionType ExecutionType { get; set; }
value = protoOAExecutionEvent.ExecutionType
protoOAExecutionEvent.ExecutionType = value

命令操作的类型。例如: AccessEPTED, FILLED等 。

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

获取是否设置了 " ctidTraderAccountId " 字段

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

获取是否设置了 " errorCode " 字段

HasExecutionType
public bool HasExecutionType { get; }
value = protoOAExecutionEvent.HasExecutionType

获取是否设置了 " executionType " 字段

HasIsServerEvent
public bool HasIsServerEvent { get; }
value = protoOAExecutionEvent.HasIsServerEvent

获取是否设置了 " isServerEvent " 字段

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

获取是否设置了 " payloadType " 字段

IsServerEvent
public bool IsServerEvent { get; set; }
value = protoOAExecutionEvent.IsServerEvent
protoOAExecutionEvent.IsServerEvent = value

如果TRUE,则由服务器逻辑生成的事件而不是交易者的请求. (e.g. stop-out).

Order
public ProtoOAOrder Order { get; set; }
value = protoOAExecutionEvent.Order
protoOAExecutionEvent.Order = value

参考起先令.

Position
public ProtoOAPosition Position { get; set; }
value = protoOAExecutionEvent.Position
protoOAExecutionEvent.Position = value

与执行有关的职位的参考

方法

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAExecutionEvent.ClearCtidTraderAccountId()

清除 " ctidTraderAccountId " 字段的值

ClearErrorCode
public void ClearErrorCode()
protoOAExecutionEvent.ClearErrorCode()

清除 " errorCode " 字段的值

ClearExecutionType
public void ClearExecutionType()
protoOAExecutionEvent.ClearExecutionType()

清除 " executionType " 字段的值

ClearIsServerEvent
public void ClearIsServerEvent()
protoOAExecutionEvent.ClearIsServerEvent()

清除 " isServerEvent " 字段的值

ClearPayloadType
public void ClearPayloadType()
protoOAExecutionEvent.ClearPayloadType()

清除 " payloadType " 字段的值

字段

BonusDepositWithdrawFieldNumber
public const int BonusDepositWithdrawFieldNumber
value = ProtoOAExecutionEvent.BonusDepositWithdrawFieldNumber

" bonusDepositWithdraw " 字段的字段编号。

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAExecutionEvent.CtidTraderAccountIdFieldNumber

" ctidTraderAccountId " 字段的字段编号。

DealFieldNumber
public const int DealFieldNumber
value = ProtoOAExecutionEvent.DealFieldNumber

"交易"字段的字段编号.

DepositWithdrawFieldNumber
public const int DepositWithdrawFieldNumber
value = ProtoOAExecutionEvent.DepositWithdrawFieldNumber

" depositWithdraw " 字段的字段编号。

ErrorCodeFieldNumber
public const int ErrorCodeFieldNumber
value = ProtoOAExecutionEvent.ErrorCodeFieldNumber

" errorCode " 字段的字段编号。

ExecutionTypeFieldNumber
public const int ExecutionTypeFieldNumber
value = ProtoOAExecutionEvent.ExecutionTypeFieldNumber

" executionType " 字段的字段编号。

IsServerEventFieldNumber
public const int IsServerEventFieldNumber
value = ProtoOAExecutionEvent.IsServerEventFieldNumber

" isServerEvent " 字段的字段编号。

OrderFieldNumber
public const int OrderFieldNumber
value = ProtoOAExecutionEvent.OrderFieldNumber

"命令"字段的字段编号.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAExecutionEvent.PayloadTypeFieldNumber

" payloadType " 字段的字段编号。

PositionFieldNumber
public const int PositionFieldNumber
value = ProtoOAExecutionEvent.PositionFieldNumber

"位置"字段的字段编号.