Trading Tools & Strategies
Three open-source Hyperliquid bot examples: a 15-minute MA crossover bot, a directional funding carry bot, and a perpetual grid bot. Use referral code HIPERWIRE for 4% off trading fees.
Trend-following crossover bot for Hyperliquid perps. Uses fixed 15m candles, asset-unit sizing, and requires a flat start so it does not take over an existing position.
Directional funding-capture bot for Hyperliquid perps. Scans for extreme predicted funding, opens the receiving side, and holds bot-opened positions until the next hourly funding settlement.
Two-sided perpetual grid bot for Hyperliquid. Places asset-unit limit orders around a center price and is honest about carrying directional inventory.
Getting Started
Run the linked repo from its root with the actual entrypoints it exposes today.
1. Clone the repo
$ git clone https://github.com/atlasdetitan/hyperliquid-trading-bots.git
$ cd hyperliquid-trading-bots
2. Install dependencies from the repo root
$ python3 -m pip install -r requirements.txt
3. Configure credentials for live trading
$ printf 'PRIVATE_KEY=0x...\\n' > .env
Set PRIVATE_KEY in .env. If you use an agent wallet, generate it at app.hyperliquid.xyz/API and add ACCOUNT_ADDRESS for the authorizing main wallet. The funding bot's --scan-only mode can skip this step.
4. Run one of the real entrypoints
Hyperliquid Moving Average Crossover Bot
$ python3 strategies/ma_crossover/bot.py --symbol BTC --fast 10 --slow 30 --size 0.001 --interval 60
Hyperliquid Funding Rate Carry Bot
$ python3 strategies/funding_arb/bot.py --threshold 0.01 --size 0.01 --interval 300 --max-positions 3 --max-hold-hours 12
Hyperliquid Grid Bot
$ python3 strategies/grid_bot/bot.py --symbol ETH --levels 10 --spacing 0.5 --size 0.01 --interval 30
DEPLOY ON HYPERLIQUID
Run these bots on the fastest on-chain perpetuals exchange