feat(bitget): configure mark timeframe

This commit is contained in:
Matthias
2025-07-30 22:02:38 +02:00
parent b887e2ad21
commit 7afd3cb730

View File

@@ -23,6 +23,9 @@ class Bitget(Exchange):
_ft_has: FtHas = {
"ohlcv_candle_limit": 200, # 200 for historical candles, 1000 for recent ones.
}
_ft_has_futures: FtHas = {
"mark_ohlcv_timeframe": "4h",
}
def ohlcv_candle_limit(
self, timeframe: str, candle_type: CandleType, since_ms: int | None = None