Closing a grid
A grid can end in three ways. All of them cancel the grid's remaining orders, record a final result in your history, and stop the strategy. The difference is what triggers the close and what happens to any open position.
The three ways a grid closes
| Trigger | Who starts it | Typical use |
|---|---|---|
| Manual close | You, from the panel | You've decided to stop — taken enough, or conditions changed. |
| Stop-loss | GRIDer, automatically | Price hit your stop‑loss; cut a losing breakout. |
| Close Grid Price | GRIDer, automatically | Price hit your target; lock in a result. |
What happens to your position
When a grid closes, it may still hold a position (it rarely ends perfectly flat).
- Stop-loss and Close Grid Price close the position at market as part of the trigger.
- Manual close lets you choose: close the position at market too, or just stop the grid and keep the position to manage yourself on the exchange.
Closing at market is done carefully
Any market close goes through GRIDer's robust close routine: it reads your real position, prices off the live mid, and retries with escalating slippage (3% → 6% → 10%) until you're flat — up to three attempts. If a residue remains on an illiquid token, GRIDer flags it and alerts you to finish manually rather than reporting a clean close that didn't happen. See Risk and range breakouts.
The final PNL that gets recorded
Whatever the trigger, GRIDer saves a record to your grid history with a consistent result:
PNL = (position PnL, unless closed at market) + closed PnL − fees + funding
- If the position was closed at market, its value is realized into the closed‑trade total, so it isn't double‑counted.
- Funding over the life of the grid is always included, pulled live from the exchange.
- This is the same number you watched in the panel — the live figure and the recorded figure match by design. See Fees and funding.
The record also stores the close reason (manual, stop-loss, close-grid-price, or a ‑residual variant if the close was incomplete), the range, leverage and volume — so your history is auditable.
Spot: your pre‑existing balance is safe
If you started a spot grid while already holding the token, closing the grid never sells that pre‑existing balance. GRIDer only unwinds the portion the grid itself bought. See Spot vs perpetual grids.
After closing
The grid stops, its orders are cancelled, and it moves to your history. To trade the same token again with different settings, just create a new grid. See Create a grid.
Next: review results in Profile & history.