Skip to content
Merged

Hype #1656

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Trading/Exchange/hyperliquid/hyperliquid_exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):

Expand Down