Strategy

What to Do When a Grid Bot Goes Outside Its Range

Plan for a grid breakout on either side. Review remaining inventory and compare pausing, closing and resetting the range.

2026-11-27 3 min readBy DCA Bot Research
A glass sphere outside the marked end of a channel

When price crosses the configured grid, first identify what is still held. A falling market can leave the bot holding the volatile asset after completing several buys. A rising market can leave the bot mostly in its quote asset after sales. Both are valid consequences of a rule, and they require different decisions.

Separate price from inventory

Open the current configuration and mark its lower and upper bounds. Compare them to your current quote. Then read the remaining quote balance, volatile asset balance, acquisition spend and any pending sell. Write these down before moving or resetting any levels.

What happenedWhat to examine first
Price fell through the bottomAcquired inventory, remaining reserve and the condition that stops adding legs
Price rose through the topResidual inventory, unfinished sells and how the bot restarts
Price crossed the range during an outstanding orderReceipt and balance before any retry
Price returned but no execution resumedStrategy active status, gas, balance and the next eligible level

A bot called “buy-the-dip grid” may implement buys and an aggregate take-profit instead of placing a matched order at every line. Confirm the rules of your own grid. The diagram or the term “grid” is not enough to infer what the executor will do next.

Compare pausing, closing and recentering

Pausing normally stops future automation. Look for the current balances afterward because stopping a strategy is not itself a sale. Closing an existing position realizes the outcome at the price and costs you can obtain now. Recentered levels imply a new policy starting from an existing balance, which can differ from the empty position assumed by a preview.

For a simple scenario, imagine the bot spent 240 USDC and now holds units worth 190 USDC. That leaves roughly 50 USDC of unrealized loss before liquidation fees. Starting new buys around today's quote will change the future exposure. It cannot reset the amount already spent. Compare that action with holding and pausing before deciding whether you want additional exposure.

Define the restart condition before the next run

Decide whether your grid may restart on a return to range, after a completed take-profit or only by manual action. Check if the bot tracks the old cost and accumulated inventory across a restart. A practical note records the level, remaining balance, the trigger and the reason for restarting. If the position cannot be reconciled, read the order receipts and verify them before setting more levels.

Use grid P&L reconciliation to calculate what is still open. To see the controls without sending funds, start from the demo page and select a strategy that represents the behavior you want to inspect.

Ready to automate your crypto trading?

Set up DCA, grid, or limit-order strategies on Uniswap V3 for Arbitrum and Base — from your own Safe, with a free demo to start.

Back to Blog