示例#1
0
        //[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);
        }
示例#2
0
 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);
 }