From b8ab6fe42bae3bcef4014181b27aca631b734c86 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 17 Jun 2023 14:59:01 +0200 Subject: [PATCH] Improve wording of check command --- freqtrade/commands/data_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/commands/data_commands.py b/freqtrade/commands/data_commands.py index ed1571002..d4fd050eb 100644 --- a/freqtrade/commands/data_commands.py +++ b/freqtrade/commands/data_commands.py @@ -20,7 +20,7 @@ from freqtrade.util.binance_mig import migrate_binance_futures_data logger = logging.getLogger(__name__) -def _data_download_sanity(config: Config) -> None: +def _check_data_config_download_sanity(config: Config) -> None: if 'days' in config and 'timerange' in config: raise OperationalException("--days and --timerange are mutually exclusive. " "You can only specify one or the other.") @@ -37,7 +37,7 @@ def start_download_data(args: Dict[str, Any]) -> None: """ config = setup_utils_configuration(args, RunMode.UTIL_EXCHANGE) - _data_download_sanity(config) + _check_data_config_download_sanity(config) timerange = TimeRange() if 'days' in config: time_since = (datetime.now() - timedelta(days=config['days'])).strftime("%Y%m%d")