Skip to content

Commit

Permalink
Fix incorrect variables n backtest.NewReport
Browse files Browse the repository at this point in the history
The variables passed to `backtest.NewReport` are for repository
configuration settings causing the script to fail.

This correctly sets `reportName` and `reportConfig`.
  • Loading branch information
shapeshed committed Oct 9, 2024
1 parent 74dbcbd commit 9ccbd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/indicator-backtest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func main() {
os.Exit(1)
}

report, err := backtest.NewReport(repositoryName, repositoryConfig)
report, err := backtest.NewReport(reportName, reportConfig)
if err != nil {
logger.Error("Unable to initialize report.", "error", err)
os.Exit(1)
Expand Down

0 comments on commit 9ccbd23

Please sign in to comment.