Skip to content

Commit

Permalink
consistent config param for all sub-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
lanphan committed Mar 22, 2024
1 parent abd9f86 commit a46a2f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/cmd/backtest.go
Expand Up @@ -43,7 +43,6 @@ 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().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")
Expand Down
1 change: 0 additions & 1 deletion pkg/cmd/build.go
Expand Up @@ -11,7 +11,6 @@ import (
)

func init() {
BuildCmd.Flags().String("config", "bbgo.yaml", "config file")
RootCmd.AddCommand(BuildCmd)
}

Expand Down

0 comments on commit a46a2f6

Please sign in to comment.