London, United Kingdom
+447351578251
info@traders.mba

Immediate or Cancel Order (IOC)

Support Centre

Welcome to our Support Centre! Simply use the search box below to find the answers you need.

If you cannot find the answer, then Call, WhatsApp, or Email our support team.
We’re always happy to help!

Table of Contents

Immediate or Cancel Order (IOC)

An Immediate or Cancel Order (IOC) is a type of order used in trading that instructs the broker to execute the order immediately at the best available price. Any portion of the order that cannot be filled right away is canceled. This type of order is typically used by traders who want to execute a transaction quickly and do not wish to leave an open order in the market for an extended period.

Understanding Immediate or Cancel Order (IOC)

The primary feature of an IOC order is its requirement for immediate execution. When a trader places an IOC order, they are asking for the order to be filled as soon as possible, and if any part of the order cannot be filled immediately, that portion is canceled. This makes the IOC order ideal for traders who do not want to wait for an order to be completed over time and want to avoid having any remaining unfilled orders.

For example, if a trader places an IOC order to buy 100 shares of a stock, and only 50 shares are available at the current market price, the order will be partially filled for 50 shares. The remaining 50 shares of the order will be canceled, and no further action will be taken to fulfill the remaining order.

IOC orders are commonly used in fast-moving markets, where speed and precision are important, and where traders are looking to enter or exit a position quickly.

Key Features of an IOC Order

  1. Immediate Execution: The order must be executed as soon as it is received, meaning that any portion of the order that can be filled right away will be filled at the best available price.
  2. Partial Fills: If the entire order cannot be filled immediately, the portion that can be filled is executed, and the remaining unfilled part is canceled. The trader will not be left with an open order.
  3. No Postponed or Pending Orders: Unlike a Good Till Canceled (GTC) order, which remains open until it is either filled or canceled by the trader, an IOC order is canceled immediately if it cannot be fully executed.
  4. Best Available Price: The order is executed at the best available price, which could mean that the trader may receive a different price than expected, depending on the current market conditions.
  5. No Slippage: While IOC orders reduce the risk of leaving orders open in the market, there is a chance of slippage, which occurs when the execution price differs from the expected price due to market volatility.

When to Use an IOC Order

IOC orders are useful in several trading scenarios:

  1. Market Gaps: If a trader expects the price of an asset to move quickly and does not want to leave a pending order in the market, they might use an IOC order. This ensures that the trade is executed immediately and any unfilled portion is canceled.
  2. Fast-Moving Markets: In markets where prices are highly volatile or change rapidly, an IOC order can help traders act quickly. It ensures that only the portions of the order that can be filled immediately are executed, reducing the risk of getting stuck with an unfilled order.
  3. High-Frequency Trading (HFT): IOC orders are often used by algorithmic or high-frequency traders who need to execute trades in fractions of a second. They provide the speed necessary to take advantage of small price movements without leaving orders open.
  4. Limited Liquidity: If a trader wants to buy or sell a large amount of an asset but knows that there is limited liquidity in the market, an IOC order can help execute the trade for the portion that is available and cancel the rest.
  5. Avoiding Open Positions: Traders who do not want to leave any open orders in the market that could be executed at a later time might choose an IOC order. This ensures that they are not exposed to potential risks of market fluctuations while waiting for an order to be filled.

Example of an IOC Order

Let’s say an investor wants to buy 1,000 shares of a stock at the current market price, but the stock’s liquidity is limited. The trader places an IOC order to purchase 1,000 shares.

  • Scenario 1: The order is placed, and there are only 700 shares available at the current market price. The order fills for 700 shares, and the remaining 300 shares are canceled.
  • Scenario 2: If only 500 shares are available at the best price, 500 shares will be filled, and the remaining 500 shares will be canceled.

In both cases, the trader does not have an open order for the remaining shares, and the IOC order is considered completed, either partially or fully.

Advantages of IOC Orders

  1. Speed: IOC orders are executed immediately, which makes them suitable for traders who need to enter or exit positions quickly.
  2. Control Over Open Positions: The trader has control over whether an order remains in the market. With IOC orders, there are no pending orders left open for execution later.
  3. Minimized Exposure: The trader is not exposed to market risks for an extended period, as the order is either filled or canceled right away.
  4. Effective for Illiquid Markets: In markets with low liquidity, an IOC order helps execute the trade as much as possible based on available liquidity, while canceling the remainder.

Disadvantages of IOC Orders

  1. Partial Fills: The main downside of an IOC order is the possibility of partial fills, where only part of the order is executed, leaving the rest canceled. Traders may need to place new orders if they want to fill the remaining portion.
  2. Slippage Risk: Since IOC orders are filled at the best available price, there is a risk of slippage, where the final execution price may differ from the price the trader initially expected.
  3. No Flexibility: Unlike GTC (Good Till Canceled) orders, which remain in the market until they are fully filled or canceled by the trader, an IOC order is cancelled immediately if it cannot be fully executed, offering no flexibility for future execution.

Step-by-Step Guide to Using an IOC Order

  1. Determine Your Order Size and Market Conditions: Decide how much of an asset you wish to buy or sell and evaluate whether the market is liquid enough to fill the entire order or if partial fills are likely.
  2. Place Your IOC Order: On your trading platform, select the Immediate or Cancel order type, specify the number of shares or contracts you want to trade, and set the price at which you are willing to buy or sell (if applicable).
  3. Monitor the Execution: Once the order is placed, the broker will attempt to execute it immediately. You can monitor the order status to see how much of the order has been filled.
  4. Evaluate Partial Fills: If the order is partially filled, consider whether you want to place another order to complete the position or whether to adjust your strategy based on the remaining portion of the order being canceled.
  5. Review Your Trade: After the IOC order is executed (fully or partially), review the execution and ensure that the trade aligns with your strategy and risk tolerance.

FAQs

What is an Immediate or Cancel Order (IOC)?
An IOC order is a type of order that must be executed immediately. Any portion of the order that cannot be filled right away is canceled.

How is an IOC different from a GTC order?
A Good Till Canceled (GTC) order remains active in the market until it is either filled or canceled by the trader, while an IOC order must be executed immediately, and any unfilled portion is canceled right away.

When should I use an IOC order?
IOC orders are useful when you need to execute a trade quickly and do not want to leave a pending order open. They are particularly helpful in fast-moving markets or when liquidity is limited.

Can an IOC order be partially filled?
Yes, if the full order cannot be executed immediately, the order may be partially filled, with the remaining portion being canceled.

What happens if the entire IOC order is not filled?
If the entire order is not filled immediately, the unfilled portion is canceled, and the order is considered complete, either partially or fully.

Conclusion

An Immediate or Cancel Order (IOC) is a powerful tool for traders who need to execute trades quickly and efficiently, ensuring that their orders are either filled immediately or canceled. While IOC orders provide flexibility in terms of avoiding unfilled orders, they may also result in partial fills or slippage. Understanding when to use an IOC order, and monitoring the market conditions, can help traders take advantage of immediate trading opportunities while managing risks effectively.

IOC orders offer speed and certainty, allowing traders to act quickly in volatile markets and avoid leaving open orders that could be executed at unexpected prices. However, traders should always be mindful of the potential for partial fills and slippage when using this type of order.

Disclaimer: The content on this site is for informational and educational purposes only and does not constitute financial, investment, or legal advice. We disclaim all financial liability for reliance on this content. By using this site, you agree to these terms; if not, do not use it. Sach Capital Limited, trading as Traders MBA, is registered in England and Wales (No. 08869885). Trading CFDs is high-risk; 74%-89% of retail accounts lose money.