diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index ac19696fa..7275c4b10 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -2896,8 +2896,11 @@ class Exchange: } pairs_to_download = [p for p in pairs if p not in candles] if pairs_to_download: - candles = self.refresh_latest_ohlcv(pairs_to_download, since_ms=since_ms, cache=False) - for c, val in candles.items(): + candles_new = self.refresh_latest_ohlcv( + pairs_to_download, since_ms=since_ms, cache=False + ) + for c, val in candles_new.items(): + candles[c] = val self._expiring_candle_cache[(c[1], since_ms)][c] = val return candles