chore: improve potentially erroneous comparison

This commit is contained in:
Matthias
2024-10-27 09:53:51 +01:00
parent 9e53b0742c
commit d317f33f4e

View File

@@ -117,7 +117,7 @@ class Bybit(Exchange):
def ohlcv_candle_limit(
self, timeframe: str, candle_type: CandleType, since_ms: Optional[int] = None
) -> int:
if candle_type in (CandleType.FUNDING_RATE):
if candle_type == CandleType.FUNDING_RATE:
return 200
return super().ohlcv_candle_limit(timeframe, candle_type, since_ms)