A grid bot is software that automatically places many pre-set buy and sell limit orders on an exchange simultaneously — no manual clicking required. A neutral grid bot, specifically, doesn't take a view on price direction. It earns by placing a ladder of those limit orders above and below the current price, then capturing the spread between adjacent levels each time price oscillates through them. No directional forecast required — only oscillation. Directional variants (long and short grids) do carry a directional bias and are covered in Long vs Short vs Neutral grid: when to use each direction.

The basic mechanics

You define a price range and a number of grid levels. The bot divides that range into equal intervals and places a buy order at every level below the current price, and a sell order at every level above it. When price drops and a buy fills, the bot immediately places a sell one level higher. When that sell fills, it places a buy one level lower. Each completed buy–sell cycle is a round trip, and each round trip locks in a small profit equal to the grid spacing.

The bot runs continuously. As long as price stays within the range and keeps moving, it keeps collecting round trips. It doesn't need to know whether the next move is up or down — it profits from both.

Starting inventory. To place both buy orders below the current price and sell orders above it from the start, a neutral grid needs balanced exposure — roughly half the capital held in the base asset (e.g. BTC) and half in the quote (e.g. USDT). If you start with only USDT, the bot can only place buy orders until price falls far enough for some to fill, leaving the upper half of the grid inactive at launch. On perpetual futures, this is handled through long and short contracts rather than actual asset ownership, but the principle is the same: the bot needs room to act in both directions immediately.

A worked example

The numbers matter more than the concept. Here is a concrete setup:

Capital deployed:   $10,000 (no leverage)
Entry price:        $100,000
Grid range:         $95,000 – $105,000  (10% wide)
Grid count:         10 levels
Grid spacing:       $1,000 per level  (arithmetic)
Order size:         0.01 BTC per level  (~$1,000 notional)
Maker fee:          0.02% per side

When price drops from $101,000 to $100,000, the buy at $100,000 fills. When price recovers to $101,000, the sell fills. That is one round trip.

Gross profit per round trip:   $1,000 × 0.01 BTC  =  $10.00
Fees (0.02% × 2 sides):        0.04% × $1,000     =  $0.40
Net profit per round trip:                             $9.60

Ten oscillations across the range in a day would generate roughly $96. Whether price was net-flat, slightly up, or slightly down over that period is largely irrelevant — the bot earned on the movement itself.

Spot vs perpetual futures

The example above uses no leverage and could run on a spot market. Running the same grid on perpetual futures introduces three additional dimensions. First, leverage: you control larger notional with less capital, which amplifies both gains and losses — and introduces liquidation risk if price moves sharply against your open positions. Second, funding rates: periodically (often every 8 hours), a small payment changes hands between longs and shorts based on market conditions; this can drain capital steadily if you're on the wrong side. Third, the capital isn't actually purchasing the asset, so there's no "owning BTC" safety net if price recovers — just a contract position.

Why sideways markets suit it

A grid bot's edge is oscillation frequency. In a trending market, price moves through the range in one direction and stalls at the boundary. The bot fills all its orders on the way through and ends up fully long (in a rising market) or fully short, sitting idle with no opposite orders left to complete round trips. It holds an open position instead of cycling through trades.

In a sideways or mean-reverting market, price repeatedly crosses the same grid levels, completing round trips continuously. This is why grid bots are often described as volatility-harvesting strategies — they convert price noise into realised profit.

The ideal regime is one where price oscillates within a band, IV is moderate to high, and the market has no strong directional bias. A market trending hard in either direction is the worst case. The catch: most markets look sideways right up until they break out. Ranges that seem obvious in hindsight were not obvious in real time.

Arithmetic vs geometric spacing

Grid levels can be spaced in two ways. Arithmetic spacing places levels at equal dollar intervals — $1,000 apart across the whole range. Each grid level captures the same dollar profit per round trip regardless of where price sits. Geometric spacing places levels at equal percentage intervals. Lower price levels are closer together in dollar terms, higher levels are further apart, meaning each round trip captures a consistent percentage return regardless of price.

For most setups on assets like BTC or ETH, the practical difference is small within a 10–20% range. Geometric spacing becomes more meaningful over very wide ranges or for assets with large price swings.

What can go wrong

Three risks are worth understanding before deploying capital.

Range breakout. If price exits the grid range and doesn't return, the bot stops trading. It holds a one-sided position — long at the bottom of the range, short at the top — and accumulates unrealised losses as price moves further away. This is the primary risk for grid bots.

Funding rate drag. On perpetual futures, open positions pay or receive funding every few hours. A long grid bot in a market with persistently positive funding bleeds capital continuously. At 0.03% per 8 hours, that compounds to roughly 33% annually — enough to erase grid income entirely in the wrong setup.

Fee drag on tight grids. If the grid spacing is narrower than twice the maker fee as a percentage of price, each round trip costs more in fees than it earns. More grids is not always better.

Warning: a grid bot with a range that's too narrow, too many levels, or deployed into a trending market will lose money reliably. The simulator exists to test configurations before they cost you anything.
Try it in the simulator

Set up the example above — $10,000 capital, $95,000–$105,000 range, 10 grids — and run a Monte Carlo simulation to see the spread of outcomes across different price paths.

Launch the simulator →