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