Merge pull request #11755 from Silur/develop

fix binance futures candle type hardcoding for trades data
This commit is contained in:
Matthias
2025-05-15 19:52:58 +02:00
committed by GitHub

View File

@@ -400,7 +400,7 @@ class Binance(Exchange):
since = max(since, listing_date) since = max(since, listing_date)
_, res = await download_archive_trades( _, res = await download_archive_trades(
CandleType.SPOT, CandleType.FUTURES if self.trading_mode == "futures" else CandleType.SPOT,
pair, pair,
since_ms=since, since_ms=since,
until_ms=until, until_ms=until,