mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-14 02:01:02 +00:00
fix ohlcv_candle_limit funding_rate candles
Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
@@ -57,7 +57,7 @@ class Hyperliquid(Exchange):
|
||||
self, timeframe: str, candle_type: CandleType, since_ms: Optional[int] = None
|
||||
) -> int:
|
||||
# Funding rate candles have a different limit
|
||||
if candle_type in CandleType.FUNDING_RATE:
|
||||
if candle_type == CandleType.FUNDING_RATE:
|
||||
return 500
|
||||
|
||||
return super().ohlcv_candle_limit(timeframe, candle_type, since_ms)
|
||||
|
||||
Reference in New Issue
Block a user