Roc 1 рік тому
батько
коміт
56e2b6fd76
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      services/data/future_good/chart_info.go

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

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