GuidesGrid Bot

Grid strategy

Grid Bot

Capture price swings between two bands with automated buy and sell orders that profit from volatility, without predicting direction.

Range trading 4 min read

How it works

Every fill places the opposite order

Buy orderSell orderLive price

When price falls into a buy, it fills, and the bot immediately places a sell one level above. When price climbs into that sell, it fills for profit and a buy is placed back below. The grid keeps flipping orders around the market, capturing a spread on every swing.

Watch

Grid bot explained in 90 seconds

  1. Pick a range: a coin at $100, from $90 to $110.
  2. Grid count and order size: how many orders, and how much each one is.
  3. One trade, start to finish: a buy fills at $98, the bot places a sell one level up at $100, the bounce fills it.
  4. The catch: in a strong downtrend the grid keeps buying all the way down.
Watch on YouTube

Setup

Configuration checklist

Price band

Set Lower Price and Upper Price to define the trade range that the grid will patrol.

Grid density

Grid count controls how many limit orders sit between the band edges; more levels tighten spacing.

Order exposure

Order size defines the quote value per level so you can size risk per fill without guessing position size.

Range exit

When price leaves range decides what happens at the band edges: wait for price to come back, or close the position and stop straight away.

Direction

Choosing long, neutral, or short

Neutral

Starts with no inventory: buys rest below the price, sells rest above it. Best when you expect price to stay inside the band, and net exposure stays close to flat as fills alternate.

Long

Seeds an initial long large enough to back every sell order the grid will place above the price. Choose it when you expect price to rise and leave through the top of your band.

  • As price climbs, the resting sells fill and wind the position back toward flat.
  • You keep the captured grid spreads plus the gain on the starter position, bought lower when the bot launched.
  • If you already hold a short, the bot clears it first, then primes the long.

Short

The mirror image: seeds an initial short to back every buy order below the price. Choose it when you expect price to fall and leave through the bottom of your band, winding down toward flat with profit.

Range exit

When price leaves the range

Wait up to 7 days (default)

The bot keeps its orders and waits for price to come back, holding the position it built on the way out. If price stays outside the range for 7 days, it cancels its orders and stops, and the position stays open for you to manage.

  • Price coming back inside the range resets the 7 days.

Close and stop

The bot cancels its orders, closes the position with a market order, and stops as soon as price leaves the range.

  • It closes the account's whole position on that market, including anything held before the bot started.

Starting outside the range

A bot started with price outside its range waits up to 30 days for price to reach it, then cancels its orders and stops. Set to Close and stop, it closes the position first.

  • A long grid priced above the market, or a short grid priced below it, opens its full position at market when it starts.

Worked example

Example grid setup

PairETH-USD
Market price$3,000
Lower Price$2,900
Upper Price$3,200
Number of grids10
Order size$120 / level
DirectionNeutral
When price leaves rangeWait up to 7 days

Example values for a market trading near $3,000.

Walkthrough

Step-by-step creation flow

  1. Choose the Market you want to run the bot on.
  2. Define the lower / upper bounds and how many levels (Grid count) you want inside them.
  3. Set Order size to match how much quote currency you are willing to commit per level.
  4. Choose Direction: Long keeps you net long, Short keeps you net short.
  5. Choose When price leaves range: Wait up to 7 days for price to come back, or Close and stop as soon as it leaves.
  6. Review capital requirements and deploy once the layout feels balanced for the prevailing regime.

Risks & safety notes

Before you deploy

  • Price can leave your range and stay out. Set to Wait up to 7 days, a bot that stops leaves its position open, and that position still carries market risk until you close it.
  • Running multiple bots on the same market can cause order conflicts and unpredictable behavior.
  • Exceeding your exchange open-order limits may prevent the bot from placing required grid orders.
  • Open positions may incur funding payments over time.

Limits & capital

Order limits & capital

Every exchange caps how many open orders an account can maintain, usually scaling that cap with your account equity. Coinner mirrors each venue's limit across all running bots on that account, so adding equity unlocks denser grids and more concurrent bots.

Equity floor

Coinner asks for a minimum account balance before a grid can run, so every level has margin behind it.

Per-exchange caps

Each exchange limits how many open orders an account can hold, and those caps usually scale with your equity. Denser grids need more headroom.

Shared budget

All bots running on the same account draw from that account's order-limit budget, so plan capacity before adding more grids.

Keep enough free equity to cover every level you configure. If a grid would exceed your exchange's order limit, reduce the grid count or add equity before deploying.

Ready to run a Grid Bot?

Set your band, pick your density, and let it patrol the range 24/7.