What is IOC in the Share Market?

Anjali Kalan

Last Updated: 30 Jun 2026, 07:21 PM IST

What is IOC in Share Market?
Content

Introduction

An Immediate or Cancel (IOC) order is a stock market order that must be executed immediately, either fully or partially, with any unexecuted quantity cancelled automatically. In stock trading, the timing of an order can be just as important as the price. Traders often need a way to execute orders quickly without leaving them open in the market for an extended period. This is where an Immediate or Cancel (IOC) order becomes useful. An IOC order requires immediate execution once it is placed. If only part of the order can be matched at the specified price, that portion is executed instantly, while the remaining quantity is cancelled automatically. Understanding the IOC meaning in the stock market is crucial for investors, because it helps traders execute orders efficiently during volatile market conditions, where prices can change rapidly. 

What Is an Immediate or Cancel Order (IOC)?

The stock market moves quickly, with thousands of buy and sell orders placed throughout the trading day. In such conditions, investors often need an order type that can execute immediately without remaining pending in the market. This is where an Immediate or Cancel (IOC) order becomes useful.

An Immediate or Cancel (IOC) order is an instruction to buy or sell a security that must be executed as soon as it reaches the exchange. If the entire order cannot be matched instantly, the available portion is executed, while the remaining unfilled quantity is cancelled automatically.

IOC orders are commonly used by traders who want quick execution and do not want their orders to remain active in the market. They can be placed as either market orders or limit orders, depending on the trader's preference. This order type is particularly useful during periods of high market volatility, where prices can change rapidly within a short time.

Unlike standard orders that may stay open until executed or cancelled, an IOC order focuses on immediate execution. It allows traders to capture available market opportunities while reducing the chances of having pending orders exposed to changing market conditions.

Basics of an IOC Order

Investors can submit "Limit" or "Market" immediate or cancel orders (IOCs) depending on their specific enforcement requirements. IOC limit orders can be quoted at a specific price, but the IOC market orders are placed at the best bid price to sell and the best offer price to buy.

IOC orders differ from other runtime orders in that they only require partial execution. GTC orders remain active until they are executed in the market or cancelled by the client. IOC orders help investors achieve price improvements by limiting risk, speeding execution, and increasing flexibility.

Benefits of an IOC Order and When Is It Useful?

An IOC order can be useful when traders need quick execution and greater control over how their orders are handled in changing market conditions.

  • Faster order execution: The order is processed immediately, helping traders take advantage of market opportunities without delay.
  • Reduces pending orders: Any unexecuted quantity is cancelled automatically, preventing unwanted open positions.
  • Useful in volatile markets: When prices move rapidly, an IOC order helps traders execute available quantities at the desired price level.
  • Better control over trades: Traders can decide whether to accept partial execution instead of waiting for the full order to be completed.
  • Suitable for active traders: Many short-term traders use IOC orders to respond quickly to changing market conditions.
  • Helps manage liquidity issues: It can be useful when there may not be enough buyers or sellers available for the entire order quantity.

Features of the IOC Order

The following features make IOC orders a preferred choice for traders seeking immediate execution and efficient order management.

  • Orders are executed immediately after placement.
  • Unfilled quantities are cancelled automatically.
  • Partial execution is allowed.
  • The order does not remain active in the market.
  • Suitable for both buy and sell transactions.
  • Can be placed as a market order or a limit order.
  • Helps traders avoid unwanted pending orders.
  • Often used in fast-moving market conditions.
  • Provides greater flexibility in trade execution.
  • Supports efficient order management.

What is the Need for an IOC?

IOC orders address situations where speed, liquidity, and timely execution are important to a trading strategy.

  • Quick execution matters:Traders may need immediate execution when market prices are changing rapidly.
  • Avoid waiting in the order book:IOC orders eliminate the need for orders to remain pending for long periods.
  • Manage market risk:Cancelling the unfilled portion helps reduce exposure to sudden price changes.
  • Take advantage of available liquidity:Traders can execute the quantity currently available in the market.
  • Support trading strategies: Certain short-term trading strategies rely on immediate execution rather than delayed order fulfilment.

When is an IOC Order Effective?

IOC orders are most effective when you need to place large orders but do not want to impact the market. Bulk orders can affect prices if left open for extended periods, especially for small inventories.

The IOC does not stay open for a long time, but the partial fulfilment options make it a more flexible option. Even if the number of stocks you are looking for is not available, the IOC will ensure that all available are assigned to traders rather than all-or-nothing orders.

IOC orders can be incorporated into your online trading account.  

IOC orders are also a powerful tool if you are trading on a free trading account using algorithms or programs.

It helps you trade agile and you don't have to monitor every big order you place.

Type of IOC Orders

  • IOC orders can be combined with limit and market orders.
  • If you use a limit IOC order, the order will be executed at the specific price you have selected.
  • Also, if you use a market IOC order, the order will be executed at the current best price available on the market.

Flexibility with IOC

IOC orders offer flexibility by allowing partial execution while automatically cancelling any unexecuted quantity. This gives traders more control over how orders are handled in changing market conditions.

For example, if a trader places an order for 1,000 shares and only 700 shares are available at the desired price, the available 700 shares will be executed immediately while the remaining 300 shares will be cancelled. This approach helps traders avoid keeping unfilled orders active in the market.

When to Place an IOC Order Type?

An IOC order may be considered in several market situations where immediate execution takes priority over keeping an order active.

  • During high market volatility: When prices are moving quickly and immediate execution is important.
  • When partial execution is acceptable: If receiving a portion of the requested quantity still meets the trading objective.
  • When avoiding open orders: Useful for traders who do not want orders to remain pending in the market.
  • When trading large quantities: Helps secure available liquidity without waiting for the full quantity to become available.
  • For short-term trading strategies: Frequently used by intraday and active traders who require quick order execution.
  • When market liquidity is uncertain: Allows traders to capture available opportunities without leaving residual orders.

How to Place IOC Orders in the Stock Market?

Placing an IOC order is a straightforward process and can be completed through most online trading platforms in a few simple steps.

Step 1: Log in to your trading account

Access your trading platform using your registered credentials.

Step 2: Select the stock

Search for and choose the stock you wish to buy or sell.

Step 3: Enter the order details

Specify the quantity, price (if applicable), and transaction type.

Step 4: Choose the IOC order type

Select "Immediate or Cancel (IOC)" from the available order validity options.

Step 5: Review the order

Verify all details, including quantity, price, and order type.

Step 6: Submit the order

Place the order. The available quantity will be executed immediately, while any unfilled portion will be cancelled automatically.

Difference Between Day Order and IOC Order in Trading

Understanding the strategic difference between a Day Order and an IOC Order is essential for advanced traders:

Parameter Day Order IOC Order
Validity Duration Valid till market close on the same day Valid for a few seconds or milliseconds
Partial Execution Waits for full or partial execution during the day Executes whatever is available instantly, and cancels the rest
Market Impact Higher due to longer exposure Minimal due to instant action
Use Case Suitable for patient traders Ideal for algo, institutional, or high-frequency trading
Risk Prone to market fluctuations Less exposed to time-based risk

In essence, IOC focuses on execution velocity, whereas Day Orders favour execution persistence.

Example of IOC Order

Let’s assume a trader wants to buy 1,000 shares of ABC Ltd at ₹150 per share.

They place an IOC Buy Order with a limit of ₹150.

The system checks the order book immediately.

Suppose only 300 shares are available at ₹150; these 300 shares will be instantly executed, and the remaining 700 shares are cancelled.

No manual cancellation is needed; the order auto-terminates.

This type of execution is vital during volatile market openings or when there’s limited time to react to price swings.

Conclusion

An Immediate or Cancel (IOC) order is a useful order type for traders who prioritise speed and flexibility in the stock market. It allows the available portion of an order to be executed immediately while automatically cancelling any unfilled quantity. This can help reduce the risk of pending orders and improve trade execution in fast-moving market conditions. Understanding how IOC orders work can help traders choose the most suitable order type based on their trading objectives and market conditions.

Disclaimer: Investment in securities market are subject to market risks, read all the related documents carefully before investing. For detailed disclaimer please Click here.

Frequently Asked Questions

IOC meaning in the share market stands for Immediate or Cancel. It is an order type that mandates instant execution of all or part of the trade, with any unexecuted portion automatically cancelled.

A normal (Day) order remains active until the market closes on that trading day, attempting to fill at the best available price. In contrast, an IOC order executes immediately and cancels any unfulfilled portion, reducing time-related market exposure.
 

The main benefit of an IOC order is quick execution. It allows traders to execute available quantities immediately while avoiding pending orders, which can be useful in fast-moving market conditions.

Yes. IOC orders are available for both buy and sell sides, providing fast-execution options for investors who are chasing liquidity or aiming to exit positions instantly without keeping the order open in the market.

An IOC limit order combines a specified price limit with immediate execution. The order is executed instantly at the limit price or a better price. Any quantity that cannot be filled immediately is cancelled automatically.

Day, IOC, and GTD are order validity instructions. A Day order remains active until the end of the trading session. An IOC order executes immediately or gets cancelled. GTD (Good Till Date) remains active until a specified date chosen by the trader.

IOC orders are generally intended for execution during active market hours. If placed outside trading hours, the order may be processed when the market opens, subject to the broker's policies and exchange rules.

If an IOC order is not executed, or only partially executed, the funds related to the unexecuted portion are usually released back to your trading account according to your broker's settlement process.

Open Free Demat Account

Be a part of 5paisa community - The first listed discount broker of India.

+91

By proceeding, you agree to all T&C*

footer_form