mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-03-04 04:43:33 +00:00
Changed filter to pop
This commit is contained in:
@@ -403,11 +403,7 @@ def refresh_backtest_ohlcv_data(
|
||||
)
|
||||
|
||||
# get the already downloaded pair candles if they exist
|
||||
pair_candles = (
|
||||
fast_candles[(pair, timeframe, candle_type)]
|
||||
if (pair, timeframe, candle_type) in fast_candles
|
||||
else None
|
||||
)
|
||||
pair_candles = fast_candles.pop((pair, timeframe, candle_type), None)
|
||||
|
||||
progress.update(timeframe_task, description=f"Timeframe {timeframe}")
|
||||
logger.debug(f"Downloading pair {pair}, {candle_type}, interval {timeframe}.")
|
||||
|
||||
Reference in New Issue
Block a user