diff --git a/freqtrade/commands/__init__.py b/freqtrade/commands/__init__.py index d5aea62be..0e637c487 100644 --- a/freqtrade/commands/__init__.py +++ b/freqtrade/commands/__init__.py @@ -19,7 +19,6 @@ from freqtrade.commands.list_commands import (start_list_exchanges, start_list_m start_show_trades) from freqtrade.commands.optimize_commands import (start_backtesting, start_backtesting_show, start_edge, start_hyperopt) -from freqtrade.commands.freqai_commands import (start_training) from freqtrade.commands.pairlist_commands import start_test_pairlist from freqtrade.commands.plot_commands import start_plot_dataframe, start_plot_profit from freqtrade.commands.trade_commands import start_trading diff --git a/freqtrade/commands/arguments.py b/freqtrade/commands/arguments.py index 4388e84e4..f47748502 100644 --- a/freqtrade/commands/arguments.py +++ b/freqtrade/commands/arguments.py @@ -190,8 +190,7 @@ class Arguments: start_list_markets, start_list_strategies, start_list_timeframes, start_new_config, start_new_strategy, start_plot_dataframe, start_plot_profit, start_show_trades, - start_test_pairlist, start_trading, start_webserver, - start_training) + start_test_pairlist, start_trading, start_webserver) subparsers = self.parser.add_subparsers(dest='command', # Use custom message when no subhandler is added diff --git a/freqtrade/commands/freqai_commands.py b/freqtrade/commands/freqai_commands.py deleted file mode 100644 index 2733c851a..000000000 --- a/freqtrade/commands/freqai_commands.py +++ /dev/null @@ -1,24 +0,0 @@ -import logging -from typing import Any, Dict - -from freqtrade import constants -from freqtrade.configuration import setup_utils_configuration -from freqtrade.enums import RunMode -from freqtrade.exceptions import OperationalException -from freqtrade.misc import round_coin_value - - -logger = logging.getLogger(__name__) - -def start_training(args: Dict[str, Any]) -> None: - """ - Train a model for predicting signals - :param args: Cli args from Arguments() - :return: None - """ - from freqtrade.freqai.training import Training - - config = setup_utils_configuration(args, RunMode.FREQAI) - - training = Training(config) - training.start()