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

Fill-or-Kill (FOK) Order

Intermediate

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

Also known as: FOK, Fill or Kill

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

A fill-or-kill (FOK) order requires the full requested quantity to be executed immediately the moment it reaches the market; if that is not possible, the order is cancelled entirely without executing any part. It combines two conditions: immediacy and completeness. It is used when a trader needs the full quantity at the requested price or no entry at all.

Quick summary

• Full and immediate execution or full cancellation. • Does not accept partial execution. • Used in large and multi-leg trades.

How it works

When an FOK order is sent, the system immediately looks for enough liquidity to execute the entire quantity at the set price or better. If it finds it, the order executes in one go; if it finds only part, nothing executes and the order is cancelled. This differs from an immediate-or-cancel (IOC) order, which accepts partial execution of the quantity available immediately and cancels the rest. It also differs from an all-or-none (AON) order, which requires completeness but not immediacy, so it can stay pending until the full quantity becomes available. FOK orders are often used by institutional traders and algorithms executing large trades, or in arbitrage strategies that require all legs of a trade to execute at once, because partial execution could leave the trader with an unbalanced position. On some forex platforms, FOK is used as an execution policy setting that determines what happens if sufficient liquidity is unavailable. In illiquid markets, FOK orders are frequently cancelled.

Example

A trader sends an FOK order to buy 5,000 shares with a limit of 20 riyals. The order book shows only 3,000 shares offered at 20 or less. Nothing executes and the order is cancelled immediately. Had it been an IOC order, 3,000 shares would have been bought and the rest cancelled.

Where you will see it

In order validity or fill policy options on advanced trading platforms, in institutional and algorithmic trading systems, and in exchange rules.

Why it matters

It matters for understanding advanced order execution options and avoiding unwanted partial positions in large or multi-leg trades.

How it is calculated

Execution condition: quantity immediately available at the set price or better ≥ requested quantity. Otherwise: quantity executed = zero.

How it differs from similar terms

• Immediate-or-cancel order: accepts immediate partial execution. • All-or-none order: requires completeness without immediacy. • Regular limit order: stays pending and accepts partial execution.

Common mistakes

Using FOK orders for large quantities in illiquid markets so they are constantly cancelled, or confusing them with IOC orders. Check market depth and choose the right type.

Related terms