How grid trading is calculated
- N grids means N+1 price lines between the lower and upper limits; each grid buys at the line below it and sells at the line above it.
- Arithmetic grid: price gap per grid = (upper − lower) ÷ number of grids. Geometric grid: rise per grid = (upper ÷ lower)^(1 ÷ number of grids) − 1.
- Profit rate per grid after fees = sell price ÷ buy price × (1 − fee) − (1 + fee). Each buy and each sell pays a fee, so the rise per grid must be more than twice the fee to make money.
- Each grid uses roughly capital ÷ number of grids. When the grid starts, the grids above the current price are bought at the current price first and sold as the price rises.
The biggest grid risk: the price leaving the range
A grid only makes money inside its range. If the price falls through the lower limit, the grid is fully bought, and any further drop means riding the loss with a full position; if the price rises above the upper limit, the grid has sold everything and you miss the rest of the rally. The “At the lower limit” and “At the upper limit” figures in the calculator are your P&L in those two cases, excluding grid profit. Before starting a grid, you should accept the worse of those two numbers and decide on your stop loss.
How the historical simulation works
A grid of the same width (the same upper and lower limits relative to the current price) is started 30, 90 or 180 days ago, and Binance 1-hour candles are replayed one by one to fill the orders, counting buy-low-sell-high round trips, grid profit and total account value, compared with simply holding over the same period. It answers “how would these parameters have done in recent markets”, and is not a prediction of the future.
Want to add a stop loss or change the range and backtest again?
The calculator only simulates a fixed-range grid. To add rules such as “stop out of everything 5% below the lower limit” or adjust the range automatically based on volatility, copy the prompt generated above into MetisAI to backtest. For how grid strategies work and which markets suit them, see Grid Trading Strategy; for how to choose parameters, see How to Set Grid Trading Parameters.
FAQ
Geometric or arithmetic grid: which should I choose?
An arithmetic grid has the same price gap per grid, so the profit rate per grid is higher at lower prices; a geometric grid has the same percentage rise per grid, so every grid has the same profit rate. The wider the range, the bigger the difference; for wide ranges or volatile coins, a geometric grid is usually more balanced.
Are more grids always better?
No. Denser grids fill more often but make a thinner profit per grid, and after paying fees on both the buy and the sell they may not make money at all; grids that are too sparse rarely fill. The calculator flags grids that lose money after fees.
Grid profit is positive, so why is my total return negative?
Grid profit only counts the completed “buy low, sell high” round trips. When the price falls, the grid keeps buying and the coins you hold lose value, and that holding loss can be bigger than the grid profit. Total return = grid profit + holding P&L.
How accurate is the historical simulation?
It uses 1-hour candles to approximate the price path within each candle, so the number of fills will differ from what really happened. It’s best for comparing different parameters against each other. Past markets do not represent the future, and this is not investment advice.
This page is only a parameter calculator and historical simulation tool and is not investment advice. In a one-way decline, a grid keeps buying and the loss keeps growing. Digital asset prices are extremely volatile; set a stop loss and only use money you can afford to lose.