private QUIKDispatcher() { try { string dataPath = string.Concat(Application.UserAppDataPath, "\\Data"); RTTSettingsProvider = LTDispatcher.Instance.LTSettingsProvider; SettingsProvider = new LiveTradingSettingsProvider(dataPath, "\\QUIKLiveTrading.xml"); QUIKDataProvider dataProvider = new QUIKDataProvider(SettingsProvider); StaticProvider = dataProvider; StreamProvider = dataProvider; DDEDataProvider = new QUIKDDEDataProvider(); OrderProvider = new QUIKOrderProvider(); } catch (Exception ex) { logger.Error(ex); } }
private LTDispatcher() { string dataPath = string.Concat(Application.UserAppDataPath, "\\Data"); LTSettingsProvider = new LiveTradingSettingsProvider(dataPath, "\\LTManager.xml"); }