<p>An OCO order, short for One Cancels the Other, is a type of conditional order that links two separate orders — typically a stop‑loss and a limit‑order — so that when one order executes, the other is automatically cancelled.</p>

<h2>How It Works</h2>
<p>An investor places two orders at the same time: a price‑target order (limit) to capture a profit and a protective order (stop) to limit a loss. Both orders share the same quantity and are linked by the broker’s system. The moment either the limit price or the stop price is reached and the corresponding order fills, the broker instantly sends a cancellation signal for the partner order. If neither price level is hit, both orders remain active until they expire or are manually cancelled.</p>
<ul>
<li><strong>Limit leg</strong> – executes when the market reaches the desired profit price.</li>
<li><strong>Stop leg</strong> – triggers if the price moves unfavourably to a predefined loss level.</li>
<li><strong>Cancellation mechanism</strong> – the execution of one leg automatically voids the other, preventing duplicate positions.</li>
</ul>

<h2>Why It Matters</h2>
<p>OCO orders help traders manage risk and lock in gains without needing to monitor the market constantly. For example, a trader buys a stock at $50 and sets an OCO with a limit sell at $55 (target profit) and a stop sell at $48 (maximum loss). If the stock rises to $55, the limit order fills, the stop is cancelled, and the trader secures a $5 gain. Conversely, if the price drops to $48, the stop order executes, the limit is cancelled, and the loss is contained to $2 per share. This dual‑order approach streamlines trade execution, reduces emotional decision‑making, and is especially useful in volatile markets where rapid price swings can otherwise trigger unintended positions.</p>