From 0f3809345a737ab3e8279cd02ba78fd244472395 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 30 Oct 2021 10:28:12 +0200 Subject: [PATCH] Remove backtest-path parameter --- freqtrade/commands/__init__.py | 6 +++--- freqtrade/commands/arguments.py | 3 +-- freqtrade/commands/cli_options.py | 5 ----- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/freqtrade/commands/__init__.py b/freqtrade/commands/__init__.py index 323d85825..89b6fdc3a 100644 --- a/freqtrade/commands/__init__.py +++ b/freqtrade/commands/__init__.py @@ -13,9 +13,9 @@ from freqtrade.commands.data_commands import (start_convert_data, start_convert_ from freqtrade.commands.deploy_commands import (start_create_userdir, start_install_ui, start_new_strategy) from freqtrade.commands.hyperopt_commands import start_hyperopt_list, start_hyperopt_show -from freqtrade.commands.list_commands import (start_list_exchanges, start_list_hyperopts, - start_list_markets, start_list_strategies, - start_list_timeframes, start_show_trades) +from freqtrade.commands.list_commands import (start_list_exchanges, start_list_markets, + start_list_strategies, start_list_timeframes, + start_show_trades) from freqtrade.commands.optimize_commands import (start_backtest_filter, start_backtesting, start_edge, start_hyperopt) from freqtrade.commands.pairlist_commands import start_test_pairlist diff --git a/freqtrade/commands/arguments.py b/freqtrade/commands/arguments.py index 080c5a9f6..df4c35cc0 100644 --- a/freqtrade/commands/arguments.py +++ b/freqtrade/commands/arguments.py @@ -2,7 +2,6 @@ This module contains the argument manager class """ import argparse -from freqtrade.commands.optimize_commands import start_backtest_filter from functools import partial from pathlib import Path from typing import Any, Dict, List, Optional @@ -42,7 +41,7 @@ ARGS_LIST_STRATEGIES = ["strategy_path", "print_one_column", "print_colorized"] ARGS_LIST_HYPEROPTS = ["hyperopt_path", "print_one_column", "print_colorized"] -ARGS_BACKTEST_FILTER = ["backtest_path"] +ARGS_BACKTEST_FILTER = [] ARGS_LIST_EXCHANGES = ["print_one_column", "list_exchanges_all"] diff --git a/freqtrade/commands/cli_options.py b/freqtrade/commands/cli_options.py index 60c888756..8d9b28c40 100644 --- a/freqtrade/commands/cli_options.py +++ b/freqtrade/commands/cli_options.py @@ -218,11 +218,6 @@ AVAILABLE_CLI_OPTIONS = { help='Specify additional lookup path for Hyperopt Loss functions.', metavar='PATH', ), - "backtest_path": Arg( - '--backtest-path', - help='Specify lookup file path for backtest filter.', - metavar='PATH', - ), "epochs": Arg( '-e', '--epochs', help='Specify number of epochs (default: %(default)d).',