Skip to content

How grid trading works ​

A Grid bot is a strategy for trading inside a price range. You set the lower and the upper bound, the bot spreads orders evenly between them and trades on its own: when the price falls it buys, when the price rises it sells. The profit comes from the difference between the buy and the sell at each level.

What it is ​

A grid is a set of price levels between the bounds. At every level the bot keeps one limit order. The interval between two neighbouring levels is also called a grid: “20 grids” are 20 intervals and 21 price levels, because both bounds are levels too. For a Long grid it looks like this:

  1. The bot places buy orders at the levels below the current price (and at the level equal to it). The levels above the price stay empty for now — that is not a lost half of the grid.
  2. The price falls and fills the buy at a level — the bot immediately places a sell order one level higher.
  3. The price comes back and fills the sell — the level cycle is closed, the profit is locked in, and a buy order appears again at the freed level.

The more the price swings inside the range, the more such cycles there are. The grid does not guess the market direction — it needs a sideways market.

Directions ​

DirectionWhat the bot doesWhere available
🟢 LongBuy grid; profit when the price rises inside the rangeSpot and Futures
🔴 ShortSell grid; profit when the price falls inside the rangeFutures only
↔️ NeutralBuys below the price and sells above it; profit from any swingFutures only

On spot you cannot sell a coin you do not own, so only Long works there. For beginners Neutral with a wide range is a good start, for example BTCUSDT, a range of ±10 % from the current price, 20 grids — the creation wizard in the app fills in exactly these ±10 % and 20 grids when you pick a pair.

The step between levels can be equal in money (Arithmetic) or in percent (Geometric) — see Arithmetic and Geometric modes.

Where it is in the bot ​

🏠 Home → 🤖 Bots → ➕ Grid bot — the creation wizard opens in the Sync app: a form with a chart and a preview. The wizard is described in Creating a Grid bot step by step.

The bot no longer has separate Grid introduction screens: the empty Grid bot list and the creation page in the app have the link “What a Grid bot is and its risks” — it leads to this article.

Example with a calculation ​

A Long grid on BTCUSDT (spot):

ParameterValue
Range60,000 — 66,000 USDT
Grids10 (price levels: 11 — 60,000, 60,600 … 66,000)
Amount per level10 USDT
Total in the grid10 × 10 = 100 USDT
Grid step600 USDT, that is 1 % of the lower bound

One level cycle: the bot bought coins for 10 USDT at 60,000 and then sold them at 60,600. The difference is 1 % of 10 USDT, that is 0.10 USDT before fees. The exchange charges a fee on both orders — on the buy and on the sell; the rate depends on the exchange and your fee level there. That is why the wizard preview shows the “Profit per level cycle” line — an estimate for your own keys; it is cautious — the fee is counted at the taker rate. The profit in notifications and Realized P&L on the card are also after the entry and exit fees, but at the maker rate: grid orders are limit orders, so the actual profit is usually a little higher than this estimate.

If the price travelled the same step up and down ten times during a day, that is ten cycles and about 1 USDT of profit on 100 USDT in the grid. If the price leaves the range, there are no new cycles, and the coins that were bought stay in the position.

Before creating the bot it checks the balance: you need roughly the amount per level × the number of grids with a 10 % buffer — about 110 USDT here.

Risks ​

  • The price leaves the range — beyond the bounds the bot stops trading (see Protections).
  • Trend — in a strong trend one side of the grid fills completely: every level is bought and there are no sells.
  • Funding — on futures you pay a fee for holding the position.
  • Liquidation — on futures use moderate leverage.

The bot recommends choosing coins that move sideways and a wide range.