Skip to content

Commit

Permalink
Fix incorrect variables n backtest.NewReport (#229)
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`.

Co-authored-by: Onur Cinar <[email protected]>
  • Loading branch information
shapeshed and cinar authored Oct 10, 2024
1 parent fff820e commit ef7b65c
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 ef7b65c

Please sign in to comment.