One Cancels the Other (OCO)

Quick Answer

A one cancels the other (OCO) order is two orders entered together and linked, so that when one is filled, the other is automatically canceled. Traders use it to bracket a position: a profit-target limit above the market paired with a protective stop below it.

OCO is the one order in this unit that ties two separate orders together. The trap is simple once you see it: a fill on either leg cancels the other leg, automatically. That is the whole idea, so anchor on it.


What an OCO Order Is

An OCO order links two orders so that a fill on one triggers cancellation of the other under the platform's rules.

  • One cancels the other (OCO) order: two orders entered together and linked, so that when one order is executed (filled), the other is automatically canceled.
  • The legs are contingent on each other: a fill on the first leg triggers cancellation of the second, with no manual action from the trader. Partial-fill handling and cancellation timing depend on the order and platform rules.
  • Either leg can be the one that fills: the linked cancellation applies whichever side fills first, subject to the platform's partial-fill and cancellation rules.

The Common Bracketing Use

The reason OCO exists in a trader's toolkit is to bracket a position with two opposite exits at once.

  • Bracket a position: OCO is typically used to place a profit-target limit order on one side and a protective stop order on the other, so the position has both an upside exit and a downside exit resting at the same time.
  • The classic long example: a long futures holder places a sell limit above the market (to take profit) and a sell stop below the market (to seek downside protection) as an OCO pair. A fill on one triggers cancellation of the other. A stop trigger alone does not guarantee a fill or a particular execution price.
  • No manual cleanup: because the cancellation is automatic, the trader does not have to remember to pull the second order once the position is closed. The pair handles it.

For a long from 100, link a sell-limit target at 105 and a sell-stop trigger at 95; a full fill of either cancels the other, while the stop trigger does not guarantee a fill at 95.

Think of it this way: an OCO pair is like setting two alarms for the same event, one on your phone and one on your clock, wired so that silencing either one shuts off both. You do not have to run around turning off the second alarm once the first has done its job. In trading terms, your profit target and your stop-loss both sit ready; a fill starts the linked cancellation process under the platform's rules.

Exam Tip: Gotchas

  • A fill on either leg triggers cancellation of the other. The exchange or platform handles the linked cancellation; check its rules for partial fills and cancellation timing. Triggering a stop is not the same as filling it.
  • The classic bracket is a sell limit above and a sell stop below on a long. The limit seeks a profit-taking exit as the price rises; the stop seeks downside protection as the price falls. Do not flip the placement: the profit-target limit sits above the market and the protective stop sits below it.

Order Comparison

Here are all four qualifiers from this unit in one place, with the trap each one carries: good till canceled (GTC), fill-or-kill (FOK), market on close (MOC), and one cancels the other (OCO).

OrderWhat it doesKey trap
GTCRests until filled or the customer cancels it; persists across sessionsDoes not expire at day's end (a day order does)
FOKMust fill immediately and entirely or be canceled in full; no partial fillsNot the same as immediate-or-cancel (IOC, allows partials) or all-or-none (AON, can wait)
MOCMarket order executed at/near the close, within the closing rangeGuarantees the close, not the settlement price
OCOTwo linked orders; filling one auto-cancels the otherA fill on either leg cancels the other automatically

What Should You Check on Exam Day?

  • Can you explain what happens to the second order when one leg of an OCO pair fills?
  • Can you state the classic OCO bracket for a long position, naming which side sits above the market and which sits below?
  • Do you know why OCO requires no manual cleanup after one leg fills?