mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-08 15:20:24 +00:00
chore: make condition more logical
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user