New$10 Sign Up Bonus & $30 Free Trial Reward
Start challenge

Fill-or-kill order

Also called FOK

An order that must be filled immediately and in full; if it cannot be, the whole order is cancelled. No partial fill is allowed.

Reading
2 min
Sources
5RegulatorPlatform docsExchange
Updated
On this page· 5 sections
  1. How it works
  2. Example
  3. Watch out
  4. Sources
  5. Related terms

Fill-or-kill asks for two things at once: all of the size, and right now. The order must be executed immediately and in its entirety; otherwise the entire order is cancelled, and no partial execution is allowed[1][2].

That makes “nothing” a normal result, not an error. It fits a plan in which part of the size would be worse than none.

How it works

On MetaTrader 5, fill-or-kill is a fill policy added to an ordinary order. The order can be filled only in the specified volume, and if that amount is not available in the market at that moment, it is not executed[5]. The volume may come from several offers available at the moment[5], so a market order with this policy can fill across more than one price. Limit and stop limit orders can carry the same policy[3].

The execution mode decides whether you have a choice. Under instant and request execution, fill-or-kill is the only fill policy; under market and exchange execution, immediate-or-cancel and others are available as well[5].

The name is less standard than it looks. Nasdaq’s glossary gives two meanings used on different exchanges[4]:

  • On some, the order must execute in its entirety as soon as it reaches the trading crowd, or it is cancelled. No partial fill is accepted.
  • On others, it fills whatever the first bid or offer makes available and cancels the rest. A partial fill is possible.

Because the outcome can depend on where the order is routed, Nasdaq discourages the term. It points to immediate-or-cancel all-or-none, or immediate-or-cancel any part, which give the intended result on any exchange[4].

Example

Say you send an order to buy 8 lots of AUD/USD with a fill-or-kill policy. At that moment the platform offers 3 lots at 0.6612, 4 lots at 0.6613 and 5 lots at 0.6615.

  1. As a market order, all 8 lots can be covered: 3 + 4 + 1. The order fills in full at an average of (3 × 0.6612 + 4 × 0.6613 + 1 × 0.6615) ÷ 8 = 0.66129.
  2. With a limit of 0.6613, only 7 lots are available at or below the limit. Seven is not eight, so the whole order is cancelled and nothing fills.
  3. Under the second exchange meaning Nasdaq describes, the same order would take the 3 lots at the first offer and cancel the other 5[4].

Watch out

The label alone does not settle the outcome. The two exchange definitions can turn the same instruction into opposite results[4].

You may be using fill-or-kill without choosing it. On MetaTrader 5’s instant execution it is the only fill policy the mode allows[5].

An order that dies leaves nothing to manage. That is the design, and in a thin market it can happen again and again[5].

All terms in Tronexopedia

Your challenge starts here

Start your challengeFree TrialNew
Registration bonus

Get $10 free in your Wallet when you sign up

Register and use your $10 Wallet credit to reduce the price of your first challenge.

The $10 bonus is credited to your personal Wallet and can only be used to reduce the price of a challenge purchase. Credits cannot be withdrawn or used for payouts.

Start now & get $10