Skip to content

Stop-Loss of a Grid bot

The Stop-Loss of a Grid bot is a price at which the bot cancels all orders, closes the position at market and finishes its work. It is optional, but on futures with CROSS margin the bot strongly recommends it.

What it is

From the bot screen: “Set the price below/above which the bot will be automatically stopped (orders cancelled, position closed at market). Optional — you can skip this step.”

What is special about the grid SL:

  • There is no conditional order on the exchange — the bot itself checks the price every 10 seconds and closes the position at market when it fires. Do not look for the stop in the order list on Bybit.
  • The check runs while the bot is paused as well.
  • On spot the trigger is counted by Last Price; on futures — by the chosen trigger type.
  • The SL must be outside the range: for Long and Neutral — strictly below the lower bound, for Short — strictly above the upper one. Otherwise it would fire right at the activation.

Apart from your SL, on futures the bot places a safety position stop every 60 seconds at 0.5 % before the liquidation price — it is visible in Bybit → Positions → TP/SL. That is a protection against liquidation, not your Stop-Loss.

Where it is in the bot

Main menu → 🪜 Grid Bots➕ Create Grid Bot → the confirmation screen → the button 🛑 Stop-Loss (on spot and on futures). The trigger type is the button ⚙️ SL trigger: Mark, on futures only. Both parameters are set at creation; they are not among the editing buttons of a running bot.

How to set it up

  1. Tap 🛑 Stop-Loss. The bot shows: “Enter a number (price in USDT). Example: 25000. To disable SL — send DELETE. Current value: disabled”.
  2. Send the price. The answer: “✅ Stop-Loss set: 58000 USDT”. To remove it — send DELETE: “✅ Stop-Loss disabled”.
  3. On futures you may change the trigger type: ⚙️ SL trigger: Mark → the screen “⚙️ Stop-Loss trigger price type”: “Mark Price (recommended) — protection from false triggers on wicks. Last Price — instant trigger. Index Price — spot price index from exchanges.” The buttons 📈 By Mark Price (rec.), ⚡ By Last Price, 📊 By Index Price. The answer: “✅ SL trigger type: Last”.

When it fires you get: “🛑 Grid Stop-Loss triggered! Symbol: BTCUSDT Current price: 57950 SL price: 58000 Trigger type: MARK Realized PnL: -2.40 USDT. Bot moved to CLOSED, orders cancelled, position closed at market.” The bot status becomes “Closed”.

Example with a calculation

A Long grid 60,000 — 66,000, 11 levels of 10 USDT, SL 58000 — 3.3 % below the lower bound.

The price falls: the bot buys on five levels, 60,000 … 62,400, the position holds 50 USDT at an average price of about 61,200. At 58,000 the SL fires and the position is sold at market. The loss on the position: (61,200 − 58,000) / 61,200 ≈ 5.2 % of 50 USDT ≈ 2.6 USDT before fees. If the grid had closed several cycles before that, their profit is already in Realized P&L and covers a part of the loss.

Without an SL the same 50 USDT would have stayed in the position: on spot — coins on the account, on futures — an open position with a growing loss and an approaching liquidation.

Limits and allowed values

ParameterValueNote
SL price, Long and Neutralstrictly below the lower bounda price equal to the bound is rejected
SL price, Shortstrictly above the upper boundthe same
Trigger typeMark / Last / Indexfutures only; Mark by default; spot — always Last
Check period10 secondsworks during a pause as well
Order on the exchangenot placedthe close is at market at the moment it fires

Common mistakes and what the bot says

  • “⚠️ For LONG/NEUTRAL Grid the SL price (61000) must be BELOW the lower bound of the range (60000). Otherwise SL would trigger immediately on activation.” — move the SL below 60,000; the value 60,000 will not be accepted either.
  • “⚠️ For SHORT Grid the SL price (65000) must be ABOVE the upper bound of the range (66000). Otherwise SL would trigger immediately on activation.”
  • “Invalid number. Enter a positive price” — letters or a comma in the price.
  • “⚠️ Warning: Cross margin without Stop-Loss…” in the summary — not an error but a reminder: with CROSS and no SL a liquidation affects the whole account. Set an SL or choose ISOLATED (see Leverage and margin).
  • There is no stop in the Bybit order list — that is how it should be, the bot keeps it itself.