ProtoOAExecutionEvent
* Event that is sent following the successful order acceptance or execution by the server. Acts as response to the ProtoOANewOrderReq, ProtoOACancelOrderReq, ProtoOAAmendOrderReq, ProtoOAAmendPositionSLTPReq, ProtoOAClosePositionReq requests. Also, the event is sent when a Deposit/Withdrawal took place.
Implementiert: IMessage<ProtoOAExecutionEvent>, IMessage, IEquatable<ProtoOAExecutionEvent>, IDeepCloneable<ProtoOAExecutionEvent>, IBufferMessage
Eigenschaften
BonusDepositWithdraw : ProtoOABonusDepositWithdraw
Reference to the Bonus Deposit or Withdrawal operation.
CtidTraderAccountId : long
Unique identifier of the trader's account. Used to match responses to trader's accounts.
Deal : ProtoOADeal
Reference to the deal (execution).
DepositWithdraw : ProtoOADepositWithdraw
Reference to the Deposit or Withdrawal operation.
ErrorCode : string
The name of the ProtoErrorCode or the other custom ErrorCodes (e.g. ProtoCHErrorCode).
ExecutionType : ProtoOAExecutionType
Type of the order operation. For example: ACCEPTED, FILLED, etc.
HasCtidTraderAccountId : bool
Gets whether the "ctidTraderAccountId" field is set
HasErrorCode : bool
Gets whether the "errorCode" field is set
HasExecutionType : bool
Gets whether the "executionType" field is set
HasIsServerEvent : bool
Gets whether the "isServerEvent" field is set
HasPayloadType : bool
Gets whether the "payloadType" field is set
IsServerEvent : bool
If TRUE then the event generated by the server logic instead of the trader's request. (e.g. stop-out).
Order : ProtoOAOrder
Reference to the initial order.
Position : ProtoOAPosition
Reference to the position linked with the execution
Methoden
ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
ClearErrorCode()
Clears the value of the "errorCode" field
ClearExecutionType()
Clears the value of the "executionType" field
ClearIsServerEvent()
Clears the value of the "isServerEvent" field
ClearPayloadType()
Clears the value of the "payloadType" field
Felder
BonusDepositWithdrawFieldNumber : int
Field number for the "bonusDepositWithdraw" field.
CtidTraderAccountIdFieldNumber : int
Field number for the "ctidTraderAccountId" field.
DealFieldNumber : int
Field number for the "deal" field.
DepositWithdrawFieldNumber : int
Field number for the "depositWithdraw" field.
ErrorCodeFieldNumber : int
Field number for the "errorCode" field.
ExecutionTypeFieldNumber : int
Field number for the "executionType" field.
IsServerEventFieldNumber : int
Field number for the "isServerEvent" field.
OrderFieldNumber : int
Field number for the "order" field.
PayloadTypeFieldNumber : int
Field number for the "payloadType" field.
PositionFieldNumber : int
Field number for the "position" field.