تخطَّ إلى المحتوى الرئيسي

Immediate-or-Cancel (IOC) Order

Intermediate

أمر التنفيذ الفوري أو الإلغاء

Also known as: IOC, Immediate or Cancel

Orders, Execution & Pricing
Last updated

Definition reviewed before publishing

Our content team writes and reviews every definition before it is published, and revisits it when the way a term is used in the markets changes. The date shows the latest change to this term.

Last updated on 9 November 2026

An immediate-or-cancel (IOC) order requires whatever can be executed from the requested quantity to be filled immediately when it reaches the market, with any remaining part not filled at once cancelled. It accepts partial execution but does not allow the order to remain pending in the order book. It is used to take currently available liquidity without leaving resting orders.

Quick summary

• Immediate execution of what is available, with the rest cancelled. • Accepts partial execution. • Does not stay pending in the book.

How it works

When an IOC order is sent, it is matched immediately with available opposite orders at the set price or better. If enough quantity is available, it fills completely; if less, the available part fills and the rest is cancelled immediately; if none is available, the whole order is cancelled. This distinguishes it from an FOK order, which rejects any partial execution, and from a regular limit order, whose unfilled part stays pending in the book. Benefits of IOC orders include letting the trader capture available liquidity at an acceptable price without revealing intent by leaving a large visible order in the book, and preventing later execution in different market conditions. It is therefore widely used in algorithmic and high-frequency trading and in executing large trades in instalments. On forex and cryptocurrency platforms, IOC appears as a fill policy or order validity option. A drawback is that the trader may receive only a small part of the requested quantity.

Example

A trader sends an IOC order to sell 10,000 units with a limit of 1.2500. The book has a bid for 6,000 units at 1.2500 or higher. 6,000 fill immediately and the remaining 4,000 are cancelled without staying pending.

Where you will see it

In order validity options on advanced trading and cryptocurrency platforms, in algorithmic trading systems, and in exchange rules.

Why it matters

It helps execute available liquidity immediately without leaving resting orders and understand execution options in advanced systems.

How it is calculated

Quantity executed = the lesser of (requested quantity, quantity immediately available at the set price or better). Quantity cancelled = requested quantity - quantity executed.

How it differs from similar terms

• Fill-or-kill order: requires the full quantity or nothing. • Regular limit order: the unfilled part stays pending. • All-or-none order: requires completeness but may wait.

Common mistakes

Expecting the full quantity to always be filled, or using it when you want to wait for a better price. Use it only to take current liquidity and check the quantity filled.

Related terms