Roc 1 year ago
parent
commit
3e1acd606b
1 changed files with 1 additions and 1 deletions
  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 {