Hyperliquid trading bot

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.

By Keel Research Team
Updated November 11, 2026
A bot from the library
Trend Bot with an ATR Trailing Stop
  • 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.
Sharpe
1.15
Return
+213%
Worst dip
−50%

Backtest on Hyperliquid, Aug 2024 to Sep 2026, after fees, slippage and funding.

Your options

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.

Suits

Developers who want full control and are happy to maintain a program that handles real money.

Watch for

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.

Suits

Traders who want a simple, known pattern on one or two coins and don't need anything custom.

Watch for

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.

Suits

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.

Watch for

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.

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.

Hyperliquid trading bots compared
ProductKindHow it connectsWhat it runsTest before live
BitsgapHosted bot platformYou connect your Hyperliquid account to it through an API connectionGrid, DCA and a combined grid and DCA futures botIts page says you can test and refine strategies before trading real funds
WunderTradingHosted bot platformYou connect your wallet and approve its builder fee on HyperliquidSignal, grid and DCA bots, and TradingView alertsPaper trading, per its Hyperliquid page
KatoshiHosted trading automation for HyperliquidNon-custodial; its site says API keys never leave your deviceTradingView alerts, webhooks and its own scripted signals, plus a strategy marketplaceNot stated on its site
HummingbotOpen-source bot software you run yourselfA wallet private key or an API key, entered in the clientIts perpetual strategies and scriptsA Hyperliquid testnet connector it calls a paper trading mode
pvp.tradeTelegram trading bot, powered by HyperliquidNot stated on its home pageLong and short trades from a Telegram group, and copying or countertrading friendsNot 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

The common bot types, and what Keel does instead
Bot typeWhat it doesWhat Keel does instead
Grid botPlaces 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 botBuys 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 tradingYour 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 botYour 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.

An example bot

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.

1

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.

2

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

Globalsconfig
target_timeframe1dbar_offset12h
UniverseassetsTop by Volume · HL Perps · 20 assets20 resolved
Executionorders
rebalanceOn Change

Factories

ema_crossfactory
Pipeline7 steps
PriceDataLoaderData Loader
ohlcv_1dstore
Parallel2 branches
entries
Parallel2 branches
const
ConstantForecastForecast Mapper
value1
gates
Parallel3 branches
trend_up
ema_crosscall
AboveThresholdFilterSignal Transform
threshold0
momentum_agrees
ROCIndicator
period14
AboveThresholdFilterSignal Transform
threshold0
funding_ok
FundingDataLoaderData Loader
use_cachetrue
BelowThresholdFilterSignal Transform
threshold0.0000625inclusivetrue
MaskAndSignal Composer
ApplyMaskSignal Composer
score_signalconstfilter_signalgates
bot_entrystore
exit_flip
ema_crosscall
NegateTransformSignal Transform
ThresholdCrossSignal Transform
upper0modelong_only
bot_exit_flipstore
TradeManagerPosition Manager
entriesbot_entrypricesohlcv_1d
Parallel2 branches
trend_flip
bot_exit_flipload
AboveThresholdFilterSignal Transform
threshold1inclusivetrue
ExitPosition Manager
atr_trail
TrailingStopPosition Manager
atr2.5period14
ExposurePosition Manager
EqualWeightSizerPosition Sizer
target_leverage1max_weight0.2
3

The backtest

EquityDrawdown
Sharpe
1.15
Total return
+213.4%
Worst drawdown
−50.2%
Trades
1,141

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 tested
Copy trading

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.

Your money, your account

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

How to start

From an idea to a live bot in four steps

Test twice before real money: once on history, once on live prices.

  1. 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.

  2. 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.

  3. 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.

  4. 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 Claude
FAQ

What traders ask about Hyperliquid bots

What 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.