ProtoOAExecutionEvent
* 服务器成功接受或执行命令后发送的事件。作为响应ProtoOANewOrderReq、ProtoOACancelOrderReq、ProtoOAAmendOrderReq、ProtoOAAmendPositionSLTPReq、ProtoOAClosePositionReq请求而发送的事件也是在交存/退出时发送的。
实现: IMessage<ProtoOAExecutionEvent>, IMessage, IEquatable<ProtoOAExecutionEvent>, IDeepCloneable<ProtoOAExecutionEvent>, IBufferMessage
属性
public ProtoOABonusDepositWithdraw BonusDepositWithdraw { get; set; }
value = protoOAExecutionEvent.BonusDepositWithdraw
protoOAExecutionEvent.BonusDepositWithdraw = value
有关奖金交存或退出业务的参考文献。
public long CtidTraderAccountId { get; set; }
value = protoOAExecutionEvent.CtidTraderAccountId
protoOAExecutionEvent.CtidTraderAccountId = value
交易商账户的独特标识符。 用于匹配交易商账户的响应 。
public ProtoOADeal Deal { get; set; }
value = protoOAExecutionEvent.Deal
protoOAExecutionEvent.Deal = value
交易的参考(执行).
public ProtoOADepositWithdraw DepositWithdraw { get; set; }
value = protoOAExecutionEvent.DepositWithdraw
protoOAExecutionEvent.DepositWithdraw = value
有关交存或退出行动的说明。
public string ErrorCode { get; set; }
value = protoOAExecutionEvent.ErrorCode
protoOAExecutionEvent.ErrorCode = value
ProtoErrorCode或其他自定义的 ErrorCodes (e.g. ProtoCHErrorCode.)的名称.
public ProtoOAExecutionType ExecutionType { get; set; }
value = protoOAExecutionEvent.ExecutionType
protoOAExecutionEvent.ExecutionType = value
命令操作的类型。例如: AccessEPTED, FILLED等 。
public bool HasCtidTraderAccountId { get; }
value = protoOAExecutionEvent.HasCtidTraderAccountId
获取是否设置了 " ctidTraderAccountId " 字段
public bool HasErrorCode { get; }
value = protoOAExecutionEvent.HasErrorCode
获取是否设置了 " errorCode " 字段
public bool HasExecutionType { get; }
value = protoOAExecutionEvent.HasExecutionType
获取是否设置了 " executionType " 字段
public bool HasIsServerEvent { get; }
value = protoOAExecutionEvent.HasIsServerEvent
获取是否设置了 " isServerEvent " 字段
public bool HasPayloadType { get; }
value = protoOAExecutionEvent.HasPayloadType
获取是否设置了 " payloadType " 字段
public bool IsServerEvent { get; set; }
value = protoOAExecutionEvent.IsServerEvent
protoOAExecutionEvent.IsServerEvent = value
如果TRUE,则由服务器逻辑生成的事件而不是交易者的请求. (e.g. stop-out).
public ProtoOAOrder Order { get; set; }
value = protoOAExecutionEvent.Order
protoOAExecutionEvent.Order = value
参考起先令.
public ProtoOAPosition Position { get; set; }
value = protoOAExecutionEvent.Position
protoOAExecutionEvent.Position = value
与执行有关的职位的参考
方法
public void ClearCtidTraderAccountId()
protoOAExecutionEvent.ClearCtidTraderAccountId()
清除 " ctidTraderAccountId " 字段的值
public void ClearErrorCode()
protoOAExecutionEvent.ClearErrorCode()
清除 " errorCode " 字段的值
public void ClearExecutionType()
protoOAExecutionEvent.ClearExecutionType()
清除 " executionType " 字段的值
public void ClearIsServerEvent()
protoOAExecutionEvent.ClearIsServerEvent()
清除 " isServerEvent " 字段的值
public void ClearPayloadType()
protoOAExecutionEvent.ClearPayloadType()
清除 " payloadType " 字段的值
字段
public const int BonusDepositWithdrawFieldNumber
value = ProtoOAExecutionEvent.BonusDepositWithdrawFieldNumber
" bonusDepositWithdraw " 字段的字段编号。
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAExecutionEvent.CtidTraderAccountIdFieldNumber
" ctidTraderAccountId " 字段的字段编号。
public const int DealFieldNumber
value = ProtoOAExecutionEvent.DealFieldNumber
"交易"字段的字段编号.
public const int DepositWithdrawFieldNumber
value = ProtoOAExecutionEvent.DepositWithdrawFieldNumber
" depositWithdraw " 字段的字段编号。
public const int ErrorCodeFieldNumber
value = ProtoOAExecutionEvent.ErrorCodeFieldNumber
" errorCode " 字段的字段编号。
public const int ExecutionTypeFieldNumber
value = ProtoOAExecutionEvent.ExecutionTypeFieldNumber
" executionType " 字段的字段编号。
public const int IsServerEventFieldNumber
value = ProtoOAExecutionEvent.IsServerEventFieldNumber
" isServerEvent " 字段的字段编号。
public const int OrderFieldNumber
value = ProtoOAExecutionEvent.OrderFieldNumber
"命令"字段的字段编号.
public const int PayloadTypeFieldNumber
value = ProtoOAExecutionEvent.PayloadTypeFieldNumber
" payloadType " 字段的字段编号。
public const int PositionFieldNumber
value = ProtoOAExecutionEvent.PositionFieldNumber
"位置"字段的字段编号.