From 98db1d52c63bb674bb18b5ce68d9a2e4b67a0ab5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 22 May 2020 07:04:36 +0200 Subject: [PATCH] Reorder new commands --- README.md | 2 +- freqtrade/commands/arguments.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3dd0d5bb1..08e408f7f 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/freqtrade/commands/arguments.py b/freqtrade/commands/arguments.py index 4b7ce4cc3..1b7bbfeb5 100644 --- a/freqtrade/commands/arguments.py +++ b/freqtrade/commands/arguments.py @@ -194,18 +194,18 @@ class Arguments: 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',