Roc 1 年之前
父节点
当前提交
3e1acd606b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/chart/future_good/chart_info.go

+ 1 - 1
services/chart/future_good/chart_info.go

@@ -823,7 +823,7 @@ func handleResultData(regionType string, futureGoodEdbType int, yDataList []char
 
 // getFutureGoodEdbInfoList 获取适用的指标列表
 func getFutureGoodEdbInfoList(latestDateTime time.Time, tmpFutureGoodEdbInfoList []*future_good_edb_info.FutureGoodEdbInfo, barChartInfoDateList []request.BarChartInfoDateReq) (earliestDateTime time.Time, futureGoodEdbInfoList []*future_good_edb_info.FutureGoodEdbInfo, err error) {
-	maxM := 32 //最大32期合约
+	maxM := 36 //最大36期合约
 	futureGoodEdbInfoList = make([]*future_good_edb_info.FutureGoodEdbInfo, 0)
 	earliestDateTime = latestDateTime // 数据的最早日期,目的是为了找出最早的合约
 	for _, barChartInfoDate := range barChartInfoDateList {