Skip to content

Leverage and margin on futures ​

On Bybit Futures a Grid bot has two settings that do not exist on spot: leverage and margin type. The first one defines how much of your own money is frozen for the grid, the second one defines which funds the exchange takes as collateral if the price moves against the position.

What it is ​

  • Leverage from 1 to 20 (or up to the account leverage limit if support set one). The amount per level is the order volume in the pair coin (USDT or USDC); the leverage reduces the margin the exchange locks for that volume. The higher the leverage, the closer the liquidation price.
  • CROSS (shared margin) — the whole account balance serves as collateral. A Grid has no hard SL, so if the price moves far outside the range, the position may liquidate the whole account.
  • ISOLATED (per-position) — only the bot deposit is used. This is safer for a grid strategy, especially with a narrow range.

By default a bot is created with x1 leverage and CROSS margin. On spot the leverage is always x1 and there are no leverage and margin fields.

Where it is in the bot ​

🏠 Home → 🤖 Bots → ➕ Grid bot — in the wizard in the Sync app, the Leverage field (quick buttons x1, x2, x3, x5, x10) and Margin type in the More options block (Cross / Isolated). Both parameters are chosen at creation: they are not among the editing buttons of a running bot. In the bot card they are shown as the line “⚡ Leverage: 2x | CROSS”.

How to set it up ​

  1. Leverage: tap a quick button x1 / x2 / x3 / x5 / x10 or enter an integer from 1 to 20, for example 2. Higher leverage tightens the range requirements: if price leaves the range, the position may be liquidated — x1—x3 is recommended for beginners, x5+ only with experience.
  2. Margin type in More options: Cross (shared margin) or Isolated (per position).
  3. Look at the preview. With leverage above 1 it gains the line “Liquidation (estimate)” — an estimate: the actual price depends on the account balance and other positions. With Cross and no Stop-Loss a liquidation would affect the whole account.
  4. Ready-made combinations of leverage and margin are described in profiles: Conservative — x1 ISOLATED, Balanced — x2 CROSS, Aggressive — x5 CROSS.

When leverage and margin are set on the exchange ​

Before every grid start — right after creation, when the launch price triggers, on 🎯 Activate now, after recreating the grid and on ▶️ Resume — the bot sets the bot leverage for this pair and the chosen margin type on the exchange. If the exchange rejects the leverage (it is above the pair maximum, there are not enough funds for margin, or an open position on the pair is in the way), the grid does not start and the bot sends “⚠️ Grid created, but did not start” (or “Grid not resumed”, “Grid not activated”, “Trigger fired, but the Grid did not start”) with the reason: “the exchange did not accept the bot leverage for this pair…”. The Grid leverage is set only when the bot is created and cannot be changed later. If funds were short or a position was in the way, top up the account or close the position on this pair and start again; if the leverage is above the pair maximum, this bot will not start — stop it and create a Grid with lower leverage.

When the grid is recreated, the bot checks the leverage against the pair maximum in advance: if it is higher, the recreate does not start — the grid, orders and parameters stay as they were, and the message about the failed edit says that the leverage is above the pair maximum. If the exchange refused only when the new grid was starting, the bot stays paused without a grid — the message “the new grid did not start…” tells what to do.

On the Bybit unified trading account the margin mode is shared by the whole account. If the account already has open positions or orders in a different mode, the mode cannot be switched. The grid still starts — in the mode the account uses now — and the bot sends a warning: “Error: the ISOLATED margin mode was not set: the exchange account has open positions or orders in a different mode…”. Keep in mind that in CROSS mode the whole account balance is the collateral. For the bot to work in the chosen mode, close those positions and orders and recreate the grid (✏️ Edit in the bot card → Recreate grid in the app): on the new start the bot sets the mode again. If the exchange simply did not answer, the start also goes on with the account's current mode.

If signal bots with a different margin mode work on the same Bybit account — on this account or on another of your accounts on it with other keys — the Grid does not switch the account mode: otherwise their trades would break. The grid starts in the account's current mode, and the bot sends a warning “Error: the ISOLATED margin mode was not set: this exchange account also has signal bots with a different margin mode…”. For the Grid to work in its own mode, choose the same mode in the settings of the signal bots on this account and recreate the grid in the app, or run the Grid on another exchange account (subaccount).

On BingX futures it works differently: the margin mode is set for each pair, and a grid works only with Isolated margin. More in BingX specifics, the “Grid and DCA on BingX” section.

Example with a calculation ​

A Long grid 60,000 — 66,000, 20 grids of 6 USDT: “Total: 120 USDT”. The bot counts the required balance as the total ÷ leverage + a 10 % buffer.

LeverageMargin for the gridRequired balance
x1120 USDT120 × 1.1 = 132 USDT
x260 USDT60 × 1.1 = 66 USDT
x524 USDT24 × 1.1 = 26.4 USDT
x1012 USDT12 × 1.1 = 13.2 USDT

The volume of the grid is the same in every row — 120 USDT, only the frozen margin changes. The flip side: the smaller the margin, the closer the liquidation price is to the range. The wizard shows its estimate in the preview as the line “Liquidation (estimate)”, and the exact figure comes from the exchange in the positions section; once the position is open, the bot card shows the same figure as the line “Liquidation (exchange)”, if the exchange gives it. If the estimated liquidation turns out to be close to the lower bound of the grid, lower the leverage or widen the range. At the liquidation itself the bot does not close the position, as in Pionex: when less than 15 % is left to it, a warning comes, and 0.5 % before it the safety stop fires (if there is no Stop-Loss of yours on the entire position — the bot does not replace it).

Limits and allowed values ​

ParameterRangeNote
Leverage1–20, integerFutures only; x1 by default
Margin typeCROSS / ISOLATEDFutures only; CROSS by default
Balance buffer+10 %on top of the grid total divided by the leverage
Margin overloadmaintenance margin ≥ 80 % of the account equity (cross margin only)the bot closes itself, see Protections
Closeness to liquidationless than 15 % to the liquidation pricea warning only, the bot keeps working (as in Pionex)

Common mistakes and what the bot says ​

  • “Allowed: 1 to 20” under Leverage — you entered 0, 25 or a fraction.
  • “Spot Grid works only with x1 leverage. Set leverage to 1 or use a LINEAR account.” — leverage above 1 on a spot bot.
  • Cross margin without a Stop-Loss: if the position goes deep into the negative, liquidation will affect the entire account, including balances of other bots — switch to Isolated or set a Stop-Loss.
  • “🔒 … Grid bot closed: account maintenance margin is 82 % of equity (at 100 % the exchange liquidates the account), the limit is 80 %. Orders cancelled, grid position closed at market” — a protection fired: the cross-margin account is close to liquidation; usually this is a sign of leverage that is too high or of losing positions of other bots and trades on the same account.
  • “There is no BTC/USDC perpetual futures contract on the exchange. Choose another pair…” — Bybit has no perpetual USDC contract for this coin; choose a USDT pair. Where the contract exists (for example, BTC/USDC — on the exchange it is called BTCPERP), the grid works the same way as on USDT pairs; the amounts on the card, in notifications and in the balance check of such a bot are in USDC.
  • “⚠️ Grid created, but did not start … the exchange did not accept the bot leverage for this pair…” — see the section “When leverage and margin are set on the exchange” above.
  • “Error: the ISOLATED margin mode was not set…” — this is a warning: the grid has started in the account's current mode; what to do is in the same section.
  • Funding: on futures you pay a fee for holding the position; in the card it is shown as the line “💸 Funding” and is refreshed every 30 minutes.