public MarketIfTouchedOrderRejectTransaction(TransactionID id, DateTime time, int userID, AccountID accountID, TransactionID batchID, RequestID requestID, TransactionType type, InstrumentName instrument, double units, PriceValue price, PriceValue priceBound, TimeInForce timeInForce, DateTime gTDTime, OrderPositionFill positionFill, OrderTriggerCondition triggerCondition, MarketIfTouchedOrderReason reason, ClientExtensions clientExtensions, TakeProfitDetails takeProfitOnFill, StopLossDetails stopLossOnFill, TrailingStopLossDetails trailingStopLossOnFill, ClientExtensions tradeClientExtensions, OrderID intendedReplacesOrderID, TransactionRejectReason rejectReason) { this.Id = id; this.Time = time; this.UserID = userID; this.AccountID = accountID; this.BatchID = batchID; this.RequestID = requestID; this.Type = type; this.Instrument = instrument; this.Units = units; this.Price = price; this.PriceBound = priceBound; this.TimeInForce = timeInForce; this.GTDTime = gTDTime; this.PositionFill = positionFill; this.TriggerCondition = triggerCondition; this.Reason = reason; this.ClientExtensions = clientExtensions; this.TakeProfitOnFill = takeProfitOnFill; this.StopLossOnFill = stopLossOnFill; this.TrailingStopLossOnFill = trailingStopLossOnFill; this.TradeClientExtensions = tradeClientExtensions; this.IntendedReplacesOrderID = intendedReplacesOrderID; this.RejectReason = rejectReason; }
public MarketIfTouchedOrderRejectTransaction( string id, DateTime time, int?userID, string accountID, string?batchID, string?requestID, TransactionType type, ClientExtensions?clientExtensions, string?replacesOrderID, string?cancellingTransactionID, TimeInForce timeInForce, DateTime?gtdTime, string instrument, decimal units, OrderPositionFill positionFill, TakeProfitDetails?takeProfitOnFill, StopLossDetails?stopLossOnFill, TrailingStopLossDetails?trailingStopLossOnFill, GuaranteedStopLossDetails?guaranteedStopLossOnFill, ClientExtensions?tradeClientExtensions, decimal price, decimal?priceBound, OrderTriggerCondition triggerCondition, MarketIfTouchedOrderReason reason, TransactionRejectReason rejectReason) : base( id, time, userID, accountID, batchID, requestID, type, clientExtensions, replacesOrderID, cancellingTransactionID, timeInForce, gtdTime, instrument, units, positionFill, takeProfitOnFill, stopLossOnFill, trailingStopLossOnFill, guaranteedStopLossOnFill, tradeClientExtensions, price, priceBound, triggerCondition, reason) { RejectReason = rejectReason; }
public MarketIfTouchedOrderRejectTransaction() { this.Id = new TransactionID(); this.Time = new DateTime(); this.AccountID = new AccountID(); this.BatchID = new TransactionID(); this.RequestID = new RequestID(); this.Type = new TransactionType(ETransactionType.MARKET_IF_TOUCHED_ORDER_REJECT); this.Instrument = new InstrumentName(); this.Price = new PriceValue(); this.TimeInForce = new TimeInForce(ETimeInForce.GTC); this.GTDTime = new DateTime(); this.PositionFill = new OrderPositionFill(EOrderPositionFill.DEFAULT); this.TriggerCondition = new OrderTriggerCondition(EOrderTriggerCondition.DEFAULT); this.Reason = new MarketIfTouchedOrderReason(); this.ClientExtensions = new ClientExtensions(); this.TakeProfitOnFill = new TakeProfitDetails(); this.StopLossOnFill = new StopLossDetails(); this.TrailingStopLossOnFill = new TrailingStopLossDetails(); this.TradeClientExtensions = new ClientExtensions(); this.IntendedReplacesOrderID = new OrderID(); this.RejectReason = new TransactionRejectReason(); }