BLACK FRIDAY IS BACKNov 24 to 30. Join the list and get in a day early.Join the list

Bybit TP/SL mode: Full, Partial and limit exits

Autoview · Guide · Updated November 13, 2026

On Bybit perpetuals, a stop loss and a take profit ride on the entry order itself. Bybit attaches them in one of two modes. In Full mode they cover the whole position and close it with a market order. In Partial mode they cover only the quantity that order filled, and they can close with a limit order. Autoview picks the mode from two things in your alert: mode=, and whether you gave the exit a limit price with slx= or tpx=.

This page comes from the Autoview integrations code that runs on our servers today, plus Bybit's API documentation for creating orders. We read the code; we did not send these orders live for this guide.

What Autoview sends

Your alert hasMode sent to BybitHow the exit fills
sl= or tp=, no mode=None, so Bybit uses FullMarket, for the whole position
mode=partialPartialMarket, for the quantity this order filled
mode=full or any other valueFullMarket, for the whole position
slx= / fslx= on the stop, or tpx= / ftpx= on the targetPartialLimit at that price, for the quantity this order filled

mode= only does something when the line also has a stop loss or a take profit. On its own it sends nothing. Case does not matter: mode=Partial reads the same as mode=partial.

Limit exits with slx= and tpx=

Bybit's stop loss and take profit fire as market orders by default. To have one rest as a limit order once it triggers, give it a limit price. sl= or fsl= still sets where the stop triggers. fslx= sets the limit price the exit order then sits at. The target works the same way with tp= / ftp= and ftpx=.

e=BYBIT s=BTCUSDT b=buy t=limit fp=100000 q=0.001 fsl=95000 fslx=94800 d=1

That is a limit buy at 100000 with a stop that triggers at 95000 and then places a limit sell at 94800. Bybit requires Partial mode for any limit exit, so Autoview sends Partial for you. Because Partial has no size of its own, Bybit sizes the exit to what this order filled, not to the whole position.

The relative forms slx= and tpx= are measured from the same starting point as sl= and tp= on Bybit: the current bid or ask, or price= when you send one. They are not measured from the stop price, and not from fp=. If you want the limit a set distance past the trigger, the fixed forms fslx= and ftpx= are easier to check.

The mix Bybit refuses

Autoview handles the stop first and the target second, and the target has the last word on the mode. That leaves one combination that goes wrong:

  • The stop has a limit price (fslx= or slx=), so Autoview sets Partial.
  • The target has no limit price, and the line has mode=full (or any value except partial).
  • The target step then sets the mode to Full, while the stop is still a limit exit.

Bybit's documentation says Full mode only takes market exits, so expect Bybit to refuse that order. The fix is simple: when either exit has a limit price, leave mode= out or write mode=partial. The reverse case is fine. A limit target with a plain market stop ends up Partial, because the target sets it last.

Which Bybit connections read this

  • Bybit (e=BYBIT) and Bybit Testnet. Both read mode=, slx= and tpx= as described here. Testnet is the safe place to try a new combination.
  • Bybit Copy Trading (e=BYBITCOPY). It sends the stop loss and take profit prices only. mode=, slx= and tpx= are ignored, so its exits are the plain market kind.
  • Bybit Spot. It runs the same code, but Bybit documents TP/SL mode for perpetuals and futures only. This page does not cover spot.

Stops on a position you already hold

A c=position line with sl= or tp= on Bybit does not close anything. It sets those levels on the open position instead (see edit open orders by exchange). That step does not read mode=. It still reads slx= and tpx=, and a limit price there switches the position's stop or target to Partial with a limit exit, just as on an entry.

Test it once before you rely on it

Add d=1 and send the line. The log shows the order Autoview would send, including the mode and any limit prices. Check those before you go live. For which price the trigger watches (last, mark or index), see trigger price source by exchange. For stops and targets on other exchanges, see stop loss, take profit and trailing stop, and for every Bybit parameter, the Bybit command reference.

Open the Bybit command reference