Ejemplo n.º 1
0
 public TradeDetector(TradeDetectionType type)
 {
     if (type == TradeDetectionType.FIFO)
     {
         this.FillSet = new QueueFillSet();
     }
     else
     {
         this.FillSet = new StackFillSet();
     }
     this.trades = new List <TradeInfo>();
 }
Ejemplo n.º 2
0
 public TradeDetector(TradeDetectionType type)
 {
     if (type == TradeDetectionType.FIFO)
     {
         this.FillSet = new QueueFillSet();
     }
     else
     {
         this.FillSet = new StackFillSet();
     }
     this.trades = new List<TradeInfo>();
 }