From e2c754040dd0531d021fb8304fdd0014abe7208c Mon Sep 17 00:00:00 2001 From: Lan Phan Date: Fri, 22 Mar 2024 11:07:02 +0700 Subject: [PATCH] update default value for config param of backtest cmd to have same value with root cmd --- pkg/cmd/backtest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/backtest.go b/pkg/cmd/backtest.go index 5b9412882..17d346224 100644 --- a/pkg/cmd/backtest.go +++ b/pkg/cmd/backtest.go @@ -43,7 +43,7 @@ func init() { BacktestCmd.Flags().Bool("base-asset-baseline", false, "use base asset performance as the competitive baseline performance") BacktestCmd.Flags().CountP("verbose", "v", "verbose level") - BacktestCmd.Flags().String("config", "config/bbgo.yaml", "strategy config file") + BacktestCmd.Flags().String("config", "bbgo.yaml", "strategy config file") BacktestCmd.Flags().Bool("force", false, "force execution without confirm") BacktestCmd.Flags().String("output", "", "the report output directory") BacktestCmd.Flags().Bool("subdir", false, "generate report in the sub-directory of the output directory")