An OCO order links a profit target and a stop so one cancels the other. See how it works, examples, gap risk and common mistakes.
Fidelity's trading help describes OCO as placing two live orders so that if either one executes, the other is canceled, noting that the cancellation is attempted on a "best efforts" basis. The same page says OCO orders are also known as bracket orders.
Example: you own a hypothetical stock bought at $50. You place an OCO with a sell limit at $56 and a sell stop at $46. If the price rises to $56, the limit order sells and the stop is canceled. If it falls to $46, the stop triggers and the limit is canceled.
Who this is for
- Investors who cannot watch the market all day but want both an exit target and a loss limit in place.
- Beginners learning order types who want to understand how conditional orders combine.
- Swing traders who plan exits before entering a position.
An OCO order does not decide where your exits should be. It only automates a plan you have already made.
Key benefits
Both exits are covered. Without OCO, you would need two separate orders, and if one filled you would have to cancel the other manually. If you forgot, the leftover order could open an unwanted new position.
It enforces discipline. Setting a target and a stop in advance removes the temptation to move them in the heat of the moment.
It saves monitoring time. The broker manages the orders while you are away from the screen.
How it works
The two legs
| Leg |
Typical order type |
Purpose |
| Upper leg |
Sell limit above the current price |
Take profit at a target |
| Lower leg |
Sell stop (or stop-limit) below the current price |
Limit loss if price falls |
For a short position, the legs are reversed: a buy limit below the price and a buy stop above it.
What happens after one leg fills
- Price reaches one of the levels.
- That order executes (fully or partly, depending on the broker's rules).
- The broker cancels the other order.
Related order types
- OTO (one-triggers-the-other): a primary order, such as a buy, that releases a secondary order only once it fills.
- OTOCO (one-triggers-an-OCO): a primary order that, once filled, sends two secondary orders as an OCO pair. Fidelity's help page describes this combination; it is often called a bracket around a new trade.
Who manages the orders
OCO is a broker feature, not a type of order the exchange itself holds. The CME Group notes that in retail FX and CFD trading these structures are programmed instructions handled by the broker's server and do not change the basic mechanics of execution. Availability and exact behavior therefore vary between brokers.
Examples and common objections
Example with numbers
| Scenario |
What fills |
What gets canceled |
Result per share |
| Price rises to $56 |
Sell limit at $56 |
Sell stop |
+$6 |
| Price falls to $46 |
Sell stop at $46 (fills near that price) |
Sell limit |
About −$4 |
Objection: "My stop guarantees a $46 exit."
It does not. A triggered stop becomes a market order. Fidelity warns that stop-loss orders could be triggered by price swings and could result in an execution well below the trigger price. If the stock opens at $42 after bad news, a stop at $46 will likely sell near $42.
Objection: "I'll use a stop-limit leg instead to control the price."
A stop-limit leg sets a minimum price, but FINRA notes there is no guarantee the order will execute. In a sharp drop you might not get out at all.
Objection: "The cancellation is instant, so I can't end up with two fills."
Brokers generally attempt the cancellation on a best-efforts basis. In very fast markets, both legs can occasionally fill or partly fill. Check your broker's rules and your positions after volatile sessions.
Common mistakes
- Setting the stop so close that normal price swings trigger it.
- Forgetting that a time-in-force (day or good-'til-canceled) applies to the OCO.
- Assuming every broker supports OCO for every asset or session.
How to choose the two OCO levels
An OCO order is only as good as the levels you choose. A common approach is to start from the stop, because it defines your risk. Place it where your reason for holding the position would be proven wrong, such as below a recent swing low or a support level, rather than at an arbitrary round number. Then calculate the risk per share and the position size that keeps the total loss within your limit, for example 1% of your account.
Next, set the target. Many traders look for a target at least as far from the entry as the stop, so the potential reward is equal to or greater than the risk. With an entry at $50 and a stop at $46, a target of $56 offers a 1.5:1 ratio. If the only sensible target is $51, the trade may not be worth taking at all, and the OCO helps make that visible before you commit.
Practice before using real money
The Simulator in Finelo lets you practice trading with virtual money, which is a low-risk way to rehearse planning exits and see how prices move relative to your levels.
Next step
Before using OCO with real money, place a practice OCO in a simulator, then write down where each leg sits and why. That makes your exit plan explicit before any trade.
For related reading, continue with bracket orders and trading order types cheat sheet.
Work through one practical example on your own, using real figures or a historical chart, and note which assumptions matter most. If the underlying concepts still feel difficult to connect, build the foundations step by step; explore Finelo’s learning path and return to the example with clearer questions about assumptions, costs, and risk.
Finelo provides financial education, not personalized financial, investment, legal, or tax advice. Investing and trading involve risk, including the loss of money. Verify current details with official sources and your broker before acting.
About the author
Finelo Team
The Finelo Team creates practical investing and trading education designed to help beginners learn faster with structured challenges, simulator practice, and bite-sized lessons.