//[TestMethod] public void TestGetCodeInfo_JinShuYuan() { string srcDataPath = DataUpdateConst.SRCDATAPATH_JINSHUYUAN; string pluginPath = DataUpdateConst.PLUGINPATH; DataProvider_JinShuYuan_CodeInfo provider = new DataProvider_JinShuYuan_CodeInfo(srcDataPath, pluginPath); List <CodeInfo> codes = provider.GenerateCodes(); codes.Sort(new CodeInfoComparer()); AssertUtils.PrintLineList(codes); }
public DataProvider_JinShuYuan(string srcDataPath, string pluginPath) { this.dataLoader_CodeInfo = new DataProvider_JinShuYuan_CodeInfo(srcDataPath, pluginPath); this.dataLoader_TradingDay = new DataProvider_JinShuYuan_TradingDay(srcDataPath); this.dataLoader_TickData = new DataProvider_JinShuYuan_TickData(srcDataPath, pluginPath); }