Jun 11, 2026 · 5 min read
What Is Grid Trading? A Complete Beginner's Guide
How grid trading works, when it makes money, when it loses, and a worked example with real numbers, explained without hype.
Grid trading is a strategy that places a ladder of buy and sell orders across a price range, so that an account automatically buys when price dips and sells when it rises. Instead of predicting where the market is going, a grid defines how to behave while the market moves around.
Below is a worked example, followed by the market conditions where grids perform well and the cases where they lose money.
The core idea
Markets spend a lot of time going nowhere. Price chops up and down inside a band without committing to a direction. A trader watching that chop manually would have to place an order, wait, take profit, replace the order, and repeat, dozens or hundreds of times.
A grid bot mechanizes exactly that. You define four things:
- a lower price, the bottom of the range you expect price to stay within,
- an upper price, the top of that range,
- a number of levels, how many rungs the ladder has,
- an order size, how much to trade at each rung.
The bot places buy orders on rungs below the current price and sell orders on rungs above it. When a buy fills, the bot places a sell one rung higher. When that sell fills, the round trip is complete: you bought low, sold slightly higher, and captured the gap between the two rungs. Then the cycle repeats for as long as price keeps crossing rungs.
Each completed cycle earns roughly the spacing between levels, minus fees. The strategy depends on many small completed trades rather than one large move.
A worked example
Say BTC is trading around $100,000 and has been ranging between $90,000 and $110,000. You configure:
- Range: $90,000 – $110,000
- Levels: 21
- Size: $100 per order
With geometric spacing (more on that below), each rung sits about 1% above the one beneath it. The bot places buys on the rungs below $100,000 and sells on the rungs above.
Now price dips to $99,000. The buy there fills, you now hold about 0.00101 BTC bought at $99,000, and the bot immediately posts a sell one rung up, near $100,000. Price drifts back up, the sell fills, and that round trip earned about $1 gross on $100 deployed (the ~1% gap between rungs), before fees.
One dollar sounds unimpressive. The point is repetition: in a choppy week, price might cross those middle rungs dozens of times. Every crossing in both directions is another ~1% captured on that slice of the grid, and the bot follows the same order rules each time.
Why spacing is geometric, not fixed
Cheap introductions describe grids with fixed-dollar spacing: a rung every $1,000. The problem is that $1,000 at the bottom of a $90k–$110k range is a 1.1% move, while $1,000 at the top is only 0.9%. Fixed spacing makes the rungs at the top of the range trigger more easily but pay less.
Geometric spacing separates every rung by the same percentage instead. Each level is the previous level multiplied by a constant ratio, so a round trip earns the same percentage wherever in the range it happens. For crypto, where everything is quoted and reasoned about in percentage moves, this is the right default: it’s the only spacing Anello’s grid bots use.
When grid trading works
A grid performs best when three things are true:
- Price stays inside the range. Every trip down to a rung and back is a completed trade. A clean breakout in either direction ends the cycling.
- Volatility is high relative to spacing. A market that crosses rungs often generates many cycles. A flat, dead market generates none.
- Spacing comfortably covers fees. If rungs are 1% apart and a round trip costs 0.1% in fees, you keep most of the move. If spacing barely exceeds fees, you’re working for the exchange.
Sideways, choppy, range-bound markets are where a grid is most useful.
When grid trading loses
A grid changes the shape of your market risk rather than removing it. Three failure modes matter:
Price trends below the range. Every rung on the way down filled a buy, so you’re holding a stack of inventory bought at prices above the current one. The grid stops trading once price exits below the bottom rung, and the loss only resolves if price comes back.
Price trends above the range. Less painful but still costly: the grid sold its inventory on the way up and then sat in stablecoins watching the rally continue without it.
Spacing too tight for the fees. A grid with very dense levels looks busy and feels productive while fees consume most of what each cycle earns.
The risk controls are straightforward: choose a range wide enough to contain realistic movement, size orders so a full-range fill doesn’t overextend you, and keep spacing meaningfully above your fee cost. There’s a longer discussion in our help article on how grid trading on Hyperliquid works.
What running a grid actually costs
Two costs apply to every fill on a grid running through Anello on Hyperliquid:
- Hyperliquid’s trading fee, charged by the venue on each fill at your wallet’s fee tier.
- Anello’s builder fee, 0.02% on spot sell fills only (buys are free), which averages out to 0.01% per fill across a full buy–sell cycle.
The full breakdown lives in fees and risks. The rule of thumb from above bears repeating: keep your grid spacing at a comfortable multiple of your round-trip fee cost.
Grid trading on Hyperliquid, non-custodially
Grid bots have existed on centralized exchanges for years, with one structural catch: the bot operator holds your funds. You deposit to their platform, and your counterparty risk is the platform itself.
On Hyperliquid the model can be different. Anello runs grids through agent wallets, a separate key that is authorized to sign trades for your account but cannot withdraw funds anywhere. Your assets stay in your own wallet on Hyperliquid; the bot can only do the one thing you authorized it to do: place and cancel orders. How that works is covered in non-custodial agent wallets.
Before launch, Anello shows every order with its exact price and size. Those are the orders the bot will place, so you can check the full grid before authorizing it.
Is grid trading right for you?
Grid trading suits people who want a transparent strategy for ranging markets and accept the trade-off: many small wins inside the range against a real loss if price breaks below it. It is not passive income and it does not work in every market.
If you’re weighing it against just trading the range yourself, we’ve written a direct comparison: grid bot vs manual trading. And if you’re weighing it against simply accumulating over time, read grid trading vs DCA next.
Nothing in this article is financial advice. Grid trading can lose money. Size positions so you can be wrong comfortably.
Frequently asked questions
- Is grid trading profitable?
- It can be, in sideways or choppy markets where price repeatedly crosses the rungs. Each completed buy-low/sell-high cycle realizes roughly the spacing between levels, minus fees. It loses money when price trends out of the range, especially below it, where you end up holding inventory bought above the current price. It is not guaranteed income.
- When does grid trading lose money?
- Three ways. Price trends below the range and you hold a stack of above-market inventory; price trends above the range and the grid sells early then sits out the rally (an opportunity loss); or spacing is too tight to cover fees, so most of each cycle's gross goes to fees.
- How much does a grid bot cost to run on Hyperliquid?
- Two costs per fill: Hyperliquid's trading fee at your wallet's tier, and Anello's builder fee of 0.02% on spot sell fills only (buys are free), which averages about 0.01% per buy-sell cycle. Your grid spacing must comfortably exceed this round-trip fee cost.
- Is grid trading on Hyperliquid non-custodial?
- With Anello, yes. Grids run through an agent wallet, a key authorized to place and cancel orders for your account but unable to withdraw funds. Your assets stay in your own Hyperliquid wallet. That removes operator custody risk, but not market risk: grids can still lose money.
- What is the difference between grid trading and DCA?
- DCA accumulates an asset over time by buying on a schedule and never selling. A grid trades both directions inside a range to realize profit from volatility. They suit different goals and combine well.