mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33: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)
|
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user