AnandRathi

What is IOC in Share Market?

What is IOC in Share Market?

Introduction

You're watching a stock. The price just dipped to exactly where you wanted to buy. You place the order, but by the time the exchange processes it, the price has already moved. 

This is the exact problem an IOC order solves.

Keep scrolling to know what is IOC order, why investors use it, when to use IOC order, how it’s different from Day order, GTC, or FOK, and what to do in worse case scenario. 

What Is IOC (Immediate or Cancel) Order in the Share Market?

An IOC (Immediate or Cancel) order is a trading instruction that tells the stock exchange to execute this trade right now (fully or partially) and cancel whatever doesn't fill in that instant. The entire process plays out within milliseconds. So, nothing sits in the order book waiting.

For example, let’s assume you want to buy 500 shares of a company at ₹100. If only 200 shares are available at that price right now, the exchange will fill those 200 and cancel the remaining 300 automatically.

You can place an IOC order as either a market order (buy or sell at whatever price is available right now) or a limit order (buy or sell only at a specific price or better). Most traders pair IOC with a limit price for tighter control.

When to Apply IOC Order?

Now that you know What is IOC, the next question comes “When to use IOC order”? 

If you're a long-term investor buying 10 shares of a blue-chip stock, a regular Day order works perfectly fine. IOC starts making sense when

1.Large Quanlity orders

If you're buying or selling a large block (say 5,000 or 10,000 shares), it can signal your intent to other traders. They may front-run your order, pushing the price up before you're fully filled. 

 

Hence, an IOC order grabs whatever's available instantly and removes the rest, reducing your market footprint.

2. Fast-Moving Markets

During earnings announcements, budget days, or RBI policy updates, stock prices can swing sharply within minutes. An IOC order lets you attempt a trade at the current price without risking a fill at a completely different price 20 minutes later.

 

Some traders use IOC for thinly traded stocks to avoid getting stuck with a pending order in a dead order book. But be careful here. 

 

If there aren't enough buyers or sellers, your IOC order may cancel entirely, and you'll need to try again.

IOC vs GTC vs FOK vs Day Order: Which Order Type Should Beginners Use?

Opening the app screen and seeing IOC, GTC, FOK, Day order together is another confusion. Before using any, learn the difference between them:

 

  1. Day Order - Stays active until the market closes at 3:30 PM (on NSE/BSE). If it doesn't fill by then, it cancels automatically.
  2. GTC (Good Till Cancelled) order — Also called GTT (Good Till Triggered) by brokers stays active for days, weeks, or even months until your target price is hit.
  3. FOK (Fill or Kill) order - It demands the full quantity be filled immediately, not a single share less. If even one share can't be matched right now, the entire order is killed. In short, no partial fills allowed.
  4. IOC (Immediate or Cancel) order - It sits between Day and FOK. It executes instantly, allows partial fills, and cancels whatever's left. It's faster than a Day order but more flexible than FOK.

 

Here's a quick reference:

Order TypeHow Long It Lasts?Partial Fill Allowed?Best For
DayUntil market close (3:30 PM)YesMost regular trades
IOCMilliseconds or Zero-durationYesFast execution, volatile stocks
FOKMillisecondsNo — all or nothingInstitutional, block trades
GTC/GTTDays up to 1 yearYesLong-term price targets

How to Place an IOC Order: Step-by-Step Beginner Guide

The process is nearly identical across most Indian trading platforms. Here's how it typically works:

 

Step 1 - Log into your trading app. 

Open your broker's app and log in with your credentials.

Step 2 - Search for the stock. 

Type the company name or ticker symbol in the search bar. 

Step 3 - Tap Buy or Sell. 

Choose the direction of your trade depending on whether you want to enter or exit a position.

Step 4 - Set the order type. 

Select "Limit" if you want to specify a price, or "Market" if you want whatever's available right now.

Step 5 - Change the validity to IOC

This is the step most people miss. Look for a dropdown or toggle labelled "Validity" or "Order Validity." It usually defaults to "Day." Switch it to "IOC."

Step 6 - Quantity & Price

Enter quantity and price, then confirm. Double-check your numbers. Hit the confirm or place order button. The exchange will attempt to fill it instantly.

If the order executes (fully or partially), you'll see the trade in your positions. If it doesn't match, it'll appear in your order book as "Cancelled," and you can decide whether to try again.

What if IOC order fails in Share market?

When an IOC order "fails," it simply means it couldn't find a matching buyer or seller at your specified price in that exact instant. 

Here's what actually happens behind the scenes, and what it means for you.

Scenario 1: No match at all 

You place an IOC limit order to buy 500 shares at ₹100. But nobody is selling at ₹100 right now. The entire order gets cancelled automatically. No shares are bough, nor money is deducted. 

Scenario 2: Partial fill

You want 500 shares at ₹100, and only 200 are available at that price. The exchange fills those 200, and the remaining 300 are cancelled. You now own 200 shares. The funds blocked for the remaining 300 shares are released back to your trading balance immediately.

Scenario 3: Market order IOC with no liquidity 

Suppose you place a market IOC in a thinly traded stock. If the bid-ask spread is very wide or there are no sellers at all, the order may cancel completely, even though you selected "market."

Conclusion: Should You Use IOC Orders?

IOC orders are a sharp tool, but they're not an everyday tool for most retail investors in India. Where IOC genuinely adds value is in situations where speed, precision, and clean order management matter. 

The biggest mistake beginners make with IOC is using it without understanding partial fills. Start with Day orders. 

A Day order gives the market more time to find a match. Alternatively, you can try placing multiple smaller IOC orders across slightly different price levels to improve your chances of getting filled.

Learn how the order book works, understand bid-ask spreads, and then if wished, IOC order could be the next choice.

Frequently Asked Questions

What is the full form of IOC in the share market?

IOC stands for Immediate or Cancel. It's a type of order validity where the trade executes instantly (fully or partially), and any unfilled portion is cancelled automatically by the exchange.

Does an IOC order charge extra brokerage?

No. IOC orders typically carry the same brokerage and transaction charges as any other order type. The only difference is in how long the order stays active — not in what you pay.

What's the difference between IOC and Day order?

A Day order stays active until 3:30 PM (market close on NSE/BSE). An IOC order is active for only milliseconds; it either fills instantly or gets cancelled. Day orders suit most trades, while IOC suits speed-sensitive situations.

Can I place an IOC order after market hours?

IOC orders are designed for live market sessions. You cannot place an IOC order during pre-market or post-market hours on NSE/BSE. For after-hours orders, use AMO (After Market Orders) with Day validity.

What happens to my money if an IOC order fails?

Nothing. If the order isn't filled, the blocked funds are released back to your trading balance immediately. No charges are applied for a cancelled order.

Disclaimer

The information provided in this article is for educational and informational purposes only. Any financial figures, calculations, or projections shared are solely intended to illustrate concepts and should not be construed as investment advice. All scenarios mentioned are hypothetical and are used only for explanatory purposes. The content is based on information obtained from credible and publicly available sources. We do not guarantee the completeness, accuracy, or reliability of the data presented. Any references to the performance of indices, stocks, or financial products are purely illustrative and do not represent actual or future results. Actual investor experience may vary. Investors are advised to carefully read the scheme/product offering information document before making any decisions. Readers are advised to consult with a certified financial advisor before making any investment decisions. Neither the author nor the publishing entity shall be held responsible for any loss or liability arising from the use of this information

Download TradeMobi App

  • Real-Time Market Data
  • Advanced Trading Tools
  • Expert-Backed Research