Most grid bots ask you to type in a price range and a number of grids, and the range you pick decides most of the result. The AvalonQuant grid kit works differently: it sets its range from recent prices and moves it as the market moves. This guide explains its four settings, what changing each one does, and the conditions where a grid earns or loses.
The general mechanics of grid trading (profit per grid, fee drag, inventory risk) are in our explainer on how grid bots make and lose money. This guide is about the kit’s own settings.
How the kit’s grid decides what to hold
- It takes the average closing price of the last Range lookback days (20 by default). That’s the middle of the range.
- The range spans Range width % around that middle: 7.5% wide for Crypto Grid, so about 3.75% below and 3.75% above the average.
- The range is cut into Grid count levels (24). The lower today’s price sits in the range, the more of the coin the strategy holds; at or below the bottom it’s fully invested, at or above the top it holds none.
- The Trend filter overrides all of that: if price is below its own 200-day average, Crypto Grid holds cash.
So the grid buys dips inside the recent range and sells rallies, and the trend filter keeps it out of long falls. Because the strategies run on daily bars, each places at most one order a day.
The four settings
| Setting | Default (spot / futures) | Raise it and… | Lower it and… |
|---|---|---|---|
| Grid count | 24 / 24 | Smaller steps, more frequent small rebalances, more fees | Bigger, rarer steps |
| Range width % | 7.5 / 20 | Reacts to bigger swings only; stays partly invested longer | Swings between all-in and all-out on small moves |
| Range lookback (bars) | 20 / 20 | The range’s middle moves slowly | The range follows price closely |
| Trend filter (bars) | 200 / 50 | Slower to step aside in a fall, slower to come back | Faster both ways, more false exits. 0 turns it off |
The defaults are the values the published backtest used. Change them and that backtest no longer describes what you’re running. If you experiment, do it in Paper mode and keep notes; Reset to default puts them back.
The futures grid
Crypto Grid (Futures) uses the same range above its 50-day average. Below the average it doesn’t sit in cash: with Short below trend on, it runs a mirrored grid that is short, more so the higher price sits in its range, and holds nothing in the lower half. It never shorts in an uptrend or goes long in a downtrend. You also choose leverage and margin mode; isolated is recommended.
When a grid earns
- Price swings back and forth within a band over weeks. Each dip is bought and each rally sold.
- Swings are large compared with fees. If a typical move is only a little bigger than the round-trip cost, the grid works for the exchange.
When a grid loses
- A steady fall above the trend filter. The range follows price down and the grid keeps buying until the price drops under its long average. That lag is the main cost of the strategy.
- A strong rally. The grid sells into the rise and ends up holding little of the coin, so it trails buy-and-hold.
- Whipsaws around the trend average. Price crosses the 200-day line back and forth, and the strategy moves in and out at poor prices.
Our explainer on momentum vs grid bots shows which regimes suit each. Before changing settings, watch how the defaults behave on Paper: our paper-trading checklist covers what to record.
Educational material. Test with small amounts first. We are not liable for losses or software errors.
📊 A new strategy backtested every day — the numbers, the drawdown, and what breaks it.
▶ Subscribe to Avalon Quant⚠️ Not financial advice. This guide is for educational purposes only; trading can lose money, and past results do not guarantee future ones.


