krakenfutures: add funding_fee_candle_limit for limited history
Kraken Futures retains only ~29 days of hourly funding rate history. Set funding_fee_candle_limit to 700 so ohlcv_candle_limit returns the correct cap for CandleType.FUNDING_RATE instead of the general OHLCV limit.
This commit is contained in:
@@ -51,6 +51,8 @@ class Krakenfutures(Exchange):
|
||||
PriceType.MARK: "mark",
|
||||
PriceType.INDEX: "index",
|
||||
},
|
||||
# Kraken Futures retains only 29 days of hourly funding rate history.
|
||||
"funding_fee_candle_limit": 700,
|
||||
}
|
||||
|
||||
@retrier
|
||||
|
||||
Reference in New Issue
Block a user