Skip to main content
Menu

⚠️ Risk Warning: Trading forex, CFDs, and cryptocurrencies involves substantial risk of loss and may not be suitable for all investors. This platform provides educational content only and does not constitute financial advice.

Ξ Level 2 · Beginner Spot Trading & Execution Order Types

One-Cancels-the-Other (OCO)

Understand crypto OCO orders, linked limit and stop legs, cancellation races, partial fills and practical spot order-management risk.

Progress 0%

Reading progress — saved on this device

SPOT TRADING & EXECUTION · ORDER TYPES

A one-cancels-the-other (OCO) instruction links two orders so that execution or activation of one leg causes the other leg to be cancelled under the venue rules. It is an order-management relationship, not a guarantee that only one leg can ever execute.

Risk first. In fast markets, cancellation is not instantaneous. One leg can partially fill while the other is already activating, and venue-specific race conditions can produce outcomes that differ from the simple “one fills, one disappears” mental model.
Last reviewed: 21 August 2026 · Educational content only

Two linked instructions

A common spot OCO combines a take-profit-style limit order above the current price with a stop or stop-limit order below it for the same asset quantity. The venue tracks both legs and applies a cancellation rule when one leg meets the configured condition.

However, OCO implementations vary: some cancel the sibling when one leg fills; others may cancel or transform it on trigger/activation; partial fills can have special quantity-handling rules.

Do not infer semantics from the acronym. Read what event cancels the sibling and how remaining quantity is recalculated after a partial fill.

Typical lifecycle

1. CreateSubmit two linked child instructions.
2. ReserveVenue may reserve/synchronise the required asset balance.
3. MonitorBoth legs remain conditional/resting under venue rules.
4. ResolveFill/trigger on one leg initiates cancellation or adjustment of the sibling.

Because both legs refer to the same economic position, good venue implementations prevent the combined quantity from overselling the available spot balance. But account transfers, manual orders or API activity can still interact with reserved amounts.

What can go wrong?

RiskExampleControl question
Cancellation raceLimit leg partially fills just as stop leg activatesWhat event confirms sibling cancellation?
Partial-fill quantity30% fills on one legDoes the sibling shrink to remaining 70%?
Gap riskStop leg becomes executable far below triggerIs stop leg market or limit?
Balance interactionUser manually sells some of the reserved assetWill venue reject, resize or cancel the OCO?
System outageOne leg state unclear during venue disruptionHow is OCO state recovered/reconciled?

Worked example

You hold 1 BTC at a venue and create an OCO: sell limit 1 BTC at £85,000 plus sell stop-market trigger at £76,000.

Later, 0.4 BTC fills at £85,000 just before price reverses sharply. A well-defined OCO system should specify whether the stop leg is cancelled immediately, resized to 0.6 BTC, or handled under another rule. If the venue cancels the entire stop leg only after full execution of the limit leg, the remaining 0.6 BTC can be exposed without the conditional protection the user expected.

The correct operational assumption comes from the venue specification—not from the generic OCO label.

Decision discipline: test small size and verify actual partial-fill behaviour before relying on an OCO for material order management.

Common mistakes and misunderstandings

  • Assuming all OCOs cancel the sibling on the same event.
  • Ignoring partial fills and remaining-quantity rules.
  • Believing OCO eliminates gap or slippage risk on the stop leg.
  • Manually changing the position without checking how the venue handles reserved OCO quantity.
  • Assuming cancellation messages and fills cannot cross during fast markets.
Execution discipline: Treat OCO as automation of order relationships, not a guarantee of a particular P&L outcome. The child-order types and cancellation semantics still determine execution risk.

Knowledge checkpoint

Q1. What exact event must you identify to know when an OCO sibling is cancelled?

Q2. Why can a partial fill make OCO quantity management more complicated?

Q3. If the stop leg is stop-market, which risk remains after activation?

Q4. Why should you test OCO behaviour on the specific venue rather than assume a universal standard?

Self-check: A strong answer should explain both the order instruction and the execution consequence, including what can happen if liquidity or venue state changes.

FAQ

❓ Does OCO guarantee only one leg can ever fill?

Not absolutely. Implementations vary and race conditions or partial fills can create more complex outcomes.

❓ Is an OCO always a take-profit plus stop-loss?

That is a common use, but OCO is a generic relationship between linked orders rather than a specific strategy.

❓ What happens after a partial fill?

Venue rules differ. The sibling may be resized, cancelled or remain subject to specific quantity logic.

❓ Can the stop leg still slip?

Yes. If it activates a market-style order, execution depends on available liquidity.

Summary

  • OCO links two child orders with a venue-defined cancellation relationship.
  • Partial fills, triggers and cancellation races make implementation details important.
  • The order types inside the OCO retain their own price, slippage and non-fill risks.
  • Verify venue-specific sibling-cancellation and quantity rules before relying on automation.

This building block explains execution mechanics and risk. It is not a recommendation, signal or instruction to trade any cryptoasset.

BUILD YOUR OWN PATH

Want this in a personalised order?

Take the crypto assessment and get a custom path of 10 modules matched to what you already know. Free, no card required.

Build my path →