One-Cancels-All (OCA) Order

Order Types
intermediate
3 min read
Updated Feb 20, 2026

What Is an OCA Order?

A group of linked orders where the execution of one automatically cancels the remaining orders in the group. This advanced order type is used for managing multiple potential outcomes simultaneously.

An OCA (One-Cancels-All) order is not a single order type like a "Market" or "Limit" order, but rather a *relationship* between multiple orders. When you create an OCA group, you are instructing your broker to treat a set of orders as mutually exclusive alternatives. Imagine you are long 100 shares of a stock at $50. You want to sell if it hits $60 (profit) or $45 (loss). You could place two separate orders: 1. Sell Limit at $60. 2. Sell Stop at $45. Without OCA linking, if the stock hits $60 and you sell, but then crashes to $45 later that day, your stop order would trigger, leaving you short 100 shares unintentionally. An OCA order prevents this by automatically cancelling the $45 stop the moment the $60 limit is filled.

Key Takeaways

  • The One-Cancels-All (OCA) Order functionality is a risk management tool provided by advanced trading platforms.
  • It is most commonly used to place a "bracket" around an existing position, consisting of a profit-taking limit order and a stop-loss order.
  • If the limit order is filled, the stop-loss is instantly cancelled, preventing the trader from accidentally opening a new position.
  • OCA groups can also be used for entry strategies, such as placing a buy stop above resistance and a sell stop below support (a straddle).
  • Traders must understand how partial fills are handled; usually, the remaining orders in the group are reduced proportionally.

How to Place an OCA Order

On most professional trading platforms (like Interactive Brokers TWS or Thinkorswim), the process involves: 1. Create Orders: Enter the order details for each potential trade (e.g., Buy Limit, Sell Stop) but do not transmit them yet. 2. Group Them: Select the orders and assign them to an "OCA Group" using a unique identifier (often a name or number). 3. Set Logic: Choose the cancellation rule. The standard is "Cancel All," meaning if one fills, cancel the rest. Some platforms offer "Reduce With Overfill Protection," where partial fills reduce the quantity of other orders. 4. Transmit: Send the group to the exchange/broker.

Mechanics of Partial Fills

A critical aspect of OCA orders is how they handle partial executions. If you have an OCA group with Order A (100 shares) and Order B (100 shares), and Order A gets a partial fill of 40 shares: * Standard Behavior: Order B is typically reduced to 60 shares to maintain the intended protection ratio. * Overfill Protection: The system recalculates the remaining quantity to ensure you are not over-exposed.

Example: The "Breakout" Entry Strategy

A trader sees a stock consolidating in a triangle pattern between $100 and $105.

1Step 1: The Plan. Buy if it breaks above $105. Short if it breaks below $100.
2Step 2: The OCA Group. Create a Buy Stop order at $105.10 and a Sell Stop order at $99.90.
3Step 3: Link. Assign both to OCA Group "TriangleBreakout".
4Step 4: Execution. The stock rallies to $105.10. The Buy Stop triggers and fills.
5Step 5: Cancellation. The Sell Stop at $99.90 is immediately cancelled by the system.
6Step 6: Result. The trader is Long 100 shares and has no lingering sell orders below the market.
Result: The trader captured the breakout direction without needing to stare at the screen.

Advantages

1. Risk Control: Eliminates the risk of "double execution" or unintended positions. 2. Flexibility: Allows for complex strategies involving multiple scenarios (e.g., entering long, short, or neutral). 3. Efficiency: Frees the trader from manual order management.

Risks to Be Aware Of

1. Rejection Risk: If one order in the group is rejected (e.g., due to insufficient funds), the entire group might be cancelled depending on broker settings. 2. Latency: In extremely volatile markets, there is a tiny window where both orders could theoretically trigger before cancellation reaches the exchange.

FAQs

Yes, functionally. OCO (One-Cancels-Other) is simply an OCA group with exactly two orders. The term "OCA" is broader and can include three or more orders.

No. While standard on platforms like Interactive Brokers, TradeStation, and Thinkorswim, many retail "app-based" brokers (like Robinhood) may only offer simple OCO or bracket orders, or none at all.

Yes, you can typically modify the price or quantity of an active order within an OCA group. The link to the other orders usually remains intact.

Usually, cancelling one order in an OCA group will automatically cancel all other orders in that group to prevent partial strategies from remaining active. Check your broker's specific behavior.

The Bottom Line

The One-Cancels-All (OCA) Order is a sophisticated tool for traders who demand precision and automation in their execution. By linking multiple potential orders, it ensures that your strategy plays out as intended—executing one scenario while simultaneously neutralizing the others. Whether used for protecting profits with bracket orders or capturing breakouts with entry orders, mastering OCA functionality is a hallmark of professional risk management.

At a Glance

Difficultyintermediate
Reading Time3 min
CategoryOrder Types

Key Takeaways

  • The One-Cancels-All (OCA) Order functionality is a risk management tool provided by advanced trading platforms.
  • It is most commonly used to place a "bracket" around an existing position, consisting of a profit-taking limit order and a stop-loss order.
  • If the limit order is filled, the stop-loss is instantly cancelled, preventing the trader from accidentally opening a new position.
  • OCA groups can also be used for entry strategies, such as placing a buy stop above resistance and a sell stop below support (a straddle).