One-Cancels-All (OCA)

Order Types
intermediate
4 min read
Updated Feb 20, 2026

What Is a One-Cancels-All (OCA) Order?

A conditional order instruction that links multiple orders together, stipulating that if one order is executed, the remaining linked orders are automatically cancelled.

A One-Cancels-All (OCA) order is a powerful tool for automated trade management. It essentially tells the broker: "Here are several potential orders. Execute whichever one hits the market price first, and then immediately kill the rest." This logic is crucial for risk management. Without OCA functionality, a trader placing both a profit target and a stop-loss would run the risk of *both* orders being filled if the market is volatile (e.g., price hits the target, then crashes to the stop). With an OCA group, the execution of the profit target instantly removes the stop-loss risk. While "One-Cancels-Other" (OCO) usually refers to a pair of orders, "One-Cancels-All" (OCA) is the broader term that can include three or more linked orders.

Key Takeaways

  • One-Cancels-All (OCA) orders allow traders to set up multiple scenarios simultaneously, automating their trade management.
  • The most common application is the "One-Cancels-Other" (OCO) order, which pairs a stop-loss with a take-profit order for an existing position.
  • OCA groups can include more than two orders, useful for strategies where a trader wants to enter a position on a breakout in either direction.
  • By using OCA orders, traders can define their risk and reward parameters in advance, removing emotion from the exit decision.
  • If the trader manually cancels one order in the group, the broker typically cancels the entire group to prevent unintended open orders.

How OCA Orders Work

The mechanism relies on the broker's server holding the orders inactive or active but linked. 1. Placement: The trader submits a group of orders (e.g., Order A, Order B, Order C) with the OCA instruction. 2. Monitoring: The broker monitors market conditions for all orders. 3. Trigger: As soon as one order (say, Order A) is filled or partially filled, the broker sends cancellation requests for Order B and Order C. 4. Completion: The trader is left with the position resulting from Order A, and no pending orders from the group.

Common Use Case: The Bracket Order

The most frequent use of OCA is in a "bracket order" for an open position. * The Position: Long 100 shares of XYZ at $100. * The Goal: Take profit at $110, stop loss at $95. * The OCA Group: * Order 1: Limit Sell 100 shares at $110 (Take Profit). * Order 2: Stop Sell 100 shares at $95 (Stop Loss). * Outcome: If the price rises to $110, the limit sell executes, and the stop loss at $95 is cancelled. If the price falls to $95, the stop sell executes, and the limit sell at $110 is cancelled.

Real-World Example: Straddle Strategy

A trader expects a big move in a stock currently trading at $50 but doesn't know the direction (e.g., ahead of earnings).

1Step 1: Create an OCA group for ENTRY.
2Step 2: Order A: Buy Stop at $52 (to catch a breakout up).
3Step 3: Order B: Sell Stop at $48 (to catch a breakdown down).
4Step 4: Scenario. The earnings are good, and the stock jumps to $53.
5Step 5: Execution. Order A triggers at $52. The trader is now Long. Order B at $48 is instantly cancelled.
6Step 6: Result. The trader caught the upward move without being exposed to the downside order remaining open.
Result: The OCA group allowed the trader to "straddle" the market and enter on whichever side the momentum appeared.

Advantages of OCA Orders

1. Automation: You don't need to watch the screen constantly. 2. Discipline: It forces you to plan your exit points before entering the trade. 3. Risk Reduction: Prevents the "double fill" nightmare where you end up with an unintentional position because you forgot to cancel an old order.

Disadvantages and Risks

In extremely fast-moving markets, there can be a slight latency between one order filling and the others cancelling. It is theoretically possible (though rare) for a second order to be filled before the cancellation request is processed ("overfill"). Also, if you manually intervene and cancel one leg, ensure the broker's system cancels the rest as expected.

FAQs

OCO (One-Cancels-Other) typically refers to a group of exactly two orders. OCA (One-Cancels-All) is the general term and can refer to a group of two or more orders. Functionally, they rely on the same logic.

Yes. As shown in the "Straddle" example, you can use OCA to set up multiple potential entry points (e.g., Buy Limit at support, Buy Stop at resistance) and have only one execute.

Yes, most advanced brokers support OCA groups for options orders (e.g., managing a vertical spread exit).

Typically, the other orders in the group are reduced by the same amount. If Order A is for 100 shares and gets a partial fill of 50, Order B (the stop) will usually be reduced to 50 shares to match the remaining exposure.

Most active trading platforms (Interactive Brokers, Thinkorswim, TradeStation) support OCA. Basic brokerage apps may only support simple OCO brackets or not offer this functionality at all.

The Bottom Line

One-Cancels-All (OCA) orders are an essential tool for the disciplined trader. By linking exit strategies or potential entry points, they allow for "set it and forget it" trade management that strictly adheres to a predetermined plan. Whether used to bracket a position with a stop-loss and profit target or to capture a breakout in either direction, OCA functionality minimizes the mechanical risks of trading and helps enforce emotional discipline.

At a Glance

Difficultyintermediate
Reading Time4 min
CategoryOrder Types

Key Takeaways

  • One-Cancels-All (OCA) orders allow traders to set up multiple scenarios simultaneously, automating their trade management.
  • The most common application is the "One-Cancels-Other" (OCO) order, which pairs a stop-loss with a take-profit order for an existing position.
  • OCA groups can include more than two orders, useful for strategies where a trader wants to enter a position on a breakout in either direction.
  • By using OCA orders, traders can define their risk and reward parameters in advance, removing emotion from the exit decision.