DEV Community

Cover image for Stop Market vs Stop Limit: Why a Triggered Stop May Not Fill
AlgoRover
AlgoRover

Posted on Originally published at blog.algorover.ai on

Stop Market vs Stop Limit: Why a Triggered Stop May Not Fill

Risk Management

A triggered stop is not a completed exit. Compare execution prices, working limits and remaining positions, then check what the backtest assumed.

Your stop price was reached, yet the position is still open. Another stop sold successfully, but at a price noticeably below the number you entered. Both look like a stop failing to follow its settings, but they can be different problems.

A stop-market order submits a market order after triggering and may fill at a worse price. A stop-limit order accepts only its limit price or better after triggering, so it may not fill at all. The trigger starts the order process; it is not a promised execution price.

Stop market vs stop limit: what does each control?

Consider a sell stop protecting a spot holding. A stop-market order submits a market sell when its condition is met. A stop-limit order submits a limit sell. Triggering happens first; ordinary market or limit execution comes next.

What changes between the two sell stops
Decision Stop market Stop limit
Inputs Trigger price, quantity and trigger reference Trigger price, sell limit, quantity and trigger reference
After triggering Submit a market sell against available bids Submit a limit sell; accept the limit price or higher
During a fast drop Execution may occur at lower prices Bids below the limit cannot fill the order
Full execution Still depends on liquidity, protection limits and venue rules Also depends on eligible depth, queue priority and time in force

Bybit's order documentation separates the conditional trigger from subsequent execution. Names, trigger choices and protection rules vary by venue and market, so check the order you are actually using.

Stop-loss trigger price vs execution price: one order, two outcomes

Suppose you bought 1 BTC at 50,000 USDT and want to sell on a decline to 48,000. Both stops use a trigger of 48,000. The stop-limit version also sets a minimum sell price of 47,900.

After triggering, suppose the available bids are 0.4 BTC at 47,850 and 0.6 BTC at 47,800, with no bids at 47,900 or higher.

  • Stop market: if those bids remain available and no additional protection restricts execution, the order can sell into both levels. The average fill price is 47,820.
  • Stop limit: both bids are below the minimum of 47,900, so neither can fill it at that moment. A GTC order may remain working; an IOC order cancels its unfilled part under its time-in-force rules.
For the same assumed bids, a one-BTC stop-market sell fills at 47850 and 47800 with an average of 47820; a sell limit of 47900 is above every available bid and cannot fill.
An assumed 1 BTC sell. Both orders face the same book: 48,000 is the trigger, 47,900 the sell limit, and 47,820 the market order's weighted average fill.

Kraken's stop-loss-limit guide also distinguishes the two prices and explains the possibility of non-execution during a fast decline. A sell limit of 47,900 prevents accepting lower fills; it does not cap the loss on a position that remains open.

If price keeps falling to 47,400 without eligible bids, the limit order may still be unfilled. You still hold the BTC and remain exposed to subsequent moves.

How much does stop-loss slippage add?

Before fees, selling at 48,000 would lose 2,000 USDT. Selling at the assumed average of 47,820 loses 2,180. The additional 180 USDT is 0.375% of the trigger price.

The average is quantity-weighted: 0.4 × 47,850 plus 0.6 × 47,800, divided by 1 BTC, gives 47,820. The 180 USDT belongs to this assumed book; it is not a fixed cost of every stop.

Add actual fees separately. An actual fill price already reflects its execution deviation. Subtracting the same estimated slippage again would double-count that cost.

Why was my stop loss not triggered when the chart reached it?

Check whether the chart and the order are watching the same price. Derivatives venues can distinguish last traded price, mark price and index price. The available references depend on the venue and market.

Suppose a sell stop triggers when the mark reaches 48,000. The last trade prints 47,950 while the mark remains at 48,020. A last-price chart appears to cross the stop, but the configured trigger condition has not been met.

This is why mark price vs last price matters: the selected reference determines activation, while executable bids determine how a sell order fills. Triggering from the mark does not guarantee execution at the mark.

Also distinguish a program monitoring prices locally before submitting a sell from a conditional order already resting at the exchange. The former depends on the runtime and its data connection; for the latter, verify that the conditional order actually exists at the venue. A line drawn on a chart is insufficient evidence.

Triggered but not filled: follow the order's actual state

Use the same order identifier to connect the records, then investigate the stage it reached.

  1. Not triggered: check the reference price, trigger direction, condition and whether the stop remains active.
  2. Triggered, then rejected: read the rejection reason. Check balance or margin, minimum size, price restrictions and whether derivatives reduce-only instructions match the current position.
  3. Working limit: check the limit, eligible bids, queue and time in force. A last trade at your limit does not establish that your order filled.
  4. Partially filled: separate completed quantity, remaining order quantity and the remaining position.
  5. Local and exchange states disagree: reconcile venue orders, fills and positions before submitting another sell.

For the quantity side, see how to check positions and stop quantities after partial fills. If you close a position another way, also check whether an old protective order remains active, especially in derivatives.

Which stop order fits the constraint you actually want?

If the priority is to attempt an exit promptly after the condition, while accepting price deviation, stop market is closer to that objective. If you refuse to sell below a specific price and accept remaining invested, stop limit expresses that constraint.

Decide before placing the order. Widening the limit allows more bids to qualify but does not guarantee execution. There is no universally safe gap between the stop and limit prices for every asset and order size. Larger quantities need more eligible depth.

Market-order protection matters too: some venues restrict the acceptable execution range, leaving quantities beyond that range unexecuted. “Market” does not guarantee immediate liquidation of the entire holding under every condition.

How to account for stop execution losses in a backtest

A backtest that always sells the full position exactly at the stop can miss price gaps and insufficient depth. A stop-market model needs to consider worse execution. A stop-limit model also needs unfilled and partially filled paths, including the position held afterward.

A candle low of 47,400 does not prove that a stop triggered at 48,000 could sell at a limit of 47,900. It does not reveal queue priority, bid depth or order arrival time. Non-execution changes the later position, so subtracting a percentage from the original exit profit does not reproduce stop-limit behavior.

Compare ordinary execution, a gap through the limit and partial execution, then inspect how the strategy handles the remaining position. Our analysis of slippage and backtest profits covers overall cost; the extra question here is whether this stop completed the exit at all.

Frequently asked questions

Can the stop and limit prices be identical?

If the venue permits it, yes. Available bids may already be below that price during a rapid decline, so the sell can remain unfilled. Matching the prices does not turn a limit order into a market order.

Does a stop-limit order always pay maker fees?

No. A triggered limit that immediately trades against resting bids may pay taker fees. Resting and later filling may qualify as maker execution. Check actual fills and the venue's fee rules.

Does a stop-market order guarantee my maximum loss?

No. The trigger does not fix the fill price. Gaps, depth and execution protection can change the outcome, and position size matters too.

Should I submit another sell immediately after the stop triggers?

First inspect completed fills, the remaining order and the current position. A second order can oversell. If replacing the first order, confirm its final cancellation state as well.

Use AlgoRover Live to follow the stop through its fills

If you run strategies with AlgoRover Live, inspect this stop's orders, fills and position together: which reference activated it, which order followed, how much sold and what remains. Review the process in a supported exchange Demo environment before deciding whether to change the execution rules.

Next time a stop appears to fail, bring the order identifier and its records. Finding where the process stopped is more useful than immediately replacing it with a more distant price.

Top comments (0)