diff --git a/Trading/Exchange/hyperliquid/hyperliquid_exchange.py b/Trading/Exchange/hyperliquid/hyperliquid_exchange.py index 1f6cff6a6..e4253d937 100644 --- a/Trading/Exchange/hyperliquid/hyperliquid_exchange.py +++ b/Trading/Exchange/hyperliquid/hyperliquid_exchange.py @@ -17,6 +17,7 @@ import octobot_trading.exchanges as exchanges import octobot_trading.enums as trading_enums +import octobot_trading.exchanges.connectors.ccxt.constants as ccxt_constants class HyperliquidConnector(exchanges.CCXTConnector): @@ -51,6 +52,15 @@ def get_name(cls): def get_adapter_class(self): return HyperLiquidCCXTAdapter + def get_additional_connector_config(self): + return { + ccxt_constants.CCXT_OPTIONS: { + "fetchMarkets": { + "types": ["spot"], # only hyperliquid spot markets are supported + } + } + } + class HyperLiquidCCXTAdapter(exchanges.CCXTAdapter):