Which parameters a grid bot asks for
Whichever exchange or bot platform you use to open a grid, the settings are basically the same: price range (upper and lower limits), number of grids, arithmetic or geometric, and investment amount. Some also let you set a trigger price, and take-profit and stop-loss prices outside the range. For how grids work, see grid trading strategy; this article only covers how to choose the parameters.
Range: first see how far the price can move in a month
If the range is too narrow, the price will soon leave it; if it’s too wide, each grid gets little capital and few fills. Start by looking at how far the price has moved over a given period in the past. The table below uses Binance daily highs and lows for Bitcoin from August 2017 to November 2026: starting from any given day, it shows the share of cases in which the price never moved beyond a given percentage above or below the starting price.
| Price stayed within this range of the starting price | For 30 days | For 90 days |
|---|---|---|
| ±10% | 12.6% | 0.1% |
| ±15% | 33.2% | 3.2% |
| ±20% | 49.9% | 12.3% |
| ±30% | 74.0% | 35.7% |
In other words, with a ±10% range centered on the current price, Bitcoin goes 30 days without touching either limit only about one time in eight; even with ±20%, it’s only about half the time. Ethereum is more volatile: in the same analysis, it stayed within ±20% over 30 days only 32.0% of the time.
This doesn’t mean a wider range is always better. It means accepting that the price will very likely leave your range at some point, and deciding before you open the grid what you’ll do when it does.
What happens when the price leaves the range
An example: with Bitcoin at 60,000 USDT, you open an arithmetic grid from 50,000 to 70,000 with 10,000 USDT, 20 grids, each 1,000 USDT apart. Suppose the price moves in one direction with no bounce in between:
- It falls all the way to the 50,000 lower limit: the grid buys at every level, and all your funds turn into about 0.1747 BTC, worth about 8,734 USDT (−12.7%). Below that, the grid stops trading, which is the same as holding a full position in BTC: at 45,000 you’re left with about 7,860 USDT (−21.4%), and at 40,000 about 6,987 USDT (−30.1%).
- It rises all the way to the 70,000 upper limit: the grid sells all its BTC and you’re left with about 10,480 USDT. Had you simply bought BTC with the same money at the start, it would be worth about 11,667 USDT at 70,000. If the price kept rising to 90,000, holding would be worth 15,000 USDT, while the grid would still have 10,480 USDT.
In a one-way decline, a grid becomes more and more fully invested as the price falls; in a one-way rally, it sells out early. You can give the grid a stop-loss price outside the range (for example, sell everything if the price falls 5% below the lower limit). At the very least, decide in advance whether you’ll keep holding or cut your losses once the price breaks below the lower limit.
Number of grids: profit per grid must clearly exceed fees
What each grid earns is the price gap between its buy and sell, minus two trading fees (one each way). More grids mean more frequent fills but thinner profit per grid; with too many grids, the profit per grid doesn’t even cover the fees.
- Arithmetic grid: price gap per grid = (upper limit − lower limit) ÷ number of grids; profit per grid ≈ price gap ÷ buy price − 2 × fee rate. The closer to the upper limit, the lower the profit per grid.
- Geometric grid: rise per grid r = (upper limit ÷ lower limit)^(1 ÷ number of grids) − 1; profit per grid ≈ r − 2 × fee rate, the same for every grid.
Using the same 50,000–70,000 range, with a fee of 0.1% per side:
| Grids | Geometric rise per grid | Geometric, after fees | Arithmetic top grid, after fees |
|---|---|---|---|
| 10 | 3.42% | 3.22% | 2.74% |
| 20 | 1.70% | 1.50% | 1.25% |
| 50 | 0.68% | 0.48% | 0.37% |
| 100 | 0.34% | 0.14% | 0.09% |
| 200 | 0.17% | −0.03% | −0.06% |
With 200 grids, every grid that fills actually loses money to fees. With lower fees you can use more grids, but the order stays the same: work out the profit per grid first, then decide the number of grids.
Arithmetic or geometric
When the range isn’t wide (say, the upper and lower limits are within 30% of each other), the difference between the two is small, and arithmetic is more intuitive. When the range is wide, geometric makes more sense: an arithmetic grid spreads profit per grid very thin at high prices and thick at low prices, while a geometric grid has the same percentage rise in every grid, so capital and profit are spread more evenly.
How much to invest and how much room to leave
- The order size per grid is roughly investment ÷ number of grids. It needs to be above the exchange’s minimum order size, or the bot may not be able to start.
- Don’t put all your money into one grid. Once the price breaks below the lower limit, the grid is fully invested; keeping some funds aside leaves you options.
- Before investing, work out the worst case: if the price falls to the lower limit and then another 30%, how much would this grid have left, and could you accept that?
Test it on real market data
Once you’ve chosen your parameters, you can replay them on Binance’s last 180 days of 1-hour data with the grid trading calculator to see the profit per grid, the number of fills, and whether you’d have made or lost money compared with simply holding. To test a version with a stop loss that restarts automatically after the price leaves the range, hand it to the AI to backtest:
Backtest a BTC/USDT spot geometric grid: range ±15% centered on the starting price, 20 grids, 10000 USDT invested, 0.1% fee per side. If the price falls 5% below the lower limit, sell everything and stop; if it breaks above the upper limit, stop. Backtest the last two years; after each stop, restart the grid at the price at that time. Report total return, max drawdown, average profit per grid and number of restarts, and compare with simply holding BTC over the same period.
This article only explains how tools are used and how strategies work. It is not investment advice. Backtest and paper trading performance does not represent future returns. Digital assets and leveraged trading carry extremely high risk; only use money you can afford to lose.
FAQ
Is grid trading reliable?
In markets where the price swings back and forth, a grid can fairly steadily collect the price difference between levels; but at heart it’s a bet that the price stays inside the range. In a one-way decline it becomes more and more fully invested, and in a one-way rally it sells out early. It’s not a guaranteed way to make money; before you start, decide what you’ll do when the price leaves the range.
How many grids should I use?
Work out the profit per grid first: for a geometric grid, rise per grid = (upper limit ÷ lower limit)^(1 ÷ number of grids) − 1, and after subtracting two trading fees it should be clearly above 0. For example, with a 50,000–70,000 range and a 0.1% fee per side, 20 grids earn about 1.5% per grid, while with 200 grids each grid actually loses money to fees.
How should I set the grid range?
Use historical volatility as a guide, and accept that the price will very likely leave the range. Based on Binance daily data from August 2017 to November 2026, starting from any given day, Bitcoin stayed within ±10% of the starting price for 30 days only about 12.6% of the time, and within ±20% about 49.9% of the time. The narrower your range, the more you need a stop-loss or stop rule outside it.
Why does grid trading lose money?
Most often, the price breaks below the lower limit and keeps falling: the grid is already fully invested, so it loses along with the price. Next, the grid is too dense, so the profit per grid doesn’t cover fees. And when the price breaks above the upper limit, the grid has sold out early and earns less than simply holding.
Arithmetic or geometric grid: which is better?
With a narrow range, the difference is small and arithmetic is more intuitive; with a wide range, use geometric, since every grid has the same percentage rise and profit is spread more evenly.