chore: make condition more logical

This commit is contained in:
Matthias
2025-08-27 20:19:31 +02:00
parent b284572ea7
commit 2eb2617b6f
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -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)