Changed to use refresh_latest_ohlcv

This commit is contained in:
Ali Salama
2025-04-12 10:15:31 +01:00
parent 559f6e2791
commit 85edef8394

View File

@@ -485,7 +485,7 @@ def _download_all_pairs_history_parallel(
needed_pairs: ListPairsWithTimeframes = [
(p, timeframe, CandleType.get_default(trading_mode)) for p in [p for p in pairs]
]
candles = exchange.refresh_ohlcv_with_cache(needed_pairs, since)
candles = exchange.refresh_latest_ohlcv(needed_pairs, since_ms=since, cache=False)
return candles