mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 00:23:07 +00:00
Merge pull request #11755 from Silur/develop
fix binance futures candle type hardcoding for trades data
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user