Skip to content
Menu
Finabase Learn

Glossary

Immediate-or-cancel order (IOC)

An order that fills whatever quantity is available at once and cancels the rest; partial fills are allowed, unlike fill-or-kill.

On this page
  1. How it compares
  2. Why traders use it
  3. Things to keep in mind
  4. Related terms

Immediate-or-cancel (IOC) is a time-in-force instruction. It tells the market to execute as much of the order as it can right now and cancel whatever is left. Nothing rests in the order book afterward. It is normally attached to a limit order.

How it compares

Instruction Partial fill? Unfilled part
Day or Good 'til canceled (GTC) Yes Rests in the book
Immediate-or-cancel Yes Canceled at once
Fill or kill (FOK) No Whole order canceled
All-or-none order (AON) No Whole order waits

IOC and fill-or-kill both demand immediate action. The difference is that IOC accepts part of the quantity and fill-or-kill insists on all of it.

Why traders use it

  • To take visible liquidity without showing their hand. A resting order tells the market someone wants to buy. An IOC takes what is on offer and leaves no trace.
  • To probe for hidden orders at a price, since any hidden liquidity will fill.
  • To avoid stale orders. In a fast market, a leftover limit order can be filled later at a price that is no longer attractive.
  • In algorithms. Automated strategies send streams of IOC orders to several exchanges at once.

Things to keep in mind

  • A small fill can cost more per share at brokers that charge a minimum commission per order.
  • You may end up with an odd quantity, which matters for options, where one contract covers 100 shares.
  • It gives no price improvement by itself. The limit price still governs.

Many retail brokers offer IOC only on certain order tickets or for options.

Written and fact-checked by Finabase Research. Last reviewed . Spotted an error? Tell us.

Educational content, not investment advice. Finabase Learn explains how markets and tools work. It does not recommend any security or strategy, and examples are for illustration only. Investing involves risk, including the loss of principal. Rules and figures are for the United States unless stated and can change — check the cited source before you act. Data and corrections policy.