From 2eb2617b6ff9e1b1baae727f3955279970f709fc Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 27 Aug 2025 20:19:31 +0200 Subject: [PATCH] chore: make condition more logical --- freqtrade/commands/cli_options.py | 2 +- freqtrade/data/history/history_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/commands/cli_options.py b/freqtrade/commands/cli_options.py index 4cb4f09ac..9755eb34d 100755 --- a/freqtrade/commands/cli_options.py +++ b/freqtrade/commands/cli_options.py @@ -457,7 +457,7 @@ AVAILABLE_CLI_OPTIONS = { "no_parallel_download": Arg( "--no-parallel-download", help="Disable the Parallel Downloader.", - action="store_false", + action="store_true", ), "new_pairs_days": Arg( "--new-pairs-days", diff --git a/freqtrade/data/history/history_utils.py b/freqtrade/data/history/history_utils.py index 58ab402ce..011f6cb4e 100644 --- a/freqtrade/data/history/history_utils.py +++ b/freqtrade/data/history/history_utils.py @@ -389,7 +389,7 @@ def refresh_backtest_ohlcv_data( for timeframe in timeframes: # Get fast candles via parallel method on first loop through per timeframe # and candle type. Downloads all the pairs in the list and stores them. - if no_parallel_download and ( + if not no_parallel_download and ( ((pair, timeframe, candle_type) not in fast_candles) and (erase is False) and (prepend is False)