Orders, fills and positions
What is an IOC order?
The short answer
An IOC order is an immediate-or-cancel order. It tries to trade right away at your set limit price or better. Any part that cannot complete immediately is canceled instead of waiting. So a partial fill can happen, and the rest disappears. It is a speed focused instruction, not a promise of a full fill.
How it works
IOC answers a simple question: trade now or drop it. The limit price still matters. It sets the worst price you will accept. The immediate part means the order does not sit on the screen waiting for later buyers or sellers. If only some shares are available at once, that part can trade.
A trader enters IOC to buy 600 shares at 15.40 or better. Only 450 shares are available right then at that price. The order fills 450 and cancels the other 150. There is no leftover waiting for the next minute. If no shares are available at 15.40 or better, the whole order is canceled. That is different from a day order, which can wait until the broker's deadline.
Sources
- Fidelity: Stop! Know your trading ordersFidelity
- Fidelity: Trading FAQs, Order TypesFidelity
- Investor.gov: Stop, Stop-Limit, and Trailing Stop OrdersInvestor.gov
Checked against these pages on 2026-12-01. Education only, not financial advice. Rules can differ by country and change over time.
Keep learning
Related questions
- Can I place an order when the market is closed?
- Should I use a market order or a limit order as a beginner?
- What does it mean when an order is pending?
- What does order execution mean?
- What happens to my stop order if the price gaps?
- What is a day order?
Want to try it, with fake money?
The lessons, the practice desk and Pal are free to start. You learn it by doing it, and nothing you do there costs a cent.
Create a free account