public DataProvider_JinShuYuan_TickData(string srcDataPath, string pluginPath) { this.srcDataPath = srcDataPath; this.dataLoader_Variety = new DataLoader_Variety(pluginPath); //this.dataLoader_InstrumentInfo = new CodeInfoGenerator(pluginPath); this.dataLoader_TradingSessionDetail = new DataLoader_TradingSessionDetail(pluginPath, dataLoader_Variety); }
public DataProvider_Daily(string srcDataPath, string pluginPath) { this.srcDataPath = srcDataPath; this.dataLoader_Daily_CodeInfo = new DataProvider_Daily_CodeInfo(srcDataPath, pluginPath); this.dataLoader_TradingDay = new DataProvider_Daily_TradingDay(srcDataPath); this.dataLoader_Variety = new DataLoader_Variety(pluginPath); }
//private Dictionary<string, int> dic_OldCodeId_IpoDate = new Dictionary<string, int>(); /// <summary> /// 构造函数 /// </summary> /// <param name="srcDataPath">数据源目录</param> /// <param name="pluginPath">插件所在目录</param> public DataProvider_BiaoPuYongHua(string srcDataPath, string pluginPath) { this.srcDataPath = srcDataPath; this.pluginPath = pluginPath; this.dataLoader_Variety = new DataLoader_Variety(pluginPath); this.dataprovider_CodeInfo = new DataProvider_BiaoPuYongHua_CodeInfo(srcDataPath, pluginPath); this.dataprovider_TradingDay = new DataProvider_BiaoPuYongHua_TradingDay(srcDataPath, pluginPath); this.dataLoader_TradingSessionDetail = new DataLoader_TradingSessionDetail(pluginPath, dataLoader_Variety); }
/// <summary> /// 构造函数 /// </summary> /// <param name="pluginHelper">插件帮助类,提供插件相关数据</param> /// <param name="dataProvider">数据提供者</param> /// <param name="srcDataPath">源数据目录</param> /// <param name="targetDataPath">目标目录</param> public DataLoader(PluginHelper pluginHelper, IDataProvider dataProvider, String srcDataPath, string targetDataPath) { this.dataProvider = dataProvider; this.srcDataPath = srcDataPath; this.targetDataPath = targetDataPath; this.dataLoader_Variety = new DataLoader_Variety(pluginHelper.PluginDirPath); //this.dataLoader_Instrument = new CodeInfoGenerator(pluginHelper.PluginDirPath); this.dataLoader_TradingSessionDetail = new DataLoader_TradingSessionDetail(pluginHelper.PluginDirPath, dataLoader_Variety); this.plugin_HistoryData_CnFutures = new Plugin_HistoryData_CnFutures(pluginHelper); }
/// <summary> /// 创建数据更新帮助类 /// </summary> /// <param name="updatedDataLoader">已更新数据读取器</param> /// <param name="dataProvider">新数据提供器</param> public DataUpdateHelper(string pluginPath, UpdatedDataLoader updatedDataLoader, IDataProvider dataProvider) { this.updatedDataPath = updatedDataLoader.GetUpdatedDataPath(); this.updatedDataLoader = updatedDataLoader; this.dataProvider = dataProvider; DataLoader_Variety dataLoader_Variety = new DataLoader_Variety(pluginPath); this.dataLoader_TradingSessionDetail = new DataLoader_TradingSessionDetail(pluginPath, dataLoader_Variety); this.dataLoader_Variety = new DataLoader_Variety(pluginPath); this.generator_Main = new DataGenerator_TickData_Main(this); this.generator_Index = new DataGenerator_TickData_Index(this); }
public DataProvider_BiaoPuYongHua_CodeInfo(string srcDataPath, string pluginPath) { this.srcDataPath = srcDataPath; this.pluginPath = pluginPath; this.dataLoader_Variety = new DataLoader_Variety(pluginPath); }
public DataProvider_JinShuYuan_CodeInfo(string srcDataPath, string pluginPath) { this.srcDataPath = srcDataPath; this.pluginPath = pluginPath; this.dataLoader_Variety = new DataLoader_Variety(pluginPath); }