Skip to content
Menu
Finabase Learn

Glossary

One-cancels-other order (OCO)

Two linked orders on the same position, where the execution of one automatically cancels the other.

On this page
  1. The most common use: two exits on one position
  2. A second use: entering on a move either way
  3. Relation to a bracket order
  4. Points to check
  5. Related terms

A one-cancels-other (OCO) order is a pair of orders tied together so that only one can execute. When one fills, the broker's system cancels the other at once. It is the way to have two alternative instructions working at the same time without the risk of both being carried out.

The most common use: two exits on one position

A holder wants to sell at a profit if the price rises, or cut the loss if it falls. That means a limit order above the market and a stop order below it.

A cash account generally cannot hold two separate sell orders for the same shares anyway, since that would promise them twice. The OCO link is what makes the pair acceptable.

A second use: entering on a move either way

A trader expecting a breakout from a range but unsure of the direction can place a buy stop above the range and a sell stop below it as an OCO. Whichever triggers first cancels the other.

Relation to a bracket order

A bracket order is an entry order with an OCO pair attached, activated when the entry fills. The OCO is the exit half alone, for a position already held.

Points to check

  • Partial fills. If one side fills partly, brokers differ on whether the other side is reduced or canceled in full.
  • Fast markets. Cancellation is quick but not instantaneous. In a violent swing through both prices, both orders can occasionally execute.
  • Stops are not price guarantees. A gap can fill the stop well below its trigger.
  • Duration. Both legs normally share one time-in-force, and brokers cap how long good-til-canceled orders last.

Written and fact-checked by Finabase Research. Last reviewed . Spotted an error? Tell us.

Educational content, not investment advice. Finabase Learn explains how markets and tools work. It does not recommend any security or strategy, and examples are for illustration only. Investing involves risk, including the loss of principal. Rules and figures are for the United States unless stated and can change — check the cited source before you act. Data and corrections policy.