
One-Cancels-the-Other Order - (OCO)
A one-cancels-the-other order (OCO) is a pair of conditional orders stipulating that if one order executes, then the other order is automatically canceled. The investor could, therefore, place an OCO order, which would consist of a stop-loss order to sell 1,000 shares at $8, and a simultaneous limit order to sell 1,000 shares at $13, whichever occurs first. Conversely, if a trader wanted to use a retracement strategy that buys at support and sells at resistance, they could place an OCO order with a buy limit order at $20 and a sell limit order at $22. A one-cancels-the-other order (OCO) is a pair of conditional orders stipulating that if one order executes, then the other order is automatically canceled. An OCO order often combines a stop order with a limit order on an automated trading platform.

What is a One-Cancels-the-Other Order (OCO)
A one-cancels-the-other order (OCO) is a pair of conditional orders stipulating that if one order executes, then the other order is automatically canceled. An OCO order often combines a stop order with a limit order on an automated trading platform. When either the stop or limit price is reached and the order executed, the other order automatically gets canceled. Experienced traders use OCO orders to mitigate risk and to enter the market.
OCO orders may be contrasted with order-sends-order (OSO) conditions that trigger, rather than cancel, a second order.



Basics of a One-Cancels-the-Other Order
Traders can use OCO orders to trade retracements and breakouts. If a trader wanted to trade a break above resistance or below support, they could place an OCO order that uses a buy stop and sell stop to enter the market.
For example, if a stock is trading in a range between $20 and $22, a trader could place an OCO order with a buy stop just above $22 and a sell stop just below $20. Once the price breaks above resistance or below support, a trade is executed and the corresponding stop order is canceled. Conversely, if a trader wanted to use a retracement strategy that buys at support and sells at resistance, they could place an OCO order with a buy limit order at $20 and a sell limit order at $22.
If OCO orders are used to enter the market, the trader needs to manually place a stop loss order once the trade gets executed. The Time In Force for OCO orders should be identical, meaning that the timeframe specified for execution of both stop and limit orders should be the same.
Example of an OCO order
Suppose an investor owns 1,000 shares of a volatile stock that is trading at $10. The investor expects this stock to trade in a wide range in the near term, and has a target of $13; for risk mitigation, they do not not want to lose more than $2 per share. The investor could, therefore, place an OCO order, which would consist of a stop-loss order to sell 1,000 shares at $8, and a simultaneous limit order to sell 1,000 shares at $13, whichever occurs first. These orders could either be day orders or good-till-canceled orders.
If the stock trades up to $13, the limit order to sell executes, and the investor's holding of 1,000 shares gets sold at $13. Concurrently, the $8 stop-loss order gets automatically canceled by the trading platform. If the investor places these orders independently, there is a risk that they might forget to cancel the stop-loss order, which could result in an unwanted short position of 1,000 shares if the stock subsequently trades down to $8.
Related terms:
Bracketed Sell Order
Bracketed sell order is a short sell order that is accompanied by a conditional buy order above and a buy limit order below the initial sell order. read more
Buy Limit Order
A buy limit order is an order to purchase an asset at or below a specified price. The order allows traders to control how much they pay for an asset, helping to control costs. read more
Buy Stop Order
A buy stop order directs to an order in which a market buy order is placed on a security once it hits a pre-determined strike price. read more
Canceled Order
A canceled order is a previously submitted order to buy or sell a security that gets cancelled before it executes on an exchange. read more
Cancel Former Order (CFO)
A cancel former order (CFO) is a type of trade order that directs a broker to cancel a previously issued order. read more
Conditional Order
A conditional order is an order that includes one or more specified criteria or limitations on its execution. read more
Contingent Order
A contingent order is an order that is linked to, and requires, the execution of another event. The contingent order becomes live or is executed if the event occurs. read more
Day Order
A day order is an order to buy or sell a security at a specific price that automatically expires if it is not executed on the day the order was placed. read more
Fill Or Kill (FOK)
Fill or kill is a type of equity order that requires immediate and complete execution of a trade or its cancellation, and is typical of large orders. read more