OCO Order
OCO (One Cancels the Other) is a linked order instruction where two orders are placed simultaneously, and when one order is executed, the other is automatically cancelled. It is used by traders to set both a profit target and a stop-loss for the same position at the same time.
What Is an OCO Order?
An OCO order consists of two orders:
– **Order 1**: typically the profit-taking limit order (sell above current price)
– **Order 2**: typically the stop-loss order (sell below current price)
When one executes:
– The other is immediately and automatically cancelled
This ensures the trader is not left with conflicting open orders (cannot simultaneously sell a stock twice).
OCO in Practice
Scenario: You buy a stock at Rs 300.
– Order 1 (take profit): Sell limit at Rs 350
– Order 2 (stop-loss): Sell stop at Rs 270
If the stock rises to Rs 350, Order 1 executes and Order 2 is cancelled. If the stock falls to Rs 270, Order 2 executes and Order 1 is cancelled.
Benefits of OCO Orders
– Automates trade management; no need to manually cancel one order after the other executes
– Ensures disciplined exits (both profit and loss limits are pre-set)
– Reduces emotional decision-making at critical price levels
– Works in all market conditions; captures upside while limiting downside
OCO in Options and Futures
OCO orders are widely used in derivatives markets to manage intraday and swing trades. Bracket orders (a related concept in Indian markets) often function as OCO structures within a single position.
Practical Example
Riya buys Nifty futures at 22,500. She wants to book profit if Nifty reaches 22,700 and exit with a loss if it falls to 22,300. She places an OCO order: sell limit at 22,700 (profit target) and sell stop at 22,300 (stop-loss). When Nifty reaches 22,700, her limit order executes, the stop-loss is cancelled, and her trade is complete.
Key Takeaways
– OCO links two orders: when one executes, the other automatically cancels
– Used to simultaneously set a profit target and a stop-loss for the same position
– Eliminates the risk of duplicate sells or unmanaged open orders
– Widely used in intraday trading, swing trading, and derivatives management
– Available on most Indian brokers’ platforms for equity and derivative segments




