feat(hyperliquid): fix a few settings to make spot work properly

This commit is contained in:
Matthias
2024-11-12 06:58:21 +01:00
parent 9b3764212f
commit 0028df2564

View File

@@ -25,10 +25,15 @@ class Hyperliquid(Exchange):
"l2_limit_range": [20],
"trades_has_history": False,
"tickers_have_bid_ask": False,
"stoploss_on_exchange": True,
"stoploss_on_exchange": False,
"exchange_has_overrides": {"fetchTrades": False},
"stoploss_order_types": {"limit": "limit"},
"funding_fee_timeframe": "1h",
"marketOrderRequiresPrice": True,
}
_ft_has_futures: FtHas = {
"stoploss_on_exchange": True,
"stoploss_order_types": {"limit": "limit"},
"marketOrderRequiresPrice": False,
}
_supported_trading_mode_margin_pairs: list[tuple[TradingMode, MarginMode]] = [