mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-26 08:50:47 +00:00
feat: add binance 1s ohlcv fast download
This commit is contained in:
@@ -134,7 +134,7 @@ class Binance(Exchange):
|
||||
)
|
||||
return DataFrame(columns=DEFAULT_DATAFRAME_COLUMNS)
|
||||
|
||||
if timeframe in ["1m", "5m"] and candle_type in [CandleType.SPOT, CandleType.FUTURES]:
|
||||
if timeframe in ["1s", "1m", "5m"] and candle_type in [CandleType.SPOT, CandleType.FUTURES]:
|
||||
df = self.loop.run_until_complete(
|
||||
binance_public_data.fetch_ohlcv(
|
||||
candle_type=candle_type,
|
||||
|
||||
Reference in New Issue
Block a user