Reorder new commands
This commit is contained in:
		| @@ -79,8 +79,8 @@ positional arguments: | |||||||
|     trade               Trade module. |     trade               Trade module. | ||||||
|     create-userdir      Create user-data directory. |     create-userdir      Create user-data directory. | ||||||
|     new-config          Create new config |     new-config          Create new config | ||||||
|     new-strategy        Create new strategy |  | ||||||
|     new-hyperopt        Create new hyperopt |     new-hyperopt        Create new hyperopt | ||||||
|  |     new-strategy        Create new strategy | ||||||
|     download-data       Download backtesting data. |     download-data       Download backtesting data. | ||||||
|     convert-data        Convert candle (OHLCV) data from one format to another. |     convert-data        Convert candle (OHLCV) data from one format to another. | ||||||
|     convert-trade-data  Convert trade data from one format to another. |     convert-trade-data  Convert trade data from one format to another. | ||||||
|   | |||||||
| @@ -194,18 +194,18 @@ class Arguments: | |||||||
|         build_config_cmd.set_defaults(func=start_new_config) |         build_config_cmd.set_defaults(func=start_new_config) | ||||||
|         self._build_args(optionlist=ARGS_BUILD_CONFIG, parser=build_config_cmd) |         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 |         # add new-hyperopt subcommand | ||||||
|         build_hyperopt_cmd = subparsers.add_parser('new-hyperopt', |         build_hyperopt_cmd = subparsers.add_parser('new-hyperopt', | ||||||
|                                                    help="Create new hyperopt") |                                                    help="Create new hyperopt") | ||||||
|         build_hyperopt_cmd.set_defaults(func=start_new_hyperopt) |         build_hyperopt_cmd.set_defaults(func=start_new_hyperopt) | ||||||
|         self._build_args(optionlist=ARGS_BUILD_HYPEROPT, parser=build_hyperopt_cmd) |         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 |         # Add download-data subcommand | ||||||
|         download_data_cmd = subparsers.add_parser( |         download_data_cmd = subparsers.add_parser( | ||||||
|             'download-data', |             'download-data', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user