Field Guide to Trading Terms

One cancels the other order


Family II · Orders

Not to be confused with good till cancelled order.

One cancels the other order (OCO) is a linked order pair in which filling or cancelling one order automatically cancels the other. It is used to attach a profit target and a stop loss to the same position without leaving both live at once. The two orders are usually placed on opposite sides of the market, and only one can ever execute.

An OCO group contains two orders, typically a limit order and a stop order, or two stop orders. When either order is filled, the other is cancelled by the broker's order-management system. If one order is cancelled manually, the other is cancelled as well.

The orders may be placed as a single instruction or as two orders later linked together, depending on the platform. Some venues also support a one-cancels-all variant, where filling one order cancels a group of orders.

Worked example

OCO bracket on a long position
EntryBuy 100 shares at 50.00Position: 100 shares long
Profit targetSell limit 100 shares at 55.00Order A live
Stop lossSell stop 100 shares at 47.00Order B live
Price falls to 47.00Order B fills; Order A cancelledExit at 47.00, loss 300.00

Practical points

Often confused with

good till cancelled order
A good till cancelled order is an instruction to buy or sell that remains active until it is either filled or explicitly cancelled by the trader, rather than expiring at the end of the trading session.

See also