OKX交易所配置:设置ohlcv_partial_candle=False,确保获取到最新的完整蜡烛数据
This commit is contained in:
parent
90ec12fd84
commit
81b8b8bda8
@ -29,6 +29,7 @@ class Okx(Exchange):
|
||||
|
||||
_ft_has: FtHas = {
|
||||
"ohlcv_candle_limit": 100, # Warning, special case with data prior to X months
|
||||
"ohlcv_partial_candle": False, # OKX返回的candle都是已close的,不需要删除最后一根
|
||||
"mark_ohlcv_timeframe": "4h",
|
||||
"funding_fee_timeframe": "8h",
|
||||
"stoploss_order_types": {"limit": "limit"},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user