From b9734bca0c33a3567d0e340b69269b925240b8bf Mon Sep 17 00:00:00 2001 From: Andy Cheng Date: Tue, 18 Jul 2023 10:56:42 +0800 Subject: [PATCH] fix/linregmaker: missing line --- pkg/strategy/linregmaker/strategy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/strategy/linregmaker/strategy.go b/pkg/strategy/linregmaker/strategy.go index 2ebbc1756..6400bfb92 100644 --- a/pkg/strategy/linregmaker/strategy.go +++ b/pkg/strategy/linregmaker/strategy.go @@ -685,6 +685,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se // Add strategy parameters to report if s.TrackParameters && s.ProfitStatsTracker.AccumulatedProfitReport != nil { s.ProfitStatsTracker.AccumulatedProfitReport.AddStrategyParameter("ReverseEMAWindow", strconv.Itoa(s.ReverseEMA.Window)) + s.ProfitStatsTracker.AccumulatedProfitReport.AddStrategyParameter("FastLinRegWindow", strconv.Itoa(s.FastLinReg.Window)) s.ProfitStatsTracker.AccumulatedProfitReport.AddStrategyParameter("FastLinRegInterval", s.FastLinReg.Interval.String()) s.ProfitStatsTracker.AccumulatedProfitReport.AddStrategyParameter("SlowLinRegWindow", strconv.Itoa(s.SlowLinReg.Window)) s.ProfitStatsTracker.AccumulatedProfitReport.AddStrategyParameter("SlowLinRegInterval", s.SlowLinReg.Interval.String())