STRATEGY GUIDE · 7 MIN READ

Grid bot settings: how to choose range, number of grids and spacing

TopTradingBots editorial team · Published 12 Nov 2026 · Updated 12 Nov 2026 · Editorial policy

SHORT ANSWER

Good grid bot settings start from the range: a lower and upper price the coin has actually traded between recently. Then pick the number of grids so each step's profit is well above the round-trip fee (0.20% at a 0.10% fee), and each line's order clears the exchange minimum. Geometric spacing keeps the percentage step equal across the range.

The grid bot settings that matter

Grid bot settings decide whether a grid trades profitably, barely trades, or trades at a loss after fees. This guide assumes you know how a grid works. If not, start with what is a grid trading bot. Here we go through each setting in the order you should decide it:

  1. Range: the lower and upper price.
  2. Number of grids: which sets the step between lines.
  3. Spacing type: arithmetic or geometric.
  4. Investment: total, and per grid line.
  5. Triggers: start price, stop-loss and take-profit.

Get the first two right and the rest is fine-tuning. Get them wrong and no stop-loss will save the bot from either never trading or trading at a loss after fees.

Choosing the grid bot range

The range is where the bot works. Inside it, the bot buys lower and sells higher. Outside it, a normal spot grid stops trading: below the range you hold coins bought on the way down, above it you hold only cash.

OKX’s guide sums up the trade-off. A narrow range “leads to more trades and faster turnover”, while a wide range “lets the bot ride big swings and stay alive in volatile markets” (OKX).

A practical way to set it:

  • Start from recent highs and lows. Look at where the coin has actually traded over a period that matches how long you plan to run the bot. A bot for a few weeks needs a range based on the last few weeks, not the last year.
  • Widen it for volatility. If the coin often moves several percent in a day, a tight range will be broken quickly. A wider range survives more of those moves but spreads your money thinner.
  • Decide what you’ll do at the edges. If price breaks below the floor, you’ll hold a coin that has fallen. Only set a floor at a level where you accept holding the coin.

If you expect a strong trend rather than a sideways market, a fixed range is the wrong tool. An infinity grid drops the upper limit, and our grid vs DCA guide covers when a different bot fits better.

How many grids: step size vs fees

The number of grids sets the step between lines. Pionex puts the mechanics simply: “N grids → N+1 price levels → N active open orders” (Pionex Help Center). More grids mean smaller steps: OKX says smaller gaps give “frequent trades but smaller profits per trade”, and larger gaps “fewer trades but bigger profits per fill”.

Each completed cycle is two fills, a buy and a sell, and each pays a trading fee. So the profit per grid has to be well above twice the fee rate. Fees in our data:

Exchange Spot fee (maker / taker) Two fills cost Bot fee
KuCoin 0.10% / 0.10% 0.20% Free
Bybit 0.10% / 0.10% 0.20% Free
OKX 0.08% / 0.10% 0.16%–0.20% Free
Pionex 0.05% / 0.05% 0.10% Free
MEXC 0.00% / 0.05% 0%–0.10% Free

OKX’s global base rates are shown; its review notes EEA and US accounts pay more.

Worked example (made-up prices, real fee level): you run a BTC/USDT grid from 90,000 to 110,000 USDT with 1,000 USDT on an exchange charging 0.10% per fill.

  • 20 grids (geometric): each step is about 1.01%. After 0.20% in fees, about 0.81% is left per cycle. With 50 USDT per line, that’s roughly 0.40 USDT per completed cycle.
  • 100 grids (geometric): each step is about 0.20%. After 0.20% in fees, about nothing is left. The bot trades often and earns close to zero.
  • The same 100 grids at Pionex’s 0.05%: the step of 0.20% leaves about 0.10% per cycle, which is thin but positive.

So “how many grids” depends on your fee rate first. A rule of thumb: keep the step at several times the two-fill fee, so slippage and partial fills don’t erase it. OKX notes that “execution is not guaranteed”, so real fills can differ from the grid prices. Test your own range, grid count and fee in the grid profit calculator.

Arithmetic vs geometric grids

Most grid bots let you choose how lines are spaced. OKX defines the two clearly: arithmetic “maintains a consistent difference between each grid level”, while geometric “maintains a consistent ratio between each grid level” (OKX).

In the example above, with 20 grids from 90,000 to 110,000:

Arithmetic Geometric
Spacing 1,000 USDT every step About 1.01% every step
Step at the bottom (around 90,000) About 1.11% About 1.01%
Step at the top (around 109,000) About 0.92% About 1.01%

Over a narrow range the difference is small. Over a wide range it grows: arithmetic steps near the top become a much smaller percentage, so they may fall close to the fee level, while steps near the bottom are larger than you need. Geometric keeps the percentage profit per step even, which makes it easier to check every step against fees. Arithmetic is simpler to read and works fine when the range is tight.

Investment per grid and exchange minimums

Your investment is split across the grid lines, so the amount per line is roughly total ÷ number of grids. Every one of those orders must meet the exchange’s minimum order size.

KuCoin says its minimum “changes from crypto pair to crypto pair” and gives 10 USDT on BTC/USDT as an example (KuCoin). Pionex says there is “no single fixed minimum” and that the system calculates the required total in real time.

In the example, 1,000 USDT across 100 grids is 10 USDT per line, right at that kind of minimum, and the bot form may refuse it or require more. If it does, the fix is fewer grids or more money. Our guide on how much money you need for a trading bot works through minimums for small accounts.

Stop-loss, take-profit and start triggers

Grid bots usually offer three triggers:

  • Trigger (start) price. The bot waits until price reaches a level before placing orders. OKX’s example uses “Instant”, meaning the bot starts placing orders as soon as it’s created.
  • Stop-loss. OKX says that if price drops to this level, the bot “will stop trading and sell all base assets at the market price”. Pionex describes the same behaviour for its stop-loss.
  • Take-profit. The mirror image on the way up: OKX’s bot stops and sells all base assets at market when price reaches it.

Pionex adds that if neither is configured, the grid “will continue running until you manually stop it” (Pionex). A stop-loss below the range floor caps how much a breakdown can cost, but it also sells at market into a falling price. Our stop-loss and take-profit guide covers placement in more detail.

Some exchanges also let the range follow price. OKX’s FAQ describes Trailing Up and Trailing Down, and notes that each downward extension requires additional capital (OKX FAQ).

On a futures grid, the range also has to sit well clear of the liquidation price, because leverage up to 50x–150x is offered in our data.

AI-suggested parameters

Several exchanges will fill in the settings for you. Our reviews record AI-suggested grid parameters on Bybit, Pionex, MEXC and Gate. KuCoin says its AI “decides all the details”, setting the price interval and number of levels from historical price action.

That makes AI settings a reasonable first draft, not a forecast. They are fitted to past prices. Before launching, check three things yourself: does the range match recent highs and lows, is the step comfortably above two fills’ worth of fees, and is there a stop-loss you accept? See do AI trading bots work for the wider picture.

When to reset a grid

Reset, or stop, when the setup no longer matches the market:

  • Price has left the range and isn’t returning soon. Above the range the bot sits in cash; below it, it sits in coins. Either way it isn’t trading.
  • Volatility has changed. If swings have shrunk, the step may be too wide to fill; if they’ve grown, the range may be too tight.
  • Fees changed. A new fee tier can make a narrow step unprofitable.

Resetting has a cost. Closing a grid can sell its coins at market, which locks in any loss on them and pays fees, and the new grid starts from scratch. Avoid resetting on every small move. Before you rerun, test the new settings with a backtest.

These are mechanics, not recommendations. Grid bots can lose money, and nothing here is financial advice.

FAQ

What are the best grid bot settings?

There is no single best set, because the right range and step depend on the coin and how volatile it has been. A workable starting point is a range based on recent highs and lows, a step at least several times your round-trip fee, and enough money per line to clear the exchange minimum. Backtest or paper-trade before using real money.

How many grids should I use on a grid bot?

As many as your budget and fees allow, and no more. Each grid line needs its own order above the exchange minimum, and each step must earn more than two fills' worth of fees. With 1,000 USDT and a 0.10% fee, 20 grids over a 20% range gives about 1% per step; 100 grids gives about 0.2%, which the fees wipe out.

Should I use arithmetic or geometric grids?

OKX defines arithmetic as a consistent difference and geometric as a consistent ratio between levels. Over a narrow range the two are almost the same. Over a wide range, geometric keeps the percentage profit per step even, while arithmetic gives smaller percentage steps near the top.

Should I trust AI-suggested grid parameters?

Treat them as a starting point. KuCoin says its AI sets the price interval and number of levels from historical price action. Past ranges don't guarantee future ones, so check the suggested range, step and stop-loss against your own view and fees.

When should I reset a grid bot?

When price has left the range and isn't coming back soon, or when volatility has changed so much that the step no longer fits. Closing a grid can sell the coins it holds at market, which locks in any loss and costs fees, so don't reset on every small move.

Sources

Not financial advice. Trading bots do not remove market risk.