OCO Order Crypto Guide: How One-Cancels-The-Other Works For Take Profit And Stop Loss
Summary
An OCO order in crypto pairs a limit order with a stop-limit order, and when one is triggered the other is cancelled automatically. For a sell, the limit sits above the market and the stop trigger below it; a buy reverses that.

You open a trade, then you have to leave the screen. You want a profit target above the market and a safety exit below it, but you do not want both to fire. An OCO order crypto traders use for this is a linked pair: when one order is triggered, the other is cancelled automatically. This guide explains how the one cancels the other order works, the price rules that decide whether your pair is accepted, two worked examples with assumed prices, and the cases where an OCO is the wrong tool. In this article, Backcom.io uses exchange help pages for the rules and assumed prices for the maths.
1. What Is An OCO Order Crypto Traders Use?
An OCO (one-cancels-the-other) order is two orders placed together so that only one of them can end up executing. Binance's help centre describes it as a limit order plus a stop-limit order: "If one is triggered, the other is canceled. At the same time, if one order is canceled, the other will also be automatically canceled." (Binance, page updated 6 January 2026, checked 30 November 2026.)
Each leg has a different job:
- The limit leg sits on the profit side. It waits for price to reach a better level than the market, so it works as a take-profit.
- The stop-limit leg sits on the protection side. It waits for price to move against you to a trigger, then places a limit order, so it works as a stop-loss.
The point is automation. Without OCO you would place a take-profit order and a stop-loss separately, then cancel the second one by hand after the first fills. If you forget, you can end up with a leftover order that opens a position you never wanted. OCO removes that step.
An OCO is not a new kind of price logic. It is a wrapper around two standard order types that adds the rule "one fills, the other disappears".
2. How Does A One Cancels The Other Order Work Step By Step?
An OCO order works by watching two price levels at the same time, one on each side of the current market price. The sequence is the same on most platforms:
- You enter one amount and two prices. The take-profit leg gets a limit price. The stop leg gets a trigger price and a limit price.
- The exchange validates both levels against the current market price. If either is on the wrong side, the form rejects the pair.
- Both legs go live as one pair. Neither executes until the market reaches its level.
- Price reaches one level. Either the limit order fills, or the stop triggers and its limit order is placed.
- The other leg is cancelled automatically. You are left with either a closed position at the target or a stop order working in the book.
Two points trip up beginners. First, a stop-limit leg is not a guaranteed exit. When the trigger is hit, the exchange places a limit order, and that order only fills if the market trades at your limit price or better. Second, both legs normally use the same order quantity, so the pair covers one position size, not two.
3. What Are The OCO Price Rules? Buy And Sell Conditions

The OCO price rule is that the limit price and the stop trigger must sit on opposite sides of the current price. Binance states the conditions for both directions. For a sell OCO, the stop-limit trigger must be lower than the current price, while the limit price must be higher than the current price.
| Direction | Limit leg (profit side) | Stop trigger (protection side) |
|---|---|---|
| Sell OCO (protect or exit a long) | Above the current price | Below the current price |
| Buy OCO (enter or cover) | Below the current price | Above the current price |
In short, for a sell: limit price > current price > stop trigger. For a buy: limit price < current price < stop trigger. Bybit's help centre describes the same layout for its sell OCO: the stop-loss trigger below the market and the take-profit trigger above it.
If your order is rejected, check the sides first. The usual cause is a trigger on the wrong side of the market after price moved while you were typing. Binance's page refers to the "current market price" without saying whether that is the last traded price or another reference, so read the field labels on your own order form.
4. OCO Order Example: A Sell OCO To Protect A Long Position

Assume you hold 0.1 BTC bought at 88,000 USDT. The price is now 90,000 USDT. The numbers are invented for the example.
| Leg | Setting | What happens |
|---|---|---|
| Take-profit limit | Sell at 96,000 | Fills if price rises to 96,000 |
| Stop trigger | 85,000 | Starts the stop if price falls to 85,000 |
| Stop limit price | 84,800 | The sell order placed after the trigger |
The conditions hold: 96,000 is above 90,000, and 85,000 is below it.
Outcome A, target hit: you sell at 96,000. Profit is (96,000 − 88,000) × 0.1 = 800 USDT before fees.
Outcome B, stop hit: you sell near 84,800. Result is (84,800 − 88,000) × 0.1 = −320 USDT before fees, if the limit order fills at its price.
The reward is 800 against a risk of 320, a ratio of 2.5 to 1. Work out this ratio before you place the order, not after. Our risk reward ratio guide shows how to check what win rate a given ratio needs.
Illustrative numbers only. Real fills depend on fees, spread and liquidity at the time.
Why The Stop Limit Price Sits Below The Trigger
For a sell stop, the limit price is set at or slightly below the trigger. A limit order placed exactly at the trigger can be skipped if price drops quickly, while a lower limit gives the order room to fill. The cost is a slightly worse exit. Binance's help page suggests keeping the stop's limit price close to its trigger price, which is a reasonable balance on liquid pairs. On a thin market, learn how slippage in crypto affects stop orders before you rely on a tight gap.
5. OCO Order Example: A Buy OCO For A Breakout Or A Pullback

A buy OCO is less common, but it solves a real problem: you want to buy either a dip or a breakout, and you do not want both.
Assume ETH trades at 3,000 USDT. You decide to buy 1 ETH if it either pulls back to 2,800 or breaks above 3,200 with momentum.
| Leg | Setting | Meaning |
|---|---|---|
| Limit buy | 2,800 | Buys the pullback, below the market |
| Stop trigger | 3,200 | Starts a buy if price breaks up |
| Stop limit price | 3,210 | The buy order placed after the trigger |
The conditions hold: 2,800 is below 3,000 and 3,200 is above it. If price falls to 2,800, your limit order fills and the breakout order is cancelled. If price jumps to 3,200 first, the stop-limit buy is placed and the pullback order is cancelled.
Only one leg can execute, so a move that reverses cannot fill you twice. This is a cleaner way to plan an entry than watching two separate orders, and it fits traders who read order book depth around key levels. Each fill still pays trading fees, so include them when you size the position.
6. OCO Order Binance, Bybit And OKX: Where Is It?
The OCO order Binance offers is a spot feature. The help page places it under Trade, then Spot, on both the website and the app, and describes the order form fields as a Limit price under Take Profit, a Stop trigger, and a Limit price under Stop Loss. The page does not describe OCO on futures.
Other platforms use different names and screens:
- Bybit has a help article titled "One Cancels the Other OCO Orders" for Spot and Spot Margin trading, with the sell trigger layout described above.
- OKX explains OCO in its learn section: whichever order executes first, based on your trigger and order prices, invalidates the other.
Interfaces change often. Treat the examples in this guide as a model of the logic, and confirm the current field names, supported pairs and minimum order sizes on the exchange's own order form before you place a live pair.
7. OCO Vs TP SL Futures: What Is The Difference?

In OCO vs TP/SL futures trading, the difference is what the exit orders are attached to. An OCO is a pair of standalone orders that you place on a spot balance. A futures TP/SL is usually attached to a position, and it follows the position size, direction and margin mode.
| Feature | Spot OCO | Futures TP/SL |
|---|---|---|
| Attached to | A pair of orders | An open position or an entry order |
| Cancels the other leg | Yes, automatically | Often yes, depending on the platform |
| Typical use | Exit a spot holding, or plan an entry | Close a leveraged position |
| Trigger reference | Check the order form | Often last price or mark price |
On futures, check whether the trigger uses the last price or the mark price, because they can differ during fast moves. Our reduce-only order guide explains how exit orders avoid opening a new position by mistake, and the spot vs futures comparison covers the wider differences. A TP/SL is not a replacement for managing liquidation risk: a stop that never triggers during a gap does not protect margin.
8. When Should You Not Use An OCO Order?
OCO is the wrong choice in a few situations, and knowing them avoids false confidence.
- You expect a gap. Around major news a stop-limit may be skipped when price jumps past your limit price.
- You want a moving stop. An OCO's levels are fixed. A trailing stop order follows price instead.
- You want to keep part of the position open. Both legs usually use one quantity, so the pair closes the whole size.
- You need a guaranteed exit. A stop-market order prioritizes execution over price, while a stop-limit prioritizes price over execution.
- You do not understand the fields. A mistake in the trigger or limit price can create the wrong order.
For a final check, remember that an OCO manages exits and entries, but it does not choose a good level. Place the stop where your idea is invalidated, not where it makes the ratio look attractive.
Frequently Asked Questions (FAQ) About OCO Orders In Crypto
What Does OCO Stand For In Crypto Trading?
OCO stands for one-cancels-the-other. It is a pair of orders linked so that when one is triggered or filled, the other is cancelled automatically. It is used mainly to set a take-profit and a stop-loss at the same time.
Can I Cancel Only One Leg Of An OCO Order?
On Binance, no. The help page states that if you cancel one of the orders, the other is automatically cancelled too, so the whole pair goes. If you only want one exit, place a normal limit or stop order instead.
What Happens If My Stop Limit Order Does Not Fill?
The stop leg triggers, the limit leg is cancelled, and your limit order stays in the book. If price moves past your limit price without trading there, the order remains unfilled and your position is still open. This is why traders keep the limit price close to the trigger and watch fast markets.
Is An OCO Order The Same As A Stop-Loss And Take-Profit?
It combines both, but with a link between them. A separate take-profit and stop-loss do not cancel each other unless the platform adds that rule. OCO builds that rule in, which prevents a leftover order from opening an unwanted trade.
Do OCO Orders Cost Extra?
The help page we checked does not describe a separate OCO fee. Normal trading fees apply when a leg executes, so confirm your fee tier on the exchange. Our guide to post-only orders shows how order type changes maker and taker fees.
Conclusion: Use OCO To Pair An Exit, Then Check The Price Rules
An OCO order in crypto links a limit order and a stop-limit order so that one cancels the other. For a sell, the limit price must be above the market and the stop trigger below it, and the reverse applies to a buy. Use it to automate a target and a protection level on a spot position, check the order form before you submit, and remember that a stop-limit can fail to fill in a gap. Size the position from your stop distance first, then place the pair.
Disclaimer: This content is compiled by Backcom.io for information only and is not investment advice. All prices in the examples are assumed for illustration. Crypto trading carries a high risk of loss, and stop orders do not guarantee an exit price. Platform rules differ and can change, so check your exchange's own documentation before you trade. Read our risk disclaimer.
Was this article helpful?
Join The Backcom.io Community
Get the latest on trading rebates, trading tips, and broker deals — and connect with thousands of traders worldwide.
Backcom App
Track Your Rebates Every Day
Every rebate is visible by broker and by day. Manage your wallet and withdrawals in one place.
Open Backcom App


