In volatile markets, you need to have precise control over when and how your trades are executed. The Immediate or Cancel (IOC) order provides you with precisely this control, ensuring that your trade is executed exactly when you submit it, or not at all.
How an Immediate or Cancel (IOC) Order Executes (and Partial Fills)
When an IOC order is placed, the trading system immediately checks the order book for a matching buyer or seller at the specified price. If a full match is available immediately, the trade is completed. If there’s no immediate match, the order is totally negated.
The complication is there is a partial fill. So if you place an order to buy 1,000 shares and there are only 400 shares available at your target price, it will instantly buy the 400 shares. The remaining 600 shares are immediately cancelled to leave the unfilled portion.
According to the broker’s standard policy on order validity, unmatched portions of an IOC order are not kept in the order book. This zero-wait execution ensures that capital is not unnecessarily tied up in case of a rapid movement in the stock price. With this mechanism, you get an instant binary result: either the trade is executed at your precise terms or the residual capital is immediately unlocked for other opportunities.
IOC vs. Day Order: Which Should You Choose?
A Day Order is the default on most trading platforms and remains open until the market closes at 3:30 PM. But an IOC order has a shelf life of a fraction of a second. It’s a function of how much you need to be sure right away versus how much you can wait on price.
Time-bound orders such as an IOC protect investors from unexpected price gaps in highly volatile environments. A Day Order may have an open bid that is filled hours later at a less favorable momentum point.
Feature Comparison Table
| Feature | Immediate or Cancel (IOC) | Day Order |
|---|---|---|
| Execution Speed | Milliseconds | Anytime before market close |
| Unfilled Portion | Automatically canceled | Remains pending in order book |
| Risk of Price Drift | Zero (instant execution) | High (can trigger late in the day) |
| Best Used For | Fast-moving markets, large blocks | Accumulating a position slowly |
Step-by-Step: Placing an IOC Order on Your Trading App
Most modern trading platforms make it easy to enter an IOC order, usually found under an advanced or validity setting. Before you attempt to place a live trade when the market is open, you should familiarise yourself with the interface.
- Open the Order Window: Select the desired stock and click ‘Buy’ or ‘Sell’ to open the standard order entry screen on your broker’s application.
- Choose Order Type: Select either ‘Market’ or ‘Limit’ based on whether you want the current available price or a specific price limit.
- Change Order Validity: Locate the ‘Validity’ dropdown—which typically defaults to ‘Day’—and change it to ‘IOC’.
- Review and Execute: Confirm the quantity and price, understanding that any unmatched shares will instantly disappear from pending orders upon swiping to execute.
Conclusion
Immediate or Cancel (IOC) orders give active traders control and speed. By executing instantly or canceling the remainder, IOCs prevent capital from being stuck in volatile moves and eliminate price drift risk. While Day orders are better for gradual accumulation, IOCs shine for large block trades, news-driven moves, and when you need certainty at a specific price. Use IOC strategically to protect against slippage and keep your trading plan disciplined.
Frequently Asked Questions (FAQs)
What happens to brokerage on partial IOC fills?
In general, brokerage fees are only paid for the completed part of the trade and not the part cancelled. For an IOC order of 100 shares, if only 40 shares are filled, then you only pay the brokerage and taxes on the 40 shares. But if you place a further order for the remaining 60 shares, this will be considered a completely separate trade and will attract its own flat brokerage fee.
When should I use an IOC order?
For very volatile stocks or for large block trades in which price slippage is an important consideration, the best practice in the industry is to use an IOC order. This is also very effective when finalizing a trade before leaving the trade screen, so no unmonitored orders are left pending in the market.
Disclaimer
This article is intended for educational and informational purposes only and should not be construed as investment or trading advice. Trading involves substantial risk of loss. Readers should evaluate their individual circumstances and consult a qualified financial advisor before placing any orders.