public OrderStateEventHandler() : base(RootNode) { _executionEventHandler = new ExecutionEventHandler(); AddHandler(InstructionIdNodeName); AddHandler(OrderIdNodeName); AddHandler(InstrumentIdNodeName); AddHandler(AccountIdNodeName); AddHandler(QuantityNodeName); AddHandler(MatchedQuantityNodeName); AddHandler(CancelledQuantityNodeName); AddHandler(PriceNodeName); AddHandler(OrderTypeNodeName); AddHandler(StopProfitOffsetNodeName); AddHandler(StopLossOffsetNodeName); AddHandler(StopReferencePriceNodeName); AddHandler(_executionEventHandler); }
public OrderStateEventHandler() : base(RootNode) { _executionEventHandler = new ExecutionEventHandler(); AddHandler(InstructionIdNodeName); AddHandler(OrderIdNodeName); AddHandler(InstrumentIdNodeName); AddHandler(AccountIdNodeName); AddHandler(QuantityNodeName); AddHandler(MatchedQuantityNodeName); AddHandler(CancelledQuantityNodeName); AddHandler(PriceNodeName); AddHandler(OrderTypeNodeName); AddHandler(StopProfitOffsetNodeName); AddHandler(StopLossOffsetNodeName); AddHandler(StopReferencePriceNodeName); AddHandler(_executionEventHandler); }
public OrderStateEventHandler() : base("order") { this._executionEventHandler = new ExecutionEventHandler(); this.AddHandler("instructionId"); this.AddHandler("orderId"); this.AddHandler("instrumentId"); this.AddHandler("accountId"); this.AddHandler("quantity"); this.AddHandler("matchedQuantity"); this.AddHandler("cancelledQuantity"); this.AddHandler("price"); this.AddHandler("orderType"); this.AddHandler("stopProfitOffset"); this.AddHandler("stopLossOffset"); this.AddHandler("stopReferencePrice"); this.AddHandler("commission"); this.AddHandler((Handler)this._executionEventHandler); this.AddHandler("timeInForce"); }