An OCO order (from the English "One Cancels the Other") links two orders into a single pair: as soon as one triggers, the other is automatically cancelled. In practice this is a pair consisting of a stop-loss (a protective exit at a loss) and a take-profit (an exit at a profit) that guard a position simultaneously. The strength of this approach is that you fix both your profit-taking point and your capital-protection point in advance, and the market itself then decides which of the two scenarios plays out.
OCO is especially useful on volatile markets where price moves fast and unpredictably. You are not glued to the screen; instead, you define your exit plan in advance: where you will lock in profit and where you will accept that the idea did not work. The decision is made with a cool head, and emotions no longer interfere at the moment of a sharp move.
MECHANICS
Inside an OCO live two independent orders linked by a mutual-cancellation rule. One fires, and the exchange immediately cancels the other, so you are not left with a hanging order on a position that has already been closed.
The fee is charged only on the order that actually executes. If price reached the stop-loss, the fee is calculated at the stop-loss execution price. If the target fired first, the fee is calculated at the take-profit execution price. The second order is cancelled without a trade, and therefore without a fee. So you pay only for the actually completed leg of the trade, not for both legs at once.
EXECUTION
After placing an OCO it is worth verifying that the pair is indeed active and both levels are set correctly. Check that the order is visible in your open orders list, that the stop-loss and take-profit prices are where you intended them, and that the quantity matches your position size. A quick look at the market after setting up saves you from a situation where one level ended up in the wrong place or the order did not go through at all.
Let's walk through a concrete setup. Suppose you are long BTC from $60,000.
- Entry: $60,000 (position already open).
- Stop-loss (one OCO leg): $58,800, below the local low, risk $1,200 per unit.
- Take-profit (the other OCO leg): $63,600, at the nearest resistance, potential $3,600.
- R:R: risk $1,200 against profit $3,600 gives a ratio of 1:3.
Price moves up and touches $63,600: the take-profit executes, and the stop-loss at $58,800 is automatically cancelled. If instead the market reverses and breaks through $58,800, the stop executes and the target is cancelled. In both cases you need to do nothing manually.
How to tell a workable level from a false one: place the stop not right next to the entry but beyond a structural level (the nearest significant low for a long, a significant high for a short) plus a buffer for volatility, otherwise a random noise spike will knock you out before the idea has a chance to play out. Place the take-profit just short of a clear resistance, so the order fills in the queue before price pushes back.
COMMON MISTAKES
The main mistake with an OCO is manually cancelling one of the two legs without reconsidering the entire trade plan. You remove the stop-loss because "price is about to reverse," and the position is left without protection at exactly the moment it is most needed. This kills the whole point of an OCO and brings emotional decisions back into the trade, which is exactly what you were trying to avoid.
If the market has changed and the old levels are no longer valid, the right move is to recreate the OCO from scratch under the new plan rather than pulling one order from the pair and leaving the other dangling alone.
RISK FRAMEWORK
Before trusting real money to an OCO, run the strategy on historical data or in a simulator. See how often the stop-loss would have been hit and how often price would have reached the take-profit under various market conditions.
Such a run reveals the real win-to-loss ratio for your levels and helps you see whether the stop is too tight (gets knocked out by noise) or the target too far (almost never reached). Once you have tuned the levels so that the risk-to-reward ratio and trigger frequency satisfy you, OCO transforms from a convenient button into a deliberate risk-management tool.