
What Is a Fill or Kill Order? FOK Execution Explained
Learn how a fill or kill order works in trading to enforce 100% immediate execution or cancellation. Read the full guide.
By Trader Faculty Team
Direct Answer
A fill or kill (FOK) order is a conditional order instruction that requires your broker to execute the entire trade immediately at a specified price or cancel it completely. It prevents partial position fills by applying a zero-tolerance policy for execution delay or volume shortfall.
A fill or kill order is a conditional order instruction that requires a broker to execute an entire trade immediately at a specified price or cancel it completely. It prevents partial position fills by applying a strict zero-tolerance policy for execution delay or volume shortfall.
Traders often use specialized time-in-force parameters to control trade execution dynamics. A fill or kill (FOK) order is designed for situations where partial execution renders a strategy ineffective—such as multi-asset arbitrage or quantitative block trading.
This guide explains how FOK orders function, how they compare to alternative execution parameters, and the operational risks involved in high-speed markets.
Quick Takeaways
- A fill or kill (FOK) order mandates 100% execution of the requested order volume immediately or the exchange cancels the entire order.
- FOK orders completely eliminate partial fills, protecting traders from split-position slippage or incomplete strategy legs.
- This order type acts as a time-in-force modifier attached to a base limit order price rather than functioning as an independent order type.
- Institutional traders routinely deploy FOK instructions during large volume transactions to minimize market impact and venue slippage.
- Cancel rates for FOK orders run exceptionally high in low-liquidity environments or fast-moving markets.
What Is a Fill or Kill (FOK) Order?
A fill or kill order (FOK) is an execution instruction that combines volume completeness with extreme immediacy. When you place a FOK order, your broker routes the request to the venue order book with two non-negotiable conditions: every single share or contract requested must be filled instantly at your limit price or better, or the system cancels the order entirely.
In retail trading platforms, FOK is not a standalone order type like a limit or market order. Instead, it is a time-in-force (TIF) qualifier attached to a standard limit order. The primary defining characteristic of an FOK order is its zero-tolerance policy toward partial fills. If an investor submits an FOK order to purchase 1,000 shares of a stock at $50 per share, but only 999 shares are available at that price, the trading venue rejects the entire order and fills zero shares.
How Fill or Kill Orders Work in Practice

The mechanics of an FOK order rely on real-time matching engine protocols. When an exchange receives an FOK limit order, the engine queries the active order book for immediate matching liquidity at or better than the target price.
To process an FOK order successfully, the venue matching system runs a two-part verification sequence:
- Quantity Validation: The system verifies whether the total depth at the limit price (or better) equals or exceeds the total order volume requested.
- Timestamp Execution: The system checks whether that volume is accessible in the immediate matching tick.
If both conditions pass, the trade executes in full across available price levels within the limit threshold. If either condition fails, the order book matching engine instantly drops the order. The canceled order never sits on the order book depth table, ensuring zero post-order footprint.
Worked Scenario: FOK Limit vs. Order Book Depth
Consider a trader submitting an FOK buy order for 500 contracts of Asset X at a limit price of $100.00.
| Ask Price | Available Quantity | Cumulative Volume at/below $100.00 |
|---|---|---|
| $99.95 | 200 contracts | 200 contracts |
| $100.00 | 250 contracts | 450 contracts |
| $100.05 | 400 contracts | Out of limit range |
In this order book scenario, liquidity matches as follows:
- 200 contracts are available at $99.95 (better than limit).
- 250 contracts are available at $100.00 (at limit).
- Total available volume at or below limit price ($100.00): 450 contracts.
Because the total required volume is 500 contracts and available liquidity at or below $100.00 is only 450 contracts, the matching engine instantly kills the entire order. No partial fill of 450 contracts takes place.
FOK vs. IOC vs. AON: Key Differences
Traders frequently confuse Fill or Kill (FOK) orders with other time-in-force qualifiers such as Immediate-or-Cancel (IOC) and All-or-None (AON). FOK essentially functions as a hybrid mechanism combining the immediate timing of an IOC order with the volume restriction of an AON order.
| Order Qualifier | Immediate Execution Required? | Partial Fills Permitted? | Order Rests on Book if Unfilled? |
|---|---|---|---|
| Fill or Kill (FOK) | Yes | No | No |
| Immediate or Cancel (IOC) | Yes | Yes | No |
| All or None (AON) | No | No | Yes |
| Standard Limit (Day / GTC) | No | Yes | Yes |
FOK vs. Immediate-or-Cancel (IOC)
An Immediate-or-Cancel order requires that any portion of the order that can be filled immediately at the limit price be executed right away. However, unlike FOK orders, an IOC order permits partial fills. If you place an IOC order for 1,000 shares and only 400 shares are available, the venue fills 400 shares and kills the remaining 600-share balance.
FOK vs. All-or-None (AON)
An All-or-None order shares the zero-partial-fill restriction of an FOK order. The primary distinction lies in timing: an AON order does not require immediate execution. If full volume is unavailable when an AON order reaches the market, the order stays open on the order book until sufficient volume becomes available at the limit price or the trading session closes.
Why Traders Use Fill or Kill Orders
FOK execution instructions serve specific structural needs in modern electronic markets. While standard market and limit orders handle the vast majority of directional retail trades, FOK orders excel in specialized execution environments:
1. Preventing Legging Risk in Arbitrage Strategies
Statistical arbitrage and cross-market spread strategies rely on precise pricing correlations between related financial instruments. If an automated strategy buys Asset A and simultaneously sells Asset B,
receiving a partial fill on Asset A leaves you exposed on one side of the trade with no matching hedge — what traders call unhedged directional market risk. FOK orders ensure that multi-leg strategies execute in full across both legs or not at all.
2. Executing Institutional Block Trades
Large institutional orders can easily move asset prices if exposed to the public order book over time. By routing large block sizes as FOK limit orders to deep liquidity venues, institutions can test whether immediate volume exists to absorb the trade without broadcasting their intentions or leaving residual fragments on the order book depth table.
3. Avoiding Unwanted Commission Overhead
In markets where trading venues or brokers charge fixed ticket fees per executed transaction fragment, receiving multiple small partial fills over an extended session increases transaction costs. FOK constraints ensure that position entry occurs as a single consolidated trade fill.
Execution Risks and Trade-Offs of FOK Orders
While fill or kill instructions eliminate partial fill risk, they introduce distinct execution trade-offs that active traders must monitor carefully:
- High Order Rejection Rates: In low-volume assets or volatile market conditions, FOK orders display high cancellation frequencies. Expecting instant 100% fulfillment in thin liquidity often leads to missed entry points.
- Slippage on Aggressive Limits: If a trader sets an aggressively wide limit price on an FOK market order to guarantee full volume fill across multiple order book depth levels, average execution prices can suffer severe slippage.
- Order Routing Delays: In fast-moving markets, the time required for a matching engine to query full book depth can occasionally result in price shifts that trigger an order cancellation before execution completes.
How to Set Up a Fill or Kill Order on Your Platform
Most modern trading interfaces allow you to attach FOK qualifiers during the standard order entry workflow. Before submitting large block orders, many traders review visual market tools like a stock heat map to assess broader sector liquidity and volatility.
- Select the Asset: Enter the ticker symbol or market pair you intend to trade on your platform interface.
- Choose Order Type: Select a standard Limit Order (or Market Order, if supported by the platform's execution engine).
- Specify Quantity and Price: Input your desired total trade quantity and maximum allowable limit price.
- Set Time-in-Force Parameter: Locate the Time-in-Force (TIF) dropdown menu—often defaulted to DAY or GTC (Good-Til-Canceled)—and switch the setting to FOK (Fill or Kill).
- Review and Submit: Confirm that your total position size matches your strategy requirements, as partial execution will not occur, then transmit the order to the exchange.
Common Beginner Mistakes with FOK Orders
Entering conditional orders without understanding market mechanics often leads to costly execution failures. Here are key mistakes to avoid:
- Using FOK Orders in Low-Liquidity Markets: Placing an FOK instruction on small-cap equities or illiquid currency pairs almost guarantees instant cancellation, as available volume rarely supports full execution in a single tick.
- Confusing FOK with OCO Orders: Beginners sometimes confuse single order qualifiers with multi-order structures. An FOK order manages the timing and volume of a single position entry, whereas what is an oco order governs linked profit-target and stop-loss conditional pairs.
- Overusing FOK for General Trades: Applying FOK modifiers to routine directional day trades often results in missed entry opportunities when minor partial fills would have fulfilled strategic objectives smoothly.
Conclusion
A fill or kill order provides absolute precision over execution volume and timing by demanding immediate 100% fulfillment or instant order cancellation. By preventing partial fills, FOK instructions protect institutional block transactions, quantitative arbitrage setups, and multi-leg strategies from unhedged exposure. However, because FOK execution requires substantial immediate market depth, traders must weigh its strict protections against the higher risk of order cancellation in fast or thin markets.
Understanding specialized execution parameters is a core part of building professional trading skills. To continue refining your market execution strategies and platform mechanics, explore our comprehensive guides on trading tools to build a structured, execution-ready trading environment. Trading financial instruments carries market risk, so treat these execution concepts as educational groundwork for developing your overall risk management framework.
Frequently Asked Questions
What is the main difference between a Fill or Kill (FOK) and an Immediate or Cancel (IOC) order?
An FOK order requires complete execution of the entire order volume immediately; if total volume is unavailable, the whole order is canceled. An IOC order also demands immediate execution, but it permits partial fills, executing available volume and canceling only the remaining balance.
Can a Fill or Kill order receive a partial fill?
No, FOK orders strictly prohibit partial fills. If the market cannot fulfill 100% of the requested shares or contracts in the immediate matching tick, the matching engine drops the entire order instantly.
Is a Fill or Kill order a market order or a limit order?
FOK is not an independent pricing order type. It is a time-in-force (TIF) qualifier attached to a base limit order price (or market order parameter where permitted) to dictate volume and timing constraints.
What happens if an FOK order cannot be executed immediately?
If full order volume is not available at or better than the limit price in the immediate matching sequence, the exchange cancels the order entirely. Canceled FOK orders do not rest on the active order book depth ladder.
Why do institutional traders use Fill or Kill orders?
Institutional traders use FOK orders when executing large block trades or multi-leg arbitrage strategies. FOK prevents "legging risk" (getting partially filled on one side of a spread) and avoids broadcasting unfilled order fragments to the public order book.
The Trader Faculty Team writes and reviews every guide together — pairing hands-on market experience with a curriculum-first approach to trading education. One good syllabus, taught in the order that makes you better.





