BlogLog in Sign up free
← All guides
Grid

How to create a crypto grid bot, step by step

2026-11-01 · 9 min read

A grid bot is easy to run and easy to set up badly. This guide goes through the whole grid bot form in the order you meet it, says what each box does, and points to the deeper guides when a setting deserves more than a paragraph. If you have never used a grid bot, read Grid bots explained first, then come back.

1. Marketexchange, pair 2. Grid typelong, neutral... 3. Rangelow, high, density 4. Moneyinvestment, start 5. Exit rulesstops, protection 6. Check fundsrequired vs available 7. Backtestthen Optimize 8. StartDemo first
The order of the grid bot form. Work top to bottom and the form tells you what is still missing.

Step 0: check which account you are on

The Demo / Real badge in the header decides what the new bot will be. A coloured bar at the top of the form repeats it: Demo means the bot is simulated and no order reaches the exchange, Real means real orders with real funds. A Real grid also asks for a confirmation when you press Start and needs a mainnet API key for that exchange and market. If you are new, stay on Demo. The path from simulation to live is in Demo vs Real.

Step 1: exchange, market and pair

Once a pair is chosen the chart on the left loads candles and draws your ladder on top of them.

Step 2: grid type and step mode

The grid type decides what the bot does above the current price: Long, Neutral, Short or Hedge. Short and Hedge need a futures key, and the buttons stay disabled until the form knows you have one. Which type fits which market is covered in Long, Neutral, Short and Hedge grids.

The step mode is Geometric (every step is the same percentage) or Arithmetic (every step is the same distance in price). Geometric suits wide ranges. More in how to choose range and density.

Step 3: investment and amount per trade

Investment is the money the bot works with. On futures with leverage it is the margin you lock. Amount per trade is how much each single order buys or sells, and it is tied to the investment: change one and the other follows. A unit chooser next to it lets you count the amount in the quote currency or in the coin.

If the investment is too small for the number of grids, the box turns red and the form tells you the minimum for that many grids. Either raise the money or use fewer grids.

Max slippage is optional. A neutral or long grid may have to buy coin at market when it starts. With the switch on you set the most that purchase may cost compared with the price the ladder was priced at, from 0.0001% to 5%, and the form estimates the cost from the live order book. If the real slippage would be higher, Start is refused and nothing is bought.

Step 4: bot start condition

This decides when the ladder goes on the book:

A neutral grid has no indicator option. The backtest below ignores the start condition and prices the grid from the first candle.

Step 5: grid size

Interval keeps the grid between your Low and High price. Infinite has no High price and follows the price upward. Infinity is a different idea that holds coin and sells the part that grew. All three are explained in Interval, Infinite and Infinity grids.

Step 6: range and density

A line below the boxes tells you how many levels and grids you have and what one round trip nets after fees. If that number is close to zero, the grid is too dense.

Step 7: exit rules

Everything under Exit is optional, and it is where most of the risk control lives: upper and lower stop, take profit, stop loss, trailing stop, pump protection and exits that close a single position. Read Grid bot stop loss, take profit and protection before you run a real grid with none of them.

Under Options you pick the profit currency (quote, or the coin itself on a geometric grid) and a name of up to 40 characters.

Step 8: check the funds

The summary above the Start button shows Required (what the rungs of the ladder cost), the entry fee on its own line, and Available (your free balance). Under it come the value in buy orders, the value in sell orders or short orders, and how many orders will rest. If the balance is lower than what Start will charge, the form says by how much you are short. All of these figures come from the server, the same ones Start uses, so the form never promises a number the server then refuses.

Step 9: backtest before you start

The Backtest button replays the grid on past prices and streams the progress day by day. You can choose the period (7 days to 3 months), the candle size and how each candle is replayed. Read how to interpret the result in range and density. A backtest is a replay of the past, not a forecast.

Step 10: Start, watch, edit

Press Start. A Demo grid is simulated. A Real grid asks for confirmation first. The bot appears in the list on the GRID Bot page, and each bot has its own History & Live page with its orders, positions, result and ROI.

After Start, the range, the number of grids, the step mode, the grid type and the investment are fixed, because changing any of them would rebuild the ladder, cancel every resting order and buy again. Safety prices, exits, caps and the name can still be edited while the bot runs. To change the ladder itself, stop the bot and create a new one, or use Copy to start a new form pre-filled from the old one.

A sensible first run

  1. Stay on Demo and pick a liquid pair.
  2. Choose a range the market has actually traded in, using the chart.
  3. Let Optimize suggest a density, then check that one trip nets clearly more than zero after fees.
  4. Set at least a lower stop price.
  5. Backtest, then run in Demo for a week or two.
  6. Only then copy it to Real with an amount you can afford to lose.

Cryptocurrency trading carries a high level of risk. Nothing in this guide is financial advice. See the Grid bot page for a summary of the features.

Try it in Demo mode
Build this kind of bot with simulated funds first. No real money involved.
Create free account

More guides

Grid

Long, Neutral, Short and Hedge grid bots: which one to use

Grid

Grid bot range and density: how to choose them, with fees and backtest

Grid

Grid bot stop loss, take profit, trailing and pump protection explained