Пример #1
0
 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);
 }
Пример #2
0
        public void TestDataProvider_Daily_CodeInfo()
        {
            string srcDataPath = @"E:\FUTURES\CSV\TICK_DAILY\";
            string pluginPath  = DataUpdateConst.PLUGINPATH;
            DataProvider_Daily_CodeInfo provider = new DataProvider_Daily_CodeInfo(srcDataPath, pluginPath);
            List <CodeInfo>             codes    = provider.GenerateCodes();

            codes.Sort(new CodeInfoComparer());
            AssertUtils.PrintLineList(codes);
        }