🔥 Hyperliquid - Hummingbot
URL: https://hummingbot.org/exchanges/hyperliquid/
Contents:
- 🔥 Hyperliquid
- 🛠 Connector Info¶
- ℹ️ Exchange Info¶
- 🔑 How to Connect¶
- Add Keys to Hummingbot¶
- 🔀 Spot Connector¶
- Order Types¶
- 🔀 Perp Connector¶
- Usage¶
- Order Types¶
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.
See the Hyperliquid Vault Guide for more details on how to use Hyperliquid VauLts.
From inside the Hummingbot client, run connect hyperliquid in Hummingbot in order to connect your wallet:
If connection is successful:
Integration to spot markets API endpoints
This connector supports the following OrderType constants:
Integration to perpetual futures markets API endpoints
From inside the Hummingbot client, run connect hyperliquid_perpetual:
If connection is successful:
This connector supports the following OrderType constants:
This connector supports the following position modes:
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.
OHLCV candles data collector from spot markets
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)
OHLCV candles data collector from perpetual futures markets
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_perpetual", trading_pair=trading_pair, interval="3m", max_records=50)
Examples:
Example 1 (javascript):
Enter your Arbitrum wallet address >>>
Enter your Arbitrum wallet private key >>>Example 2 (unknown):
You are now connected to hyperliquid.Example 3 (unknown):
>>> connect hyperliquid_perpetualExample 4 (javascript):
Enter your Arbitrum wallet address >>>
Enter your Arbitrum wallet private key >>>