feat(bitget): configure mark timeframe
This commit is contained in:
@@ -23,6 +23,9 @@ class Bitget(Exchange):
|
|||||||
_ft_has: FtHas = {
|
_ft_has: FtHas = {
|
||||||
"ohlcv_candle_limit": 200, # 200 for historical candles, 1000 for recent ones.
|
"ohlcv_candle_limit": 200, # 200 for historical candles, 1000 for recent ones.
|
||||||
}
|
}
|
||||||
|
_ft_has_futures: FtHas = {
|
||||||
|
"mark_ohlcv_timeframe": "4h",
|
||||||
|
}
|
||||||
|
|
||||||
def ohlcv_candle_limit(
|
def ohlcv_candle_limit(
|
||||||
self, timeframe: str, candle_type: CandleType, since_ms: int | None = None
|
self, timeframe: str, candle_type: CandleType, since_ms: int | None = None
|
||||||
|
|||||||
Reference in New Issue
Block a user