Loading...
Loading...
Found something confusing or wrong on this page?
OCO Order: An OCO (one-cancels-other) order links two working orders so that when one is filled, the other is automatically canceled; partial fills are handled differently by different brokers.
Educational content. Not financial, investment, tax, or legal advice. Options involve risk and are not suitable for all investors. How we write & review this glossary.
An OCO order (one-cancels-other order) links two working orders so that when one of them is filled, the broker's system cancels the other (some brokers reduce the other order after a partial fill instead). Traders use it to stage two either-or orders, such as a profit-taking limit order and a stop order on the same position, so that normally only one of them fills; in a fast market the cancel can arrive too late and both can execute.
7:53 walkthrough — definition, mechanics, worked example, and common mistakes for OCO Order.
OCO orders link two orders so that, when one executes, the other is meant to be cancelled, which can help avoid unwanted positions.
OCO orders, or one-cancels-other, are used in volatile markets where unexpected price swings can lead to double fills. By linking a profit target and a stop-loss, the aim is that once one order is executed, the other is automatically canceled. This can reduce the risk of unintentionally flipping a position, such as going short when only one long position was intended to close.
Consider a scenario where a trader holds a long position. They set a profit target above the current price and a stop-loss below. If these orders are unlinked, a volatile market move could trigger both, leading to a double fill and flipping the trader short. OCO orders aim to reduce this risk by canceling one order when the other executes, although cancellation is not instantaneous or guaranteed, and in fast markets or with partial fills both orders could still execute.
OCO orders are not only defensive tools but also serve as offensive strategies in breakout scenarios. When the market consolidates between support and resistance, traders can use an OCO pair to place a buy-stop above resistance and a sell-stop below support. This setup can help avoid holding opposing trades in choppy markets.
The mechanics of OCO orders differ from bracket orders. While OCO pairs two existing orders as siblings, bracket orders introduce an entry parent that triggers the OCO children upon fill. This distinction highlights the flexibility and utility of OCO orders in various trading strategies.
Handling differs between exchange-native and broker-synthetic OCO implementations, and speed depends on the implementation.
In cases of partial fills, some brokers resize the sibling order to match the remaining quantity, while others cancel it outright, so rules vary by broker.
OCO orders can reduce the need for constant monitoring, though they depend on the broker's handling.
The cancel is an automated instruction that can arrive too late in a fast market, and a partial fill may shrink the sibling order instead of canceling it, so check how your broker handles both cases before relying on an OCO pair.
Two unlinked closing orders on the same position create a double-fill risk: if a volatile move triggers both a profit-taking sell and a protective sell on 100 long shares, the account can end up selling 200 shares and holding a short position it never intended. Linking the orders means the first execution triggers an automatic cancel of the other order (or, at some brokers, a reduction of it after a partial fill), so the trader does not have to cancel it by hand, although the cancel is not guaranteed to reach the exchange before the other order executes. The same structure can be used for entries, for example a buy stop above a range and a sell stop below it, where only the first triggered order is meant to fill.
An OCO groups two orders, often on opposite sides of the current price: for a long position, a sell limit above the market to take a gain and a sell stop below it to limit a loss. When one order is filled, the system sends a cancel for the other. A stop leg becomes a market order once its stop price is reached, so it can fill away from the stop price; a limit leg fills only at its limit price or better. Brokers implement linked orders differently. Interactive Brokers, for example, describes its One-Cancels-All (OCA) group as cancelling the remaining orders when one order completes and rebalancing the group after a partial fill, and warns that because the process is automated, a requested cancellation may not reach the exchange before another order in the group executes. A bracket order is a related structure: it attaches a profit-taking limit order and a stop order to an entry order, and those two exit orders then work as a one-cancels-other pair.
Hypothetical: a trader owns 100 shares of XYZ bought at $50 and places an OCO pair, a sell limit at $55 and a sell stop at $46. If XYZ trades up to $55 and the limit fills, the gain is ($55 - $50) x 100 = $500 and the stop is canceled. If XYZ instead falls through $46, the stop becomes a market order; if the stock gaps down and the order fills at $44, the loss is ($44 - $50) x 100 = -$600, larger than the $400 implied by the stop price, and the limit order is canceled. Commissions and fees are ignored. The prices are illustrative, not suggested levels.
Assuming the stop leg fills at the stop price: once triggered it becomes a market order and can fill well past the stop in a gap. Using day orders for the pair and forgetting that day orders expire at the end of the session, which leaves the position without either order the next day. Expecting a limit leg on a thinly traded option to fill just because the underlying moved; the limit fills only if someone trades at that price or better. Assuming every broker supports OCO on multi-leg spreads or handles partial fills the same way.
It is a pair of linked orders where the complete execution of one triggers the cancellation of the other. A common use is to attach a profit-taking limit order and a stop order to an open position, so that normally only one of the two exits is carried out, although in a very fast market both can execute.
An OCO links two orders that are already working. A bracket order adds an entry order as well: once the entry fills, a profit-taking limit and a stop order are working, and filling one of them cancels the other. In that sense the exits of a bracket are an OCO pair.
It is possible in a very fast market. Cancellation is an automated message sent after the first fill, and a broker may warn that it cannot ensure the cancel reaches the exchange before the other order executes. Partial fills are another edge case: some systems reduce the remaining order instead of cancelling it.
General references for this topic area, not citations for the specific figures above. VolRadar is not affiliated with these organizations.

Understand options faster.
One term, one worked example, one real ticker. Every Sunday. No jargon.
One email per week, no drip campaigns · Unsubscribe anytime