public void stockBackTest(StockIPOInfo info, DateTime startDate, DateTime endDate) { //获取数据 if (startDate < info.IPODate) { startDate = info.IPODate; } if (endDate > info.DelistDate) { endDate = info.DelistDate; } //获取日线数据 //var dayNow = stockDailyRepo.GetStockTransactionWithRedis(info.code, startDate, endDate); //获取交易日信息 //var tradedays = dateRepo.GetStockTransactionDate(startDate, endDate); var minuteNow = stockMinutelyRepo.GetStockTransactionFromLocalSqlByCode(info.code, startDate, endDate); //回测 }