How to run a grid bot on Hyperliquid (no code)
How a grid bot works on Hyperliquid perps and spot, how to pick the range, step and stop, why grids lose in a trend, and what our tests showed.
By the Prow teamPublished Updated 7 min read
On this page
- How a grid makes and loses money
- The settings that matter
- Spot grid or futures grid
- Long, Short and Neutral
- Run one in Prow, step by step
- How to read a grid's figures
- Frequently asked questions
- Is grid trading profitable on Hyperliquid?
- What grid step should I use?
- Can a grid bot on Hyperliquid withdraw my funds?
- Does a futures grid pay funding?
- Sources
A grid bot splits a price range into levels, places buy orders below the price and sell orders above it, and earns one grid step (minus fees) each time a buy and the sell above it both fill. On Hyperliquid you can run one on perps (with leverage, long, short or neutral) or on spot (no leverage). A grid does well when the price swings up and down inside its range, and loses when the price leaves the range and keeps going. In our tests of grid bots on months of Hyperliquid and Aster prices, the best long grid at 1x lost a median of 6.8% per 90 days, and 3 in 4 start dates lost money. Read this guide before you start one, and treat a grid as a tool for sideways markets, not as income.
How a grid makes and loses money
Take a range from 90 to 110 with 20 levels about 1% apart, on a coin trading at 100.
- At the start, a long futures grid opens a position for the sell levels above the price, and places buy orders on every level below.
- When the price dips one level, a buy fills. The bot places a sell one level higher.
- When the price comes back up, that sell fills and the bot books one step of profit, then places the buy again.
Every completed buy-then-sell earns one step, about 1% of the order size, minus fees on both fills. Many small swings mean many small wins.
The other side: if the price falls through the bottom of the range, every buy fills on the way down and the bot ends up holding the whole position at a loss. Prow's grid docs work an example: a 1,000 USDC long grid at 1x on that 90–110 range holds about 10 coins at an average of about 97.20 by the time the price reaches 90. If the price keeps falling to a stop at 85.50, the bot closes for a loss of about 117 USDC, roughly 12% of the investment. At about 0.48 USDC per completed round trip before fees, the grid would need around 240 round trips to earn that back, and more once the fees on each fill are paid. A grid wins a little many times and can lose a lot once.
The settings that matter
| Setting | What it controls | A sensible starting point |
|---|---|---|
| Lower and upper price | The range the grid trades in | A range the price has respected recently, sized to the coin's volatility |
| Number of grids / grid step | Gap between levels | Sized to how far the coin usually moves in a day, and never less than 3 times the fees of a round trip |
| Grid type | Arithmetic (equal price gap) or geometric (equal % gap) | Geometric for wide ranges |
| Direction (futures) | Long, Short or Neutral | Long; Short and Neutral only if you understand the trend risk |
| Leverage (futures) | Size per unit of margin | 1x |
| Stop loss | Where the bot closes everything | Below the range for a long, required |
| Investment | Total the bot may use | Money you can afford to lose |
Step versus fees. A smaller step means more trades and more fees. Each round trip pays the fee on the buy and on the sell. If you trade with limit orders on Hyperliquid perps, that is the maker fee (0.015% at base tier) twice, plus any app fee. A step under three times that cost leaves almost nothing per trade. A calm coin can use a smaller step than a volatile one, and Prow's form checks the step against the fees of a round trip.
Range width. A narrow range trades often but the price leaves it sooner. A wide range survives bigger moves but trades rarely and ties up capital on levels far from the price.
Spot grid or futures grid
| Spot grid | Futures grid | |
|---|---|---|
| Where | Hyperliquid spot | Hyperliquid and Aster perps |
| Direction | Long only | Long, Short or Neutral |
| Leverage and liquidation | None | Yes; isolated margin |
| Funding | None | Paid or received every hour on Hyperliquid |
| At the start | Buys the coin for the sell levels | Opens a position for the sell levels (long) |
A spot grid can't be liquidated, but it can still end up holding a coin that has fallen a long way. A futures grid adds leverage and funding. With leverage, check where liquidation would be if every buy level filled: it must come after your stop, or the venue may close the position before your stop does.
Long, Short and Neutral
- Long holds a position for the levels above the price and buys more as the price falls. It loses when the price falls through the range.
- Short is the mirror. It loses when the price rises through the range.
- Neutral starts flat, goes short above the start price and long below it, with a stop on each side.
In our tests, neutral and short grids with leverage lost 55% to 91% over 180 days and were liquidated in 20% to 30% of starts. They only work in a market that keeps ranging, and most markets trend for long stretches.
Prow also has a Ladder bot: a futures grid that opens part of its position at the start, takes profit in steps and adds to the position as the price moves against it. It carries the same trend risk as a long or short grid. See Ladder bot.
Run one in Prow, step by step
- Open Bots, then Create a bot, and pick Grid.
- Pick the market: the coin and the venue (Hyperliquid or Aster), futures or spot. Bots trade only markets with a deep order book.
- Pick a ready setting for how long you plan to run the bot, or set everything yourself. The ready settings fit the range and step to the coin's recent prices and keep the ones that held up best when started on many different days, not the single best result.
- Enter the investment. The form shows the minimum for your settings and the size per grid.
- Read the figure under the run length: what that setting made over the days it was tuned on, after fees. Then press Continue. It checks your settings and opens the start review; it does not run them on past prices.
- Approve the Prow Bots key the first time (one free signature). It can trade for your bots but can't withdraw or transfer.
- Sign the bot's limits: market, largest investment and order, leverage, max loss, stop bounds, price range, highest Prow fee and an end date. Prow's servers refuse any order outside them.
Defaults are deliberately cautious: 1x, long, a stop loss that is always on, and a max loss of 30% of the investment. See Grid bot for every field and Trading bots for how bots run.
How to read a grid's figures
- Compare the figure with simply holding the coin over the same days. A grid that made 3% while the coin gained 10% did worse than doing nothing.
- Remember that the figure is on the days the setting was tuned on, so it looks better than reality. The fairer number is how the setting did on later days it wasn't tuned on, which is what the Tested label means.
- Look at the drawdown before the headline number: the largest fall of the bot's value from a high point.
- Remember that a grid earns nothing while the price is outside its range, and what the figures leave out: your place in the order queue, moves inside a candle, gaps and outages. See Past results.
Frequently asked questions
Is grid trading profitable on Hyperliquid?
Sometimes, in a market that ranges. In our tests over months of Hyperliquid and Aster prices, the best long grid at 1x lost a median of 6.8% per 90 days and 3 in 4 starts lost money. A grid earns small steps and loses heavily when the price trends out of its range.
What grid step should I use?
At least three times the fees of one round trip (both fills, plus any app fee), and sized to the coin's usual daily move: a calm coin needs a smaller step than a volatile one. Prow's ready settings size the step from the coin's recent prices. Whatever step you pick, the form shows Profit per grid after fees, so you can see whether they eat it.
Can a grid bot on Hyperliquid withdraw my funds?
Not through a trading key. Hyperliquid API wallets can trade but cannot withdraw. In Prow, the Prow Bots key can't withdraw or transfer funds; the worst it can do is trade badly inside the limits you signed.
Does a futures grid pay funding?
Yes. A futures grid holds a perp position, so it pays or receives funding every hour on Hyperliquid, and at each market's interval on Aster. The figures on ready setups include it.
Sources
Checked October 5, 2026:
- Hyperliquid docs: Fees, Funding
- Prow docs: Grid bot, Trading bots, Past results, The Prow Bots key