top of page

Technical Analysis & Trading

Immediate Or Cancel Order (IOC)

An order that must be executed immediately, and any portion that cannot be filled is canceled.

01

■ definition

About

Immediate Or Cancel Order (IOC)

An immediate or cancel order (IOC) is a trading instruction that must be executed immediately, and any portion that cannot be filled at once is canceled. A trader may specify a limit price, in which case only the quantity available at that price or better can fill immediately, and the unfilled remainder is canceled rather than left working in the market.

IOC orders are used when timing matters more than completing the full quantity, for example when a price is moving quickly or a trader wants to avoid leaving a stale order open. An IOC order may be fully filled, partially filled, or canceled entirely if no shares are available at the specified terms. It differs from a fill or kill order, which requires the entire quantity to fill immediately or the whole order is canceled. Because nothing is left working, the trader must actively decide whether to resubmit rather than discovering a fill hours later.

02

■ real-world examples

How It Plays Out in Practice

An immediate or cancel order (IOC) is a trading instruction that must be executed immediately, and any portion that cannot be filled at once is canceled. A trader may specify a limit price, in which case only the quantity available at that price or better can fill immediately, and the unfilled remainder is canceled rather than left working in the market.

IOC orders are used when timing matters more than completing the full quantity, for example when a price is moving quickly or a trader wants to avoid leaving a stale order open. An IOC order may be fully filled, partially filled, or canceled entirely if no shares are available at the specified terms. It differs from a fill or kill order, which requires the entire quantity to fill immediately or the whole order is canceled. Because nothing is left working, the trader must actively decide whether to resubmit rather than discovering a fill hours later.

03

■ key takeaways

What to Remember

◆

An IOC order must execute immediately, and any portion that cannot be filled at once is canceled rather than left working in the market.

◆

Partial fills are allowed: the quantity available at the limit price trades, and only the unfilled remainder is canceled automatically.

◆

Traders use IOC orders when timing matters more than completing the full quantity, such as when a price is moving quickly after news.

◆

An IOC differs from a fill or kill order, which cancels the entire order unless the whole quantity can execute immediately.

04

■ breaking it down

Understanding Immediate Or Cancel Order (IOC)

01

Immediate Execution or Cancellation

The venue attempts the order the moment it arrives. Whatever can be filled at the specified price or better executes; the rest is canceled in the same instant, so no residual order remains on the book to fill later at a stale price.

02

Partial Fills Are Normal

An IOC order can fill in part: if only part of the quantity is available at the limit price, that part trades and the balance is canceled. The trader ends with a smaller position than intended rather than a pending order.

03

IOC Versus Fill or Kill

Fill or kill is stricter: the entire quantity must execute immediately or the whole order dies. IOC accepts whatever is available now. The choice depends on whether a partial position is useful or worse than none at all.

04

Costs of the Time Limit

Demanding immediacy can mean missing the full quantity in a fast or thin market, and repeated IOC attempts can chase a moving price. The order type controls timing, not the quality of the price the market offers at that moment.

05

■ why it matters

The Importance of

Immediate Or Cancel Order (IOC)

Order types are where trading intentions meet market mechanics, and the IOC order exists for moments when a leftover order is a liability: after earnings news or a sudden price move, an order still working minutes later can fill at a price the trader no longer wants. Canceling the unfilled remainder automatically removes that stale-order risk.

For trading desks and brokers, understanding IOC behavior also matters for execution quality reviews. A pattern of partial fills signals thin liquidity at the chosen price, which should feed back into how future orders are sized and priced rather than simply being resubmitted unchanged.

did you know

An immediate or cancel order differs from a fill or kill order: an IOC order allows a partial fill with the rest canceled, while fill or kill requires the entire order to execute at once. If nothing is available at the stated price, an IOC order can also be canceled in full.

06

■ strategies

Using IOC Orders Carefully

Use IOC when a partial fill now is worth more than a complete fill later, and set the limit price to the worst level you will accept.

01

Pair IOC With a Limit Price

Attach a limit price so the immediate fill cannot occur above the level your analysis supports; immediacy without a price cap surrenders price control entirely.

02

Size for Available Liquidity

Check the displayed depth at your price before sending the order, and size it near what the book shows, since the excess will simply be canceled unfilled.

03

Expect and Plan for Partials

Decide in advance what a partial fill means for the position — hold it, complete it later, or exit — so a half-filled order does not leave the plan ambiguous.

04

Choose IOC Over Fill or Kill Deliberately

Use IOC when a partial position still serves the strategy, and fill or kill when anything less than the full quantity would leave an unbalanced exposure.

05

Avoid Chasing With Repeats

If an IOC order cancels unfilled, reassess the price and news before resubmitting, rather than firing repeated orders that chase a market moving away.

06

Record Fill Results

Log the filled and canceled quantities for each IOC order, so execution reviews can show whether the time limit is helping or quietly shrinking positions.

07

■ summary

The Bottom Line

An immediate or cancel order must execute the moment it reaches the market, with any unfilled portion canceled automatically instead of left working. It allows partial fills, unlike fill or kill, which requires the entire quantity at once. Traders use it when speed and avoiding a stale open order matter more than completing the full size, accepting that the position may end up smaller than planned.

■ related service

Want guidance on order types and disciplined trading procedures for your business?

Execution choices like order type quietly shape trading results, yet many teams set them by habit rather than by policy. Intenovate helps clients document trading procedures, review execution outcomes, and align order-handling rules with the discipline of their wider investment and finance strategy.

■ keep learning

Related Articles

bottom of page