Fill or Kill (FOK)

Fill or Kill (FOK) is a time-in-force instruction on a trading order requiring the entire order to execute immediately at the set limit price or better. If it cannot be filled completely at once, the whole order is cancelled.

When a trader places an order on an exchange, a time-in-force setting decides how long it stays active and how it may execute. With FOK, the exchange checks the order book the moment the order arrives. If enough volume is available at the limit price or better to fill the full amount, the trade executes in one go. If not, nothing is filled and the order is cancelled. It never sits on the order book waiting, and it never partially fills.

FOK is useful when a partial fill would be worse than no fill at all. For example, a trader wants to buy exactly 10 ETH at or below a chosen price, perhaps as one leg of an arbitrage or hedge. If sellers are offering only 6 ETH within that price, an FOK order buys nothing rather than leaving the trader holding 6 ETH and an unfinished position. For large orders, it also gives firm control over price, so slippage cannot push the fill past the limit.

A common confusion is mixing up FOK with Immediate or Cancel (IOC). IOC also executes instantly, but it accepts whatever portion can be filled and cancels only the rest. FOK is all or nothing. The main drawback is that FOK orders often fail in thin or fast-moving markets, so a trader may miss a trade entirely. Support also varies, since not every exchange or order type offers FOK, typically only advanced trading interfaces.

Learn more

Related terms