From ce024c74e1c30bac760803c0f81024f40a9f5bf7 Mon Sep 17 00:00:00 2001 From: silur <3187667+Silur@users.noreply.github.com> Date: Thu, 15 May 2025 21:31:01 +0400 Subject: [PATCH] fix binance futures candle type hardcoding --- freqtrade/exchange/binance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/exchange/binance.py b/freqtrade/exchange/binance.py index 57b7da2e0..470bdcf32 100644 --- a/freqtrade/exchange/binance.py +++ b/freqtrade/exchange/binance.py @@ -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,