Skip to content

Commit

Permalink
Reorder new commands
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed May 22, 2020
1 parent 43e2bce commit 98db1d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ positional arguments:
trade Trade module.
create-userdir Create user-data directory.
new-config Create new config
new-strategy Create new strategy
new-hyperopt Create new hyperopt
new-strategy Create new strategy
download-data Download backtesting data.
convert-data Convert candle (OHLCV) data from one format to another.
convert-trade-data Convert trade data from one format to another.
Expand Down
12 changes: 6 additions & 6 deletions freqtrade/commands/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,18 +194,18 @@ def _build_subcommands(self) -> None:
build_config_cmd.set_defaults(func=start_new_config)
self._build_args(optionlist=ARGS_BUILD_CONFIG, parser=build_config_cmd)

# add new-strategy subcommand
build_strategy_cmd = subparsers.add_parser('new-strategy',
help="Create new strategy")
build_strategy_cmd.set_defaults(func=start_new_strategy)
self._build_args(optionlist=ARGS_BUILD_STRATEGY, parser=build_strategy_cmd)

# add new-hyperopt subcommand
build_hyperopt_cmd = subparsers.add_parser('new-hyperopt',
help="Create new hyperopt")
build_hyperopt_cmd.set_defaults(func=start_new_hyperopt)
self._build_args(optionlist=ARGS_BUILD_HYPEROPT, parser=build_hyperopt_cmd)

# add new-strategy subcommand
build_strategy_cmd = subparsers.add_parser('new-strategy',
help="Create new strategy")
build_strategy_cmd.set_defaults(func=start_new_strategy)
self._build_args(optionlist=ARGS_BUILD_STRATEGY, parser=build_strategy_cmd)

# Add download-data subcommand
download_data_cmd = subparsers.add_parser(
'download-data',
Expand Down

0 comments on commit 98db1d5

Please sign in to comment.