Build your own Hyperliquid trading bot
Keel lets you build your own Hyperliquid trading bot from rules you can read, backtest it with fees, slippage and funding, and paper trade it before any money is at risk. When you go live, it trades from your own Hyperliquid account through an agent wallet that can place trades but can never withdraw. You don't need to write code, and starting is free.
- Each day, look at the 20 most traded Hyperliquid perps.
- Hold a coin long while its 10-day average is above its 30-day average and its 14-day momentum is positive.
- Skip it while funding is too expensive, and keep that money in cash.
- Sell on a trend flip, or when price falls 2.5 ATRs from its high.
Backtest on Hyperliquid, Aug 2024 to Sep 2026, after fees, slippage and funding.
Three ways to run a trading bot on Hyperliquid
Each one suits a different trader. The big differences are how much you have to build, how much of the logic you can see, and whether you can test it before it trades.
Write it yourself in code
Hyperliquid has a public API and an official Python SDK, and open-source frameworks such as Hummingbot connect to it. You write the strategy, the order handling and the error handling, and you run it on a server that stays up.
Developers who want full control and are happy to maintain a program that handles real money.
Testing is on you. You need price and funding history, a backtester that charges fees and slippage, and a way to make sure the live script does what the tested one did.
Use a grid or DCA template bot
Hosted bot platforms give you ready-made templates. A grid bot places buy and sell orders at fixed price steps. A DCA bot buys in set amounts on a schedule or on dips. You pick the coin and fill in a few settings.
Traders who want a simple, known pattern on one or two coins and don't need anything custom.
Grid bots do well while price moves sideways and get hurt when it trends hard one way. Check how the platform connects to Hyperliquid, and whether it shows a backtest with fees before you switch it on.
Build your own strategy and test it first
This is what Keel does. You describe the rules, or start from a library strategy, and Keel builds them as blocks you can read. You backtest on Hyperliquid history with real costs, paper trade on live prices, and then run the same strategy live.
Traders who have an idea of their own, or want to change a known one, and want to see how it would have done before trusting it with money.
Keel strategies decide on a schedule, after each candle closes, and usually trade a basket of coins. If you want a grid bot or high-frequency scalping, a template bot or your own code fits better.
A bot is only as good as its rules. All three ways can lose money. The difference is whether you find that out in a backtest or in your account.
For the wider field, from AI strategy builders to bots that trade for you, see AI trading software compared.
Hyperliquid trading bots compared
Several products run bots on Hyperliquid for you. Each works differently, so the useful questions are what kind of product it is, how it reaches your account, what it runs, and whether you can test first. Each row below is described from the product's own site.
| Product | Kind | How it connects | What it runs | Test before live |
|---|---|---|---|---|
| Bitsgap | Hosted bot platform | You connect your Hyperliquid account to it through an API connection | Grid, DCA and a combined grid and DCA futures bot | Its page says you can test and refine strategies before trading real funds |
| WunderTrading | Hosted bot platform | You connect your wallet and approve its builder fee on Hyperliquid | Signal, grid and DCA bots, and TradingView alerts | Paper trading, per its Hyperliquid page |
| Katoshi | Hosted trading automation for Hyperliquid | Non-custodial; its site says API keys never leave your device | TradingView alerts, webhooks and its own scripted signals, plus a strategy marketplace | Not stated on its site |
| Hummingbot | Open-source bot software you run yourself | A wallet private key or an API key, entered in the client | Its perpetual strategies and scripts | A Hyperliquid testnet connector it calls a paper trading mode |
| pvp.trade | Telegram trading bot, powered by Hyperliquid | Not stated on its home page | Long and short trades from a Telegram group, and copying or countertrading friends | Not stated on its home page |
Read from each product's own site on 11 November 2026. Listed in no order of preference.
The common bot types, and what Keel does instead
| Bot type | What it does | What Keel does instead |
|---|---|---|
| Grid bot | Places buy and sell orders at fixed price steps and profits while price moves sideways. | Keel doesn't run grids. You build a rule that decides on a schedule, such as a trend or breakout rule, and backtest it first. |
| DCA bot | Buys in set amounts on a schedule or as price falls. | Keel's DCA bot is a safety-order ladder you can fork and backtest: it adds as price falls and takes profit, every order filled at the bar close, and the backtest shows how deep the drawdowns got. |
| Copy trading | Your account follows another trader's positions or deposits into their vault. | Keel doesn't copy another trader. You run your own rule, after you have seen how it backtested. |
| API bot | Your own code that signs and sends orders through Hyperliquid's API, on a server you keep running. | Keel runs the strategy on its servers and trades through an agent wallet that can place trades but never withdraw. |
What Keel does instead. You build a rule you can read and backtest it on Hyperliquid data with fees, slippage and funding, then try it with Hyperliquid paper trading. When it looks right, it runs from your own account through an agent wallet that can trade but never withdraw.
A trend bot, from rules to results
One strategy from the Keel library: the rules in plain words, the same rules as blocks, and what they did on Hyperliquid.
The rules
- Each day, look at the 20 most traded Hyperliquid perps.
- Hold a coin long while its 10-day average is above its 30-day average and its 14-day momentum is positive.
- Skip it while funding is too expensive, and keep that money in cash.
- Sell on a trend flip, or when price falls 2.5 ATRs from its high.
Trend rules like these are a common first bot. Here every rule is written down, so you know why it bought and why it sold. It is the library strategy Trend Bot with an ATR Trailing Stop.
The same rules, as blocks
Read it from the top. Daily prices come in. Three checks decide whether a coin can be held: the trend, the momentum and the funding cost. Two exits sit after the entries, one for a trend flip and one trailing stop. The last blocks split the money equally across the coins that qualify. Switch to Code to see the same strategy as text.
Configuration
Factories
Globals(target_timeframe="1d", bar_offset="12h")
Universe(mode="top_volume", top_n=20, market="perp", resolved=["BNB", "BTC", "DOGE", "ETH", "FARTCOIN", "GRAM", "HYPE", "LINK", "LIT", "NEAR", "PUMP", "SOL", "SUI", "VVV", "WLD", "XPL", "XRP", "ZEC", "kBONK", "kPEPE"], resolved_at="2026-07-06T20:20:32.738649+00:00")
Execution(rebalance="on_change")
ema_cross = Pipeline([
{
"fast": [EWMA(window=10)],
"slow": [EWMA(window=30)],
},
Crossover(fast_key="fast", slow_key="slow"),
], name="ema_cross")
Pipeline([
PriceDataLoader(),
Store("ohlcv_1d"),
{
"entries": [
Pipeline([
{
"const": [ConstantForecast(value=1.0)],
"gates": [
Pipeline([
{
"trend_up": [ema_cross, AboveThresholdFilter(threshold=0.0)],
"momentum_agrees": [ROC(period=14), AboveThresholdFilter(threshold=0.0)],
"funding_ok": [FundingDataLoader(use_cache=True), BelowThresholdFilter(threshold=0.0000625, inclusive=True)],
},
MaskAnd(),
], name="gates"),
],
},
ApplyMask(score_signal="const", filter_signal="gates"),
Store("bot_entry"),
], name="entries"),
],
"exit_flip": [ema_cross, NegateTransform(), ThresholdCross(upper=0.0, mode="long_only"), Store("bot_exit_flip")],
},
TradeManager(entries="bot_entry", prices="ohlcv_1d"),
{
"trend_flip": [Load("bot_exit_flip"), AboveThresholdFilter(threshold=1.0, inclusive=True), Exit()],
"atr_trail": [TrailingStop(atr=2.5, period=14)],
},
Exposure(),
EqualWeightSizer(target_leverage=1.0, max_weight=0.2),
], name="ai_trend_bot_crypto")
The backtest
Hyperliquid, Aug 2024 to Sep 2026, after trading fees, slippage and funding, on the default settings rather than the best run. Look at the drawdown before the return. This bot holds longs only and has no volatility target, so it takes the full hit of a crypto sell-off. That is the kind of thing a backtest shows you before your money does. The how it works page explains how fills, fees and funding are modelled.
See the full backtest, monthly returns and every setting testedStart from a strategy that already has a backtest
Every strategy in the Keel library is published with its rules and a full backtest on Hyperliquid. Open one, change what you want, and test your version.
Trend Bot with an ATR Trailing Stop
A trend bot. Goes long a coin while its trend is up and momentum agrees, sits in cash otherwise, and uses a trailing stop.
Momentum Strategy on Hyperliquid
Buys the coins that have outrun the rest over the last two weeks, only when volume backs the move, and steps aside when the whole market turns down.
Channel Breakout Strategy on Hyperliquid
Goes long coins that break above their recent price range and short the ones that break below it.
Mean Reversion Strategy on Hyperliquid
Buys sharp dips in coins that are still in an uptrend and sells as they recover. The weakest result of the four, which is worth knowing before you build one.
All four are backtested over the same Hyperliquid history with the same costs, so you can compare them fairly. The strategy library has more, including carry and index strategies.
Copy trading on Hyperliquid, or your own strategy
Copy trading means your account follows someone else's trades. On Hyperliquid the built-in way is a vault: you deposit into a strategy another trader runs, and you share in its results. Separate copy-trading apps mirror the positions of a wallet you pick.
Is copy trading profitable? Sometimes, and it depends almost entirely on whom you copy and when you start. A leader's past results don't promise future ones, and the results you get can differ from theirs: you enter later, at different prices, and you may pay a share of profits or a fee on top. You also see what they traded, not the rules behind it, so you can't tell a rough patch from a strategy that has stopped working.
Keel doesn't copy another trader's positions. You run your own tested rule. You can start from a published library strategy, where you see every rule and its backtest before you run it, change what you want, and test your version with fees, slippage and funding before any money goes in.
How Keel connects to Hyperliquid
Keel never takes a deposit. Your bot trades from your own Hyperliquid account through a key that can trade and nothing else.
- 01
Connect the wallet you use on Hyperliquid
Your money sits in your own Hyperliquid account, under that wallet. Keel never holds it. Hyperliquid needs a first deposit from the wallet (at least 5 USDC) before it lets any app trade for it.
- 02
Sign two approvals
The first creates an agent wallet: a separate key that can place trades for you but can never withdraw or transfer funds. It lasts 180 days. The second approves Keel's fee per order, with a hard cap that Hyperliquid enforces. Nothing is signed until you confirm the last step.
- 03
The strategy trades that account
One strategy runs per account, and it trades all the funds in it. To run two strategies, connect a second wallet. Each strategy needs enough in the account for Hyperliquid's minimum order sizes, and Keel shows that amount before you go live.
- 04
Pause or revoke whenever you like
Pause the strategy in Keel, or revoke the agent wallet from Keel or directly on Hyperliquid. Pausing or disconnecting never moves your money.
From an idea to a live bot in four steps
Test twice before real money: once on history, once on live prices.
- 01
Pick a strategy or describe your own
Open a library strategy and change it, or write your idea in plain words and let Keel's AI build it from blocks. You can also edit the code directly.
- 02
Backtest it
Run it over Hyperliquid price and funding history with fees and slippage charged on every trade. Look at the drawdowns as well as the return.
- 03
Paper trade it
Run it forward on live Hyperliquid prices with simulated fills. You need no wallet for this, and no money is at risk.
- 04
Go live from your account
Connect your Hyperliquid wallet and run the same strategy you tested. Keel runs it on its servers, so nothing has to stay open on your computer.
More on each step: building a strategy with AI, backtesting on Hyperliquid and paper trading. Prefer to work in Claude? You can build and backtest the bot from there too.
Build it with ClaudeWhat is the best Hyperliquid trading bot?
It depends on the kind of bot you want. Hosted platforms run grid, DCA and signal bots for you, open-source software such as Hummingbot runs on your own server, and Telegram bots trade from a chat; the comparison on this page describes each from its own site. If you want a rule of your own that you can read and backtest with fees, slippage and funding before it trades, that is what Keel is built for.
Is there an official Hyperliquid trading bot?
No. Hyperliquid runs the exchange and publishes an API and an official Python SDK, which developers use to write their own bots. Every bot you find is built by someone else on top of that API, so it matters who holds the keys and what the bot is allowed to do.
Do I need to code to build a Hyperliquid bot?
Not on Keel. You describe the rules in plain words or start from a library strategy, and they appear as blocks you can read and change. If you do code, the strategy is also plain text you can edit.
Is it safe, and do I keep custody of my funds?
Your money stays in your own Hyperliquid account and Keel never holds it. Keel trades through an agent wallet you approve, which can place trades but can never withdraw or transfer funds. The approval lasts 180 days, and you can revoke it any time from Keel or on Hyperliquid. Trading is still risky: a strategy can lose money, and the example bot on this page shows how deep a drawdown can get.
Can I test a bot before it uses real money?
Yes, twice. First backtest it on Hyperliquid history with fees, slippage and funding. Then paper trade it on live prices with simulated fills, which needs no wallet. Go live only when both look right to you.
Is copy trading profitable?
It can be, and it depends on the trader you copy and when you start. You enter after the leader, at different prices, and often pay a share of profits, so your results can differ from theirs, and past results don't promise future ones. You see their trades, not their rules. On Keel you run your own rule instead, after you have seen how it backtested.
Is there a Hyperliquid Telegram bot?
Not from Keel. Keel has no Telegram bot: you build and test strategies in the Keel app or from Claude or ChatGPT, and run them from the Keel app. Telegram trading bots for Hyperliquid are third-party apps, so check who holds the keys and what the bot is allowed to do before you connect one.
Can it trade HIP-3 markets like stocks and commodities?
Not yet. Keel trades Hyperliquid's crypto perpetuals, such as BTC, ETH, SOL and HYPE. Stock, index and commodity perps are HIP-3 markets, and Keel doesn't support them yet. Support is coming soon.
What does a Hyperliquid trading bot on Keel cost?
Building, backtesting and paper trading start free. The free plan paper trades one strategy and runs one live on a timeframe of 1 hour or slower, with a 5 basis point fee on live trades. Paid plans start at $49 a month, run more strategies and lower that fee. Hyperliquid's own trading fees apply as usual. The pricing page has the full limits.
Build your Hyperliquid bot
Starting is free. You see the rules and the backtest before anything trades, and your money never leaves your account.