diff --git a/pkg/report/profit_report.go b/pkg/report/profit_report.go index 1ae3b58f3..886111749 100644 --- a/pkg/report/profit_report.go +++ b/pkg/report/profit_report.go @@ -72,7 +72,7 @@ func (r *AccumulatedProfitReport) Initialize(symbol string, interval types.Inter } r.accumulatedProfitPerInterval = types.NewFloat64Series() - r.profitMA = indicatorv2.SMA2(r.accumulatedProfitPerInterval, r.ProfitMAWindow) + r.profitMA = indicatorv2.SMA(r.accumulatedProfitPerInterval, r.ProfitMAWindow) } func (r *AccumulatedProfitReport) AddStrategyParameter(title string, value string) {