Esempio n. 1
0
 public StopLimitOrder(string symbol, int quantity, double limitPrice, double triggerPrice, WayEnum way, int clientId, IBestPriceTrigger trigger)
 {
     this.way             = way;
     this.symbol          = symbol;
     this.exchangeOrderId = 0;
     this.clientId        = clientId;
     this.triggerPrice    = triggerPrice;
     this.limitPrice      = limitPrice;
     this.quantity        = quantity;
     Trigger = trigger;
 }
 public StopLimitOrder(string symbol, int quantity, double limitPrice, double triggerPrice, WayEnum way, int clientId, IBestPriceTrigger trigger)
 {
     this.way = way;
     this.symbol = symbol;
     this.exchangeOrderId = 0;
     this.clientId = clientId;
     this.triggerPrice = triggerPrice;
     this.limitPrice = limitPrice;
     this.quantity = quantity;
     Trigger = trigger;
 }