internal SQProvider(UserProvider provider) { this.provider = provider; this.BarFactory = new SmartQuant.Providers.BarFactory(false); this.orderRecords = new Dictionary<Order, OrderRecord>(); this.historicalDataRequests = new Dictionary<string, global::OpenQuant.API.HistoricalDataRequest>(); }
internal FQProvider(UserProvider provider) { this.provider = provider; this.BarFactory = (IBarFactory) new FreeQuant.Providers.BarFactory(false); this.orderRecords = new Dictionary<Order, OrderRecord>(); this.historicalDataRequests = new Dictionary<string, HistoricalDataRequest>(); }