fix binance futures candle type hardcoding

This commit is contained in:
silur
2025-05-15 21:31:01 +04:00
parent 193cfb634c
commit ce024c74e1

View File

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