示例#1
0
 static ProviderManager()
 {
     ProviderManager.dataLock                = new object();
     ProviderManager.executionProviders      = new ExecutionProviderList();
     ProviderManager.marketDataProviders     = new MarketDataProviderList();
     ProviderManager.instrumentProviders     = new InstrumentProviderList();
     ProviderManager.historicalDataProviders = new HistoricalDataProviderList();
     ProviderManager.marketDataProvider      = null;
     ProviderManager.executionProvider       = null;
     ProviderManager.errors = new ProviderErrorCollection();
 }
示例#2
0
 static ProviderManager()
 {
     ProviderManager.dataLock = new object();
     ProviderManager.executionProviders = new ExecutionProviderList();
     ProviderManager.marketDataProviders = new MarketDataProviderList();
     ProviderManager.instrumentProviders = new InstrumentProviderList();
     ProviderManager.historicalDataProviders = new HistoricalDataProviderList();
     ProviderManager.marketDataProvider = null;
     ProviderManager.executionProvider = null;
     ProviderManager.errors = new ProviderErrorCollection();
 }