LearnGlossary › OCO (One-Cancels-Other)

OCO (One-Cancels-Other)

A pair of linked orders where the execution of one automatically cancels the other — most commonly a take-profit limit and a stop-loss protecting the same shares. Without OCO linkage, a filled stop could leave a live sell limit that later executes as an accidental short.
Run a strategy that uses this yourself — free →

Build it from blocks (or type it in English), backtest it on 5.5 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Related terms

Bracket OrderAn entry order packaged with both of its exits: a take-profit above an…Stop-Loss OrderA resting order that triggers a sale when price falls to a set level, …

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-07-17, $10,000 starting capital, no margin, fees and slippage not modeled) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.