Ejemplo n.º 1
0
 public LimitOrderRejectTransaction(TransactionID id, DateTime time, int userID, AccountID accountID, TransactionID batchID, RequestID requestID, TransactionType type, InstrumentName instrument, double units, PriceValue price, TimeInForce timeInForce, DateTime gTDTime, OrderPositionFill positionFill, OrderTriggerCondition triggerCondition, LimitOrderReason 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.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;
 }
Ejemplo n.º 2
0
 public LimitOrderRejectTransaction(
     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,
     OrderTriggerCondition triggerCondition,
     LimitOrderReason 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,
         triggerCondition,
         reason)
 {
     RejectReason = rejectReason;
 }
Ejemplo n.º 3
0
 public LimitOrderRejectTransaction()
 {
     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.LIMIT_ORDER_REJECT);
     this.Instrument              = new InstrumentName();
     this.Price                   = new PriceValue();
     this.TimeInForce             = new TimeInForce();
     this.GTDTime                 = new DateTime();
     this.PositionFill            = new OrderPositionFill();
     this.TriggerCondition        = new OrderTriggerCondition(EOrderTriggerCondition.DEFAULT);
     this.Reason                  = new LimitOrderReason();
     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();
 }