How Wall Street Works

Bracket and OCO Orders: Automating Your Exit

A bracket order fixes your exit before the trade can talk you out of it. What it cannot fix is the stop inside it, which is still a trigger and not a promise.

AI-assisted, reviewed and edited by Beth Ruelos. How we use AI

6 min read

A bracket order attaches two exits to a position at the same moment. One sits above your entry as a profit target. One sits below it as a stop loss. The two are linked so that when either one fills, the broker cancels the other in the same instant, a rule most platforms label OCO for one cancels the other, and the effect is that the trade arrives with its own exit already written. You decide where you are wrong and where you are satisfied before the position can start arguing with you, which is the whole point.

What one cancels the other actually does

Picture the two exits without the link. You buy 100 shares and place a sell limit above and a sell stop below. The stock rises and hits your target. You sell. Good. But the sell stop is still working, and now it is a naked order to sell 100 shares you no longer own. Trade through it and you are short.

OCO closes that hole. The two orders know about each other. One fills, the other dies in the same instant. That is the entire job, and it is the reason you should never stage a target and a stop as two separate tickets when your broker offers the linked version.

A bracket is an entry wrapped in two exits

Most platforms let you set all three prices on one ticket. The entry, the target and the stop all go in together, and the two exits activate automatically the instant the entry fills, which means the position is never sitting on the screen without a plan already attached to it.

Work a round example. You buy 100 shares at 50.00, set the target at 56.00 and the stop at 47.00. Risk per share is $50.00 - $47.00 = $3.00, so the position risks 100 x $3.00 = $300. Reward per share is $56.00 - $50.00 = $6.00, a potential 100 x $6.00 = $600. The bracket has forced you to state a reward to risk ratio of $600 / $300 = 2.0 before a dollar is committed.

That is the quiet benefit. You cannot place a bracket without naming both exits, so the trade with no plan simply cannot be entered this way, and the sizing math that turns that stop distance into an actual share count is the whole subject of risk management for traders.

Leg Price Role What fires it
Entry 50.00 Opens the position Your buy fills
Target 56.00 Profit exit (sell limit) Price trades up to it
Stop 47.00 Risk exit (sell stop) Price trades down to it

When the target fills, the stop cancels. When the stop fills, the target cancels. You are never left holding a live order against a position you have already closed.

The reward to risk ratio is the number that matters

A bracket turns every trade into a stated bet. Over many trades, the ratio you set and the rate at which you hit the target decide whether the method survives.

Say you take the 2 to 1 bracket above and reach the target on 40 percent of trades. Expectancy per trade is (0.40 x $600) - (0.60 x $300) = $240 - $180 = $60. Now move the stop to 48.50 to feel safer, cutting risk to 100 x $1.50 = $150 but leaving the target at 56.00. The ratio jumps to 4 to 1, which looks better, except a tighter stop gets hit more often. If the target rate falls to 25 percent, expectancy is (0.25 x $600) - (0.75 x $150) = $150 - $112.50 = $37.50. The prettier ratio made less money. The bracket shows you the trade. It does not tell you which version is true.

The legs are still order types

Nothing about a bracket changes what its two exits are made of. The target is a limit order. It fills at your price or better, or it waits all day. The stop is a stop order. It stays dormant until the price touches it, then becomes a market order and takes the first fill it can find. Some platforms let you make that stop a stop-limit instead, which caps the exit price and accepts the chance of not selling at all in a fast drop. So a bracket is not a new kind of order at all. It is two familiar ones, tied together and aimed at the same shares, and every weakness each of them carries alone it carries again inside the bracket.

What the automation does not fix

Here is the part the tidy broker diagrams leave out. A bracket schedules your exit. It does nothing to the market the exit has to pass through.

The stop side is still an ordinary stop. It is a trigger, not a guaranteed price, and once the stock trades through it the order becomes a market sell that takes whatever is there, so a stock that gaps far below your 47.00 stop overnight fills on the opening print near 41.00 while the bracket simply watches it happen. Nothing in it is looking out for news. The full mechanics of that gap sit in stock order types explained, which this page sits beside rather than repeats.

Partial fills and the edge cases

Brackets get strange when the entry does not fill cleanly. Place a bracket to buy 300 shares on a limit and get filled on only 100, and most brokers scale the child orders to the 100 you actually hold. Some do not, and you end up with exits sized for 300 against a 100 share position. Read how your platform handles it before you need to know.

Extended hours break brackets too. A stop or target set as a day order generally does not work before 9:30 or after 4:00 Eastern, so a position held across those windows can sit unprotected exactly when market hours are thinnest and gaps are widest.

Where brackets earn their place

The honest case for a bracket is behavioural. It takes the exit decision away from the version of you that is watching a loss grow and itching to give it room, because the target and the stop were both committed before the position existed, so the discipline problem that trading psychology describes gets solved by structure instead of willpower.

That is worth a great deal, and it is not nothing to give up either. A bracket cannot react to news, cannot tell a real breakdown from a shakeout, and will cheerfully stop you out an hour before a stock reverses hard in your favour. The automation is a trade. You are buying consistency and selling judgement, and for most people, most of the time, that is the right side of the deal.

New to placing orders at all? Start with how to invest in stocks, practise the edge cases in the order types quiz, and use the stock screener or the candlestick scanner to find the setup before you ever open the order ticket.

Frequently asked questions

What is a bracket order?

A bracket order wraps a position in two exits placed at the same time. One is a profit target above your entry and the other is a stop loss below it. The moment either exit fills, the broker cancels the other, so the trade carries its own way out from the first second you are in it rather than leaving the exit to be decided later.

What does OCO mean in trading?

OCO stands for one cancels the other. It links two resting orders so that when one of them fills, the broker immediately cancels the second. It is the mechanism underneath a bracket, and it exists to stop both exits from filling, which would otherwise leave you flat and then accidentally short, or holding twice the position you intended.

What is the difference between a bracket order and an OCO order?

An OCO is any two linked orders where filling one cancels the other. A bracket is a specific use of that idea, built around a single position, with a target above and a stop below the entry. Every bracket is an OCO pairing of its two exits, but you can place an OCO on orders that are not a target and stop at all, such as two breakout entries on different stocks.

Do bracket orders protect you from gaps?

No. The stop side of a bracket is still an ordinary stop, which becomes a market order once the price trades through it. If a stock gaps far below your stop overnight, the bracket sells at the open print, not at your stop price. Using a stop limit inside the bracket caps the fill price but then risks not selling at all. The automation schedules the exit; it does not remove the gap.

Are bracket orders good for beginners?

They help most with the discipline problem, because the target and stop are set before the position exists and cannot be widened in the heat of a loss. The risk is false comfort. A beginner who believes the bracket has fixed the risk may size too large, forgetting that a gap can still blow past the stop. Used with honest position sizing, a bracket is a reasonable default.