đĨ Hyperliquid
Foundation Sponsor
Hyperliquid is a sponsor of Hummingbot Foundation, so when you use Hummingbot to run bots on Hyperliquid, you're supporting the Foundation and our mission to democratize algo trading with open source software.
đ Connector Info¶
- Exchange Type: Decentralized Exchange (DEX)
- Market Type: Central Limit Order Book (CLOB)
| Component | Status | Notes |
|---|---|---|
| đ Spot Connector | â | |
| đ Perp Connector | â | Supports testnet |
| đ¯ Spot Candles Feed | â | |
| đ¯ Perp Candles Feed | â | |
| đ Connector Guide | â |
âšī¸ Exchange Info¶
- Website: https://app.hyperliquid.xyz/
- CoinMarketCap: https://coinmarketcap.com/exchanges/hyperliquid/
- CoinGecko: https://www.coingecko.com/en/exchanges/hyperliquid
- API Docs: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api
- Fees: https://hyperliquid.gitbook.io/hyperliquid-docs/trading/fees
- Supported Countries: Not available
đ How to Connect¶
Tip
See the Hyperliquid Vault Guide for more details on how to use Hyperliquid VauLts.
Add Keys to Hummingbot¶
From inside the Hummingbot client, run connect hyperliquid in Hummingbot in order to connect your wallet:
If connection is successful:
đ Spot Connector¶
Integration to spot markets API endpoints
- ID:
hyperliquid - Connection Type: WebSocket
- API Docs: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api
- Github Folder
Order Types¶
This connector supports the following OrderType constants:
LIMITLIMIT_MAKERMARKET
đ Perp Connector¶
Integration to perpetual futures markets API endpoints
- ID:
hyperliquid_perpetual - Connection Type: WebSocket
- Folder: https://github.com/hummingbot/hummingbot/tree/master/hummingbot/connector/derivative/hyperliquid_perpetual
Usage¶
From inside the Hummingbot client, run connect hyperliquid_perpetual:
If connection is successful:
Order Types¶
This connector supports the following OrderType constants:
LIMITLIMIT_MAKERMARKET
Position Modes¶
This connector supports the following position modes:
- One-way
Paper Trading¶
This perp exchange offers a paper trading mode: https://app.hyperliquid-testnet.xyz/trade
Afer you create an account and create the API keys, you can enter them by using the connect hyperliquid_perpetual_testnet command within the Hummingbot client. Once connected, you should be able to use the testnet with the available perpetual strategies / scripts.
đ¯ Spot Candles Feed¶
OHLCV candles data collector from spot markets
- ID:
hyperliquid - Supported Intervals: 1m | 3m | 5m | 15m | 30m | 1h | 2h | 4h | 6h | 8h | 12h | 1d | 1w | 1M
- API Docs: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api
- Github Folder
Usage¶
In a Hummingbot script, import CandlesFactory to create the candles that you want:
from hummingbot.data_feed.candles_feed.candles_factory import CandlesFactory
candles = CandlesFactory.get_candle(connector="hyperliquid",
trading_pair="ETH-USDC",
interval="1m", max_records=50)
đ¯ Perp Candles Feed¶
OHLCV candles data collector from perpetual futures markets
- ID:
hyperliquid_perpetual - Supported Intervals: 1m | 3m | 5m | 15m | 30m | 1h | 2h | 4h | 6h | 8h | 12h | 1d | 1w | 1M
- Github Folder
Usage¶
In a Hummingbot script, import CandlesFactory to create the candles that you want: