ProtoOAExecutionEvent
* Ereignis, das nach erfolgreicher Auftragsannahme oder Ausführung durch den Server gesendet wird. Funktioniert als Reaktion auf die ProtoOANewOrderReq, ProtoOACancelOrderReq, ProtoOAAmendOrderReq, ProtoOAAmendPositionSLTPReq, ProtoOAClosePositionReq Anfragen. Das Ereignis wird auch gesendet, wenn eine Einzahlung / Auszahlung stattgefunden hat.
Implementiert: IMessage<ProtoOAExecutionEvent>, IMessage, IEquatable<ProtoOAExecutionEvent>, IDeepCloneable<ProtoOAExecutionEvent>, IBufferMessage
Eigenschaften
public ProtoOABonusDepositWithdraw BonusDepositWithdraw { get; set; }
value = protoOAExecutionEvent.BonusDepositWithdraw
protoOAExecutionEvent.BonusDepositWithdraw = value
Verweis auf die bonuseinzahlung oder auszahlungsoperation.
public long CtidTraderAccountId { get; set; }
value = protoOAExecutionEvent.CtidTraderAccountId
protoOAExecutionEvent.CtidTraderAccountId = value
Eindeutige Kennung des Händlerkontos, die verwendet wird, um die Antworten auf die Händlerkonten abzugleichen.
public ProtoOADeal Deal { get; set; }
value = protoOAExecutionEvent.Deal
protoOAExecutionEvent.Deal = value
Verweis auf den Deal (Ausführung).
public ProtoOADepositWithdraw DepositWithdraw { get; set; }
value = protoOAExecutionEvent.DepositWithdraw
protoOAExecutionEvent.DepositWithdraw = value
Verweis auf die Ein- oder Auszahlungstransaktion.
public string ErrorCode { get; set; }
value = protoOAExecutionEvent.ErrorCode
protoOAExecutionEvent.ErrorCode = value
Der Name des ProtoErrorCode oder der anderen benutzerdefinierten ErrorCodes (e.g. ProtoCHErrorCode).
public ProtoOAExecutionType ExecutionType { get; set; }
value = protoOAExecutionEvent.ExecutionType
protoOAExecutionEvent.ExecutionType = value
Art des Auftragsvorgangs, z. B.: AKZEPTIERT, AUSGEFÜLLT usw.
public bool HasCtidTraderAccountId { get; }
value = protoOAExecutionEvent.HasCtidTraderAccountId
Erhaltet, ob das Feld "ctidTraderAccountId" gesetzt ist
public bool HasErrorCode { get; }
value = protoOAExecutionEvent.HasErrorCode
Erhaltet, ob das Feld "errorCode" gesetzt ist
public bool HasExecutionType { get; }
value = protoOAExecutionEvent.HasExecutionType
Erhaltet, ob das Feld "executionType" gesetzt ist
public bool HasIsServerEvent { get; }
value = protoOAExecutionEvent.HasIsServerEvent
Erhaltet, ob das Feld "isServerEvent" gesetzt ist
public bool HasPayloadType { get; }
value = protoOAExecutionEvent.HasPayloadType
Erhaltet, ob das Feld "payloadType" gesetzt ist
public bool IsServerEvent { get; set; }
value = protoOAExecutionEvent.IsServerEvent
protoOAExecutionEvent.IsServerEvent = value
Wenn TRUE dann das Ereignis, das von der Serverlogik anstelle der Händleranforderung erzeugt wird. (e.g. stop-out).
public ProtoOAOrder Order { get; set; }
value = protoOAExecutionEvent.Order
protoOAExecutionEvent.Order = value
Verweis auf die ursprüngliche Bestellung.
public ProtoOAPosition Position { get; set; }
value = protoOAExecutionEvent.Position
protoOAExecutionEvent.Position = value
Angabe der mit der Ausführung verbundenen Position
Methoden
public void ClearCtidTraderAccountId()
protoOAExecutionEvent.ClearCtidTraderAccountId()
Löscht den Wert des Feldes "ctidTraderAccountId"
public void ClearErrorCode()
protoOAExecutionEvent.ClearErrorCode()
Löscht den Wert des Feldes "errorCode"
public void ClearExecutionType()
protoOAExecutionEvent.ClearExecutionType()
Löscht den Wert des Feldes "executionType"
public void ClearIsServerEvent()
protoOAExecutionEvent.ClearIsServerEvent()
Löscht den Wert des Feldes "isServerEvent"
public void ClearPayloadType()
protoOAExecutionEvent.ClearPayloadType()
Löscht den Wert des Feldes "payloadType"
Felder
public const int BonusDepositWithdrawFieldNumber
value = ProtoOAExecutionEvent.BonusDepositWithdrawFieldNumber
Feldnummer für das Feld "bonusDepositWithdraw".
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAExecutionEvent.CtidTraderAccountIdFieldNumber
Feldnummer für das Feld "ctidTraderAccountId".
public const int DealFieldNumber
value = ProtoOAExecutionEvent.DealFieldNumber
Feldnummer für das Feld "Deal".
public const int DepositWithdrawFieldNumber
value = ProtoOAExecutionEvent.DepositWithdrawFieldNumber
Feldnummer für das Feld "depositWithdraw".
public const int ErrorCodeFieldNumber
value = ProtoOAExecutionEvent.ErrorCodeFieldNumber
Feldnummer für das Feld "errorCode".
public const int ExecutionTypeFieldNumber
value = ProtoOAExecutionEvent.ExecutionTypeFieldNumber
Feldnummer für das Feld "executionType".
public const int IsServerEventFieldNumber
value = ProtoOAExecutionEvent.IsServerEventFieldNumber
Feldnummer für das Feld "isServerEvent".
public const int OrderFieldNumber
value = ProtoOAExecutionEvent.OrderFieldNumber
Feldnummer für das Feld "Auftrag".
public const int PayloadTypeFieldNumber
value = ProtoOAExecutionEvent.PayloadTypeFieldNumber
Feldnummer für das Feld "payloadType".
public const int PositionFieldNumber
value = ProtoOAExecutionEvent.PositionFieldNumber
Feldnummer für das Feld "Position".