Skip to main content
← Back to I Definitions

Immediate or cancel order

What Is Immediate or Cancel Order?

An immediate or cancel (IOC) order is a type of instruction given to a broker or trading platform to execute a trade for a security, either in whole or in part, as soon as the order is presented in the market. Any portion of the order that cannot be filled immediately is automatically canceled10, 11, 12. This characteristic places the immediate or cancel order within the broader category of Order Types in Securities Trading, specifically under "time in force" instructions that dictate how long an order remains active. Unlike other order types that might remain open until fully executed or a specific time, the immediate or cancel order prioritizes swift, albeit potentially partial, Order Execution. It can be used for both Market Orders, which seek the best available price, and Limit Orders, which specify a maximum buy price or minimum sell price9.

History and Origin

The concept of order types, including those with specific time-in-force instructions like the immediate or cancel order, evolved significantly with the advent of electronic trading and increasing market sophistication. In earlier, floor-based trading environments, the "immediacy" of an order was often managed through direct interaction between brokers. As stock exchanges transitioned to electronic systems, the need for precise, automated instructions on how long an order should remain active became critical for efficient Broker-Dealer operations and managing Liquidity.

Regulatory bodies, such as the U.S. Securities and Exchange Commission (SEC), have played a role in standardizing and requiring disclosures related to order handling, which includes immediate or cancel orders. For instance, recent amendments to Rule 605 under Regulation National Market System (Regulation NMS) aim to modernize the disclosure of order execution information, establishing new order-type categories such as marketable immediate-or-cancel (IOC) orders to enhance transparency in the financial markets8.

Key Takeaways

  • An immediate or cancel (IOC) order demands immediate execution of all or any available portion of the trade.
  • Any shares or contracts that are not filled at the moment the order reaches the market are automatically canceled.
  • IOC orders can be placed as either market orders (executed at the best available price) or limit orders (executed at a specified price or better).
  • This order type is particularly useful for investors seeking to ensure at least partial execution quickly, especially in fast-moving or volatile markets.
  • The primary benefit is preventing an order from remaining outstanding and potentially filling at an undesirable price later.

Interpreting the Immediate or Cancel Order

The immediate or cancel order is interpreted as a clear directive to prioritize speed of execution over complete fulfillment for the specified quantity. When a trader places an immediate or cancel order, they are signaling that they would rather have a partial fill now than wait for the entire order to be filled later, which could expose them to adverse price movements. For instance, if an investor wants to buy 1,000 shares of a Security and only 700 shares are immediately available at their desired price (or the current market price for a market order), the 700 shares will be bought, and the remaining 300 will be canceled7. This can be particularly relevant in markets with wide Bid-Ask Spreads or lower liquidity, where finding a large block of shares at a single price can be challenging. It emphasizes the importance of securing some position immediately, even if it's not the full desired amount.

Hypothetical Example

Imagine an investor, Sarah, wants to buy 500 shares of TechCorp (TCHP) stock, which is currently trading at around $100 per share on the Stock Market. She believes the price might rise sharply in the next few minutes, so she needs to acquire the shares quickly. Sarah decides to place an immediate or cancel limit order to buy 500 shares of TCHP at a limit price of $100.

When her Broker-Dealer sends the order to the exchange:

  1. The order is presented to the market.
  2. Immediately, 300 shares of TCHP are available at $100 per share.
  3. These 300 shares are executed for Sarah's order.
  4. Since the remaining 200 shares cannot be filled at $100 immediately, that unfilled portion is automatically canceled.

Sarah now owns 300 shares of TCHP at $100, and she doesn't have an open order for the remaining 200 shares, removing the risk of those shares being filled at a higher price later if the stock moves up.

Practical Applications

Immediate or cancel orders are frequently used in dynamic trading environments, particularly by institutional investors and those engaged in Automated Trading or high-frequency trading. These participants often need to execute large orders or manage positions rapidly, where securing at least a partial fill is more critical than waiting for the entire order to be met.

For large Block Trade executions, an immediate or cancel order helps institutional investors gauge immediate market depth without leaving a lingering order that could influence the market negatively or be filled at an undesirable price. By allowing partial fills, it provides flexibility, enabling traders to take what the market can immediately offer and then re-evaluate or place new orders for the remaining quantity if needed. The Financial Industry Regulatory Authority (FINRA) highlights that this option allows traders to "take what you can get," serving as an instruction to fill as much of the order as possible right away, canceling the remainder6.

Limitations and Criticisms

While immediate or cancel orders offer distinct advantages in terms of speed and avoiding lingering open orders, they come with certain limitations. The most significant drawback is the potential for partial fills, which means the investor may not acquire or liquidate the full desired quantity of shares. If an investor's strategy requires the execution of an entire order, a partial fill from an immediate or cancel order can disrupt their intended position or hedging strategy. This necessitates careful post-trade management to address the unfilled portion.

Another criticism is that if the market is thinly traded or lacks sufficient Liquidity at the desired price, the order might be completely canceled, resulting in no execution at all5. This can lead to missed opportunities, especially if the price subsequently moves away. For certain strategies, managing the Execution Risk associated with partial or no fills can be complex, and significant Slippage might still occur for the executed portion if it's a market order in a fast-moving market.

Immediate or Cancel Order vs. Fill or Kill Order

The immediate or cancel (IOC) order is often confused with the Fill or Kill Order (FOK) due to their shared emphasis on immediate execution. However, a crucial distinction separates them:

FeatureImmediate or Cancel (IOC) OrderFill or Kill (FOK) Order
Partial FillAllows for partial execution; any unexecuted portion is canceled.Requires the entire order to be executed; no partial fills allowed.
ImmediacyMust be executed immediately.Must be executed immediately.
Unfilled ActionUnfilled portion is canceled.Entire order is canceled if not fully executed.

Essentially, an IOC order says, "Give me what you can immediately, and cancel the rest." An FOK order, conversely, states, "Give me all of it immediately, or give me nothing at all." The choice between the two depends entirely on whether a partial fill is acceptable to the trader's strategy.

FAQs

Can an immediate or cancel order be a limit order?

Yes, an immediate or cancel order can be a Limit Order or a Market Order4. When an IOC order is placed as a limit order, it means that any portion of the order that can be filled immediately at or better than the specified limit price will be executed, and the remainder will be canceled.

Why would an investor use an immediate or cancel order?

Investors primarily use immediate or cancel orders to ensure rapid execution and to avoid having an order remain open in the market for an extended period3. This is particularly beneficial in volatile markets where prices can change quickly, as it limits the risk of an order filling at an unfavorable price later. It's common for active traders, including those involved in Day Trading, who prioritize immediate action.

What happens if an immediate or cancel order is not filled at all?

If an immediate or cancel order cannot be executed, even partially, as soon as it is presented to the market, the entire order is automatically canceled1, 2. It will not remain active to wait for more favorable conditions or liquidity.

Are immediate or cancel orders suitable for all investors?

Immediate or cancel orders are generally more suited for experienced traders, institutional investors, and those using Automated Trading strategies who understand the nuances of Market Volatility and order flow. For long-term investors or those less actively managing their portfolios, simpler order types like a Good 'Til Canceled Order might be more appropriate.

Do immediate or cancel orders guarantee price improvement?

No, an immediate or cancel order does not guarantee Price Improvement. While it aims for immediate execution at the best available prices at that moment, particularly with a market IOC, the actual execution price depends on the prevailing liquidity and market conditions. It prioritizes speed and immediate (partial) fill over guaranteeing a specific price outcome beyond what's immediately available.