Skip to content

Editing a running bot and recreating the grid

A Grid bot does not have to be stopped to adjust the grid: the bounds, the density, the order size and the active window are changed on the fly, keeping the position and the statistics. A full recreate is a separate button with different consequences.

What it is

ButtonWhat it changesWhat is kept
📐 Change boundariesnarrows or widens the top and the bottom: widening adds levels, narrowing removes the levels outside the range and cancels their ordersthe position, the statistics
🔢 Change densitymore or fewer levels in the same rangethe position, the statistics, the bounds
💵 Change order sizea new size for the active buy orders and for all future onesthe levels with an open position are not changed
🎯 Change active windowhow many levels to keep on the exchange, see Active windowthe position
🔄 Recreate gridthe bounds, the level count and the order size from scratchnothing: the position is closed at market, the statistics are reset

The grid mode, the leverage, the margin, the Stop-Loss and the trigger cannot be edited after the creation — they need a new bot.

Where it is in the bot

Main menu → 🪜 Grid Bots → the bot. The editing buttons are visible in the statuses “Active”, “Paused” and “Soft paused”; in a hard pause they are absent (the orders are removed). In the status “Out of range (above)” or “Out of range (below)” only 🔄 Recreate grid is available; an Infinity Grid does not have this button.

How to set it up

Every edit follows the same pattern: a screen with the current values → the input → a confirmation with the calculation → ✅ Apply. The result arrives in the notification bot: “✅ Grid edit applied” with the lines “📐 Boundaries changed. Levels added: 5, removed: 0.”, “🔢 Density changed. Added: 4, removed: 0.”, “💵 Order size changed to $15. Orders amended: 5.”, and if there were problems — “⚠️ Skipped (below exchange min qty): 1.”, “⚠️ Partially filled and not changed: 1.”, “⛔ Failed: 0.”.

  1. 📐 Change boundaries → the new upper, then the lower boundary → “⬆️ Upper: 66000 → 69000 (widen)”, “➕ Levels to add: ≈ 5” → “✅ Boundary change accepted. New range: 60000 — 69000. The result will arrive as a separate notification.”
  2. 🔢 Change density → “✏️ Enter the new level count (2–200):” → “Levels: 11 → 15. Will be added: 4. Extra capital: ≈ $40” → “✅ Density increased. Levels added: 4.”
  3. 💵 Change order size → the new size in USDT → “Size per level: $10 → $15. Active orders to amend: 5. Capital change: ≈ $55” → “✅ Order size changed. New size per level: $15.”
  4. 🔄 Recreate grid → the upper and the lower boundary, the level count (2–200), the order size → “⚠️ Warning: all cycles and level stats will be reset. Open position will be closed at market before recreate.” → “✅ Grid recreate started. New parameters will apply in the background; wait for notification.” → “✅ Grid recreated. Pair: BTCUSDT. Range: 58000 — 64000. Levels: 13. Order size: 10 USDT”. The levels are built from the current price, Realized P&L and the Fills counters are reset.

Example with a calculation

A Long grid 60,000 — 66,000, 11 levels of 10 USDT (step 600). The price grows and you widen the top to 69,000: “➕ Levels to add: ≈ 5” — 66,600, 67,200, 67,800, 68,400, 69,000. They need another 5 × 10 = 50 USDT; the position and Realized P&L are untouched. A recreate with the same range would give a different result: the position sold at market, Realized P&L started from zero.

Limits and allowed values

EditLimit
Boundariesthe top is greater than the bottom; at least 2 levels remain; levels with a position cannot be removed
Density2–200; thinning out works with 3 levels and more; levels with a position or with a sell order are not removed
Order sizenot below the exchange minimum; partially filled orders are not changed
Recreatenot available for an Infinity Grid; if the position could not be closed — a hard pause with the old levels

Common mistakes and what the bot says

  • “⛔ Some levels to remove hold an open position (BOUGHT). Change blocked — wait for the sell or close the position first.” — the narrowing touches a bought level.
  • “⛔ Fewer than 2 levels would remain after the change. Choose a wider range.”
  • “⛔ Some levels to remove have a sell order (open-position exit). Removing them would leave the position without take-profit. Decrease is blocked.”
  • “⛔ Exceeds the 200-level limit (exchange cap).”, “⛔ Too few levels to thin out. Choose a higher count.”, “⛔ No room for new levels — they collapse onto the price tick. Choose a lower count.”
  • “⛔ Size is below the exchange minimum notional. Increase the amount.”; “⚠️ Partially filled orders: 1 — their size will NOT change (already partially executed). The new size applies only to future orders on these levels.”
  • “⚠️ Failed to recreate Grid. Pair: BTCUSDT. Reason: … Open the bot card and check its state.” — the position did not close; the bot is in a hard pause with the old levels.
  • “⛔ Infinity Grid cannot be recreated this way — use partial edit or create a new bot.”