The difference between an IOC and a Day order is how long the order stays alive. A Day order sits in the exchange's order book until it fills or the market closes at 3:30 PM. An IOC, short for Immediate or Cancel, tries to fill at the moment it arrives and instantly cancels whatever doesn't get filled.
That sounds like a small detail until you notice it sitting on every order ticket you'll ever place: Zerodha, Upstox, Groww, ICICI Direct, every broker out there. It's a one-click choice, and most beginners don't even know which one is selected by default. Which is fine, until the day it isn't.
This article is the version of "order validity" I wish someone had handed me in my first month of trading. We'll cover what each type actually does, when each one helps, the mistakes that quietly cost money, and a worked example so you can see the two side by side.
Short answer: Day orders are patient — they wait in the book all day. IOC orders are impatient — fill what's available right now, cancel the rest in milliseconds. Use Day for normal trading at a target price; use IOC for large orders, illiquid scrips, or when you don't want pending orders hanging around.
What Is a Day Order?
A Day order is an instruction to buy or sell a stock that stays valid for the rest of the trading session. The moment you place it, it enters the exchange's order book. From there, it waits for a matching counter-order until either you cancel it, it gets filled, or the market closes.
If 3:30 PM rolls around and your order hasn't been executed, the exchange automatically cancels it. You don't have to do anything. The slate is wiped clean overnight; tomorrow is a fresh order book and you'd have to place a new order if you still want the trade.
On NSE and BSE, Day is the default validity for almost every order you place. When you tap "Buy" or "Sell" on most broker apps without changing any advanced settings, you're placing a Day order.
Quick example. Reliance is trading at ₹2,820. You want to buy 50 shares but only if it dips to ₹2,810, so you place a limit Day order at ₹2,810. The order sits in the book.
If Reliance touches ₹2,810 at 11:42 AM, your order fills. If it never touches ₹2,810 all day, the order expires at 3:30 PM. Simple.
The impatient oneWhat Is an IOC Order?
An IOC order, short for Immediate or Cancel, has a completely different temperament. It doesn't wait. The moment your IOC arrives at the exchange, the matching engine looks at the order book, fills whatever it can right now, and cancels the rest. The whole thing finishes in milliseconds.
This means three things can happen the instant you place an IOC:
- Full fill. Your entire quantity matches at your price (or better). You're done.
- Partial fill. Some quantity matches, the rest gets cancelled instantly. You don't have to clean up anything.
- No fill. Nothing matches. The order is cancelled in a blink. No pending order, no follow-up needed.
IOC comes in two flavours. A market IOC grabs whatever's available at the best price right now — fast, but you're not in control of the price. A limit IOC only fills at the price you specified or better, and cancels anything that can't fill at that price. Same validity rule (fill now or vanish), different price discipline.
Here's the same Reliance example. You place an IOC limit order to buy 50 shares at ₹2,810. If 50 shares are available at ₹2,810 or lower at the moment the order hits the exchange, you get filled instantly. If only 30 are available, you get 30 and the remaining 20 are cancelled. If nothing is available at ₹2,810, the whole order is cancelled. Two seconds later there's no pending order on your screen.
A Booked Cab
You ask for a cab at a specific spot, at your terms. The driver waits. He'll keep waiting until you arrive or until his shift ends. If he hasn't picked you up by closing time, the ride simply expires.
Hailing an Auto on the Road
You raise your hand. The auto either stops in the next two seconds or it doesn't. There's no waiting list, no booking, no "I'll come back in an hour." Right now, or never.
This is the entire conceptual difference. Everything else, from partial fills to market vs limit IOC to the beginner mistakes below, is a footnote to this one idea. Day order waits. IOC doesn't.
Side by sideIOC vs Day Order — The Differences at a Glance
Most articles end here, but the interesting stuff is in the trade-offs. Here's the side-by-side that I'd put on a whiteboard in a beginner class.
| Dimension | DayDay Order | IOCIOC Order |
|---|---|---|
| How long it lives | Until filled, cancelled, or 3:30 PM — whichever comes first. | A few milliseconds. Fills or cancels almost instantly. |
| Patience for your price | High. Waits all day for the market to reach you. | None. If your price isn't available right now, the order is gone. |
| Partial fills | Possible across the day — the rest keeps trying till close. | Possible at the moment of placement — the unfilled portion is cancelled instantly. |
| Pending order on your screen | Yes — sits in the book, you can see and cancel it. | No — there's never anything to manage after placement. |
| Best for | Normal trades at a target price, working professionals who can't watch screens. | Large orders, illiquid stocks, fast-moving setups, discipline against forgotten orders. |
| Where it can hurt you | Order expires at close — if you wanted overnight carry, you have to repunch it. | If liquidity isn't there at your moment, the trade simply doesn't happen. |
The order book doesn't care about your strategy. It only cares about how long you're willing to wait.
— The validity is the strategyWhen a Day Order Is the Right Choice
Day orders are the default for a reason. Most retail trades, most of the time, are best served by patiently waiting in the book.
You have a target price and you're willing to wait. You think Infosys is overpriced at ₹1,540 and you'll only buy at ₹1,520 or below. Place a limit Day order at ₹1,520. If it touches, you get filled. If it doesn't, you've lost nothing — you weren't going to buy at any other price anyway.
You're a working professional who can't watch screens. You're a doctor with patients, an engineer with stand-ups, a teacher with classes. You can't sit and refresh your broker app. Day orders let you place your bet in the morning and check in at lunch. The system does the waiting for you.
The stock is liquid and the order is small. If you're buying 20 shares of HDFC Bank, the order book has so much depth at every price level that Day vs IOC barely changes anything in practice. Stick with the default.
One thing Day orders are not: they're not "good till I cancel". At 3:30 PM, NSE/BSE wipe the slate. If you want overnight or multi-day validity, you need a different order type — GTT on Zerodha, or your broker's equivalent of a Good-Till-Cancelled order.
When an IOC Order Is the Right Choice
IOC has a smaller but very real list of situations where it earns its keep. Here are the ones that show up most often in real trading.
You're placing a large order in a liquid stock. Say you want to buy 5,000 shares of Bank of Baroda. If you punch a regular limit order, you become visible in the order book, and other participants see your size. Some of them will trade against you. A market IOC grabs whatever's available in the milliseconds it's alive, then disappears. Your footprint in the book is minimal.
You're trading an illiquid stock and don't want a stale order. Imagine a small-cap that trades a few thousand shares a day. You place a Day limit order. By afternoon, the stock has moved 4%, your order is way off the action, and you forgot it's there. End of day it expires, but in the meantime your liquidity is locked up. An IOC fills what it can in the moment and gets out of the way.
You're a discretionary trader who doesn't want pending orders to manage. Some traders — especially intraday scalpers — actively prefer that nothing sits in the book after they hit Buy. If it didn't fill instantly, the setup is no longer valid. IOC enforces that discipline mechanically.
You're reacting to news or a fast-moving setup. Budget speech, RBI announcement, a stock cracking a key level — you want in now, at the current market, or not at all. A market IOC is precisely the right tool. A regular Day order at a stale price might miss the move, or fill at a level you no longer like.
iStox is a full simulation of today's NSE — same order ticket, same Day/IOC toggle, same fills. Place 50 of each type on liquid and illiquid stocks before you put real money on the order book. Reading about order validity is not the same as feeling a partial-fill IOC in your dashboard.
The Mistakes That Quietly Cost You Money
These are the four order-validity mistakes I see beginners make in real time — usually with a sheepish "I didn't realise that was a thing" afterwards.
Using a market IOC on an illiquid stock. You want 1,000 shares of a small-cap. You hit market IOC. The matching engine eats through the order book — 200 at ₹140, 300 at ₹143, 500 at ₹147 — and you end up with an average price 4% above where the last trade printed. Day or limit IOC would've kept the price honest. Market IOC plus illiquid stock equals expensive lesson.
Treating a Day order as "valid till I cancel". Beginners place a buy at a low limit price thinking the order will be there next week. At 3:30 PM it expires. Next morning Reliance gaps up, the trade they wanted is gone, and they only realise at lunchtime that the order isn't even active any more. Day means this day.
Using IOC when you should've been patient. The flip side. You place an IOC limit at a price the stock hasn't touched yet. It cancels. The stock comes to your price an hour later and you miss the move. A Day order would've waited and filled. This is the most common "wrong tool for the job" mistake.
Forgetting that IOC fills can be partial. You place an IOC for 500 quantity of a Bank Nifty option, expecting all-or-nothing. You get 80. Now your position is one-fifth the size you wanted, your risk profile is off, and you have to scramble to either complete the leg or close it. The fix: know that partial fills exist and decide in advance whether you'd be okay with one.
What actually happensA Worked Example — Same Trade, Two Validities
Let's put this on the table with one concrete trade and walk through it. Say you want to buy 200 shares of Tata Motors at a limit price of ₹920. We'll see what happens under three different states of the order book — under both Day and IOC validity.
Liquid moment — 200+ shares already on offer at ₹920
Thin moment — only 80 shares are available at ₹920 right now
Stock is at ₹927 — nobody is willing to sell at ₹920 yet
Look at scenarios two and three. That's where the choice actually changes your trading day. You walk away with a half-filled position, a pending order that quietly works for you, or nothing at all. Same trade idea, completely different outcomes.
Frequently Asked Questions
The questions I get on this topic, in every batch, in some form or another.
Is IOC better than Day order?
Neither is better. Each solves a different problem. Use a Day order when you want to wait for a specific price. Use an IOC when you want fill-or-vanish behaviour — typically for large orders in liquid stocks, illiquid scrips where you don't want a stale order hanging around, or when you don't want pending orders to manage manually. The skill is matching the validity to the situation.
Can an IOC order be partially filled?
Yes. If you place an IOC for 1,000 shares and only 400 are available at your price, the system fills the 400 and cancels the remaining 600 instantly. You're not left with a pending order for the unfilled portion. Plan for this — decide in advance whether a partial fill is acceptable for the trade you're putting on, especially in options and small-caps.
Does IOC work with both market and limit orders?
Yes. A market IOC fills at the best available price right now and cancels anything that can't be filled. A limit IOC fills only at your specified price or better and cancels anything that can't be filled at that price. Both follow the same validity rule — fill now or vanish — but the price discipline is different.
What happens to a Day order at the end of the trading day?
Any unfilled Day order is automatically cancelled by the exchange at market close — 3:30 PM IST on NSE and BSE. You don't need to cancel it manually. If you want it active the next day, you have to place it again — or use a GTT (Good Till Triggered) order on Zerodha or your broker's equivalent of a Good-Till-Cancelled order type.
Are IOC orders allowed in F&O and intraday segments?
Yes. IOC is available on equity, F&O, currency, and commodity segments on Indian exchanges. The validity choice on the order ticket is independent of the segment or product type. You can place a market IOC on a Bank Nifty option, an IOC limit on a stock future, or a Day order on cash equity — the toggle is always there.
If I close my broker app, does my Day order get cancelled?
No. Once a Day order is in the exchange's order book, it lives at the exchange — not on your phone. You can log out, close the app, lose network, even shut down your laptop, and the order continues to wait until it fills or until 3:30 PM. You only need to be online if you want to modify or cancel it manually before then.
The Honest Take
Day vs IOC isn't a debate. It's a tool selection. Day for patience, IOC for urgency. Most of your trades, most days, will be Day orders, and that's exactly correct. The interesting cases are when you reach for the other one on purpose, knowing precisely what it does and doesn't do.
Read this article once, then go place ten of each on paper. After that, you'll never have to look up "what does IOC mean" again. The understanding only sticks once you've watched a partial fill happen on your own screen.
Tools that pair with the order ticket
Small Details. Compounding Costs.
Order validity is one of fifty tiny mechanics that, learned correctly, separate consistently profitable traders from people repeatedly fixing avoidable mistakes. Both programs cover them live, in context.
Elite Traders Program
6 MONTHSFoundations through swing trading — including the order-ticket mechanics most YouTube tutorials skip entirely.
- Live sessions with VRD Rao
- 200+ hours recorded content
- Batch size capped at 25
- Personal trade reviews
Ultimate Traders Program
12 MONTHSEverything in Elite plus a full year of intraday — where order types and partial fills become daily decisions.
- Everything in Elite, plus:
- 150+ hrs live trading sessions
- Algo & advanced options masterclass
- Investing masterclass