Fill or Kill (FOK) Orders: Execute Now or Cancel
2000 reads · Last updated: March 16, 2026
Fill or kill (FOK) is a conditional type of time-in-force order used in securities trading that instructs a brokerage to execute a transaction immediately and completely or not at all. This type of order is most often used by active traders and is usually for a large quantity of stock. The order must be filled in its entirety or else canceled (killed).A FOK is essentially an all-or-none (AON) and immediate-or-cancel order (IOC) combined.
Core Description
- Fill or Kill (FOK) is a time-in-force instruction that requires an order to be executed immediately and in full, or canceled entirely.
- It is designed to prevent partial fills, so the trader avoids ending up with an unintended leftover position.
- Fill or Kill can be treated as a strict liquidity test: if the market cannot provide the full size right now at your price, the trade does not execute.
Definition and Background
A Fill or Kill (FOK) order is a time-in-force (TIF) condition attached to a trade instruction. It tells the broker and trading venue: fill the entire quantity immediately at the specified price (or better), otherwise cancel the order in full. If the venue can only fill part of the quantity, the whole order is canceled, and partial execution is not permitted.
What “immediately” and “in full” mean
“Immediately” does not mean “faster than everyone else.” It means the order cannot rest on the order book while waiting for more sellers or buyers to appear. The system attempts matching right away, and if the required size is not available under the order’s price constraint, the order is canceled.
“In full” means the order must reach 100% completion. If you request 50,000 shares, 49,999 is treated as insufficient, so the order will be canceled rather than partially filled.
Why Fill or Kill exists
Fill or Kill developed to address a practical issue: partial fills can distort risk. For example:
- A hedge may require an exact size, and partial execution can leave the portfolio exposed.
- A portfolio rebalance might need precise weights, and partial buys or sells can create tracking error.
- An arbitrage strategy often requires matched sizes across multiple legs, and a partial fill can turn an arbitrage into an outright position.
As markets transitioned from floor trading to electronic order books, exchanges and brokers standardized time-in-force instructions. With automated routing and high-speed matching, “execute now or cancel” became operationally feasible across many equity and options venues.
Relationship to AON and IOC
Fill or Kill is often described as combining two ideas:
- All-or-None (AON): do not execute unless the full quantity can be filled.
- Immediate-or-Cancel (IOC): execute immediately, cancel any unfilled portion.
Fill or Kill = AON + IOC behavior. It must be immediate and complete, otherwise nothing executes.
Calculation Methods and Applications
Fill or Kill is not a pricing formula. It is an execution rule. However, traders can apply simple checks to assess whether using Fill or Kill is realistic.
Estimating whether a Fill or Kill will fill
A Fill or Kill attempt is more likely to succeed when available liquidity at the limit price (or better) is at least the order size at the moment of submission.
A practical way to think about it is:
- For a buy FOK limit order, you need enough shares available at ask prices ≤ your limit price.
- For a sell FOK limit order, you need enough shares available at bid prices ≥ your limit price.
Using order book depth as a pre-check
Many platforms display Level 2 or market depth showing sizes at multiple price levels. A trader can compare:
- Order size
- Displayed size at acceptable prices
If the displayed depth shows only 30,000 shares available up to your limit, and you need 50,000, then a Fill or Kill is likely to be canceled (unless hidden liquidity appears at that moment).
Application scenarios where Fill or Kill is commonly used
Portfolio rebalancing with strict weights
Institutional rebalancing often uses precise sizing to maintain portfolio constraints. A partial fill can create unintended active risk. Fill or Kill can enforce “either correct size now, or do not change the portfolio.”
Hedging that breaks with partial execution
Some hedges are size-sensitive. If the hedge is only partially executed, the portfolio may remain exposed to a factor or delta risk. Fill or Kill can prevent a partially completed hedge.
Arbitrage and multi-venue execution
Arbitrage desks care about matching quantities. If one venue fills and another does not, the desk may end up with directional exposure. Fill or Kill can help ensure the leg is either fully executed or not executed.
Market makers and inventory rebalancing
A market maker may want to rapidly adjust inventory to manage risk limits. Fill or Kill can help avoid partial inventory changes that still leave exposure.
Comparison, Advantages, and Common Misconceptions
Time-in-force instructions differ mainly by (1) how long the order can remain active and (2) whether partial fills are allowed.
Fill or Kill vs other common time-in-force choices
| TIF Type | Must fill 100%? | Immediate? | What happens if not filled? |
|---|---|---|---|
| Fill or Kill (FOK) | Yes | Yes | Entire order is canceled |
| All-or-None (AON) | Yes | No | May wait for full size (rules vary by venue) |
| Immediate-or-Cancel (IOC) | No | Yes | Partial may fill, remainder cancels |
| DAY | No | No | Remains until market close |
| GTC | No | No | Remains until canceled or expiry (broker rules apply) |
Advantages of Fill or Kill
Eliminates partial-fill risk
The main benefit of Fill or Kill is that you do not end up with a position that is smaller than intended. This matters when a partial position creates risk or operational issues.
Cleaner operational execution
Instead of managing multiple partial fills, average prices, and residual risk, Fill or Kill either completes the trade or leaves you unchanged.
Helpful discipline in fast markets
In a fast-moving market, Fill or Kill can reduce the likelihood that a small portion fills and the remainder would need to be executed later at less favorable prices, or remains unfilled while exposure changes.
Trade-offs and limitations
Higher cancellation probability
Because the conditions are strict, Fill or Kill can produce frequent cancellations, especially for large sizes, wide spreads, thin liquidity, or volatile moments.
Opportunity cost
If the order is canceled and the market moves away, you may miss an entry or exit you would have partially achieved with IOC or a resting limit order.
Potential market impact if size is large
Even if a Fill or Kill cancels, repeated submissions or visible intent can affect how other participants behave. If it does fill, executing a full block at once can still create market impact in less liquid instruments.
Common misconceptions about Fill or Kill
“Fill or Kill guarantees execution”
Fill or Kill does not guarantee a fill. It only specifies that if the order executes, it must do so immediately and in full. Otherwise, it cancels.
“Fill or Kill is just a faster order”
Fill or Kill is not a speed upgrade. It is a stricter condition, and it may result in no execution more often than other time-in-force choices.
Confusing Fill or Kill with AON or IOC
- AON focuses on full quantity but may wait.
- IOC focuses on immediate execution but allows partial fills.
- Fill or Kill requires both immediate execution and the full quantity.
Practical Guide
Fill or Kill can be effective when used with a clear workflow. The goal is to decide whether the market can realistically provide your full size at your price right now.
A step-by-step process for using Fill or Kill
Confirm why Fill or Kill is necessary
Use Fill or Kill when partial execution creates a specific problem (for example, risk constraints, hedge precision, or operational requirements). If partial fills are acceptable, IOC or a standard limit order may be more suitable.
Choose a limit price deliberately
In many workflows, Fill or Kill is paired with a limit price. A limit makes the rule meaningful: fill immediately in full, but not above (buy) or below (sell) the acceptable price.
An overly strict limit can increase cancellations. An overly loose limit may achieve a full fill but at a less favorable price than intended. Fill or Kill does not remove the need for careful pricing.
Check liquidity before submission
Review:
- Current bid, ask, and spread
- Recent volume and typical trade size
- Order book depth (if available)
If visible depth is far below your order size near your limit, the Fill or Kill order is likely to be canceled.
Submit during more liquid sessions when possible
Execution reliability tends to improve when spreads are tighter and depth is stronger. Thin moments (for example, around news or at the open) can lead to frequent cancellations.
Interpret the outcome correctly
A Fill or Kill order has only two practical outcomes:
- Filled (complete)
- Canceled (no fill)
There should be no remaining unfilled portion. If you observe unexpected behavior, check platform rules and venue support for Fill or Kill.
Case Study (hypothetical, for education, not investment advice)
A U.S.-listed mid-cap stock is trading with a best ask of \$20.00. The visible order book shows the following ask-side depth:
| Ask Price | Shares Available (Displayed) |
|---|---|
| \$20.00 | 18,000 |
| \$20.01 | 9,000 |
| \$20.02 | 7,000 |
| \$20.03 | 6,000 |
| Total up to \$20.03 | 40,000 |
A fund wants to buy 50,000 shares and decides partial execution is unacceptable because the trade is tied to a hedge ratio. They consider two approaches:
Option A: Fill or Kill limit buy at \$20.03 (50,000 shares)
- The displayed liquidity up to \$20.03 is 40,000 shares, below the required 50,000.
- Unless additional hidden liquidity appears at the moment of submission, the Fill or Kill order is likely to be canceled.
- Outcome: no position change, and no partial exposure from this order.
Option B: Reduce size to 40,000 shares with Fill or Kill at \$20.03
- The order size matches the displayed depth up to the limit.
- The Fill or Kill has a higher chance to fill in full immediately.
- Outcome: either 40,000 filled or 0 filled, which may better match the hedge requirement than attempting 50,000 and accepting partial execution.
Takeaway: With Fill or Kill, sizing can materially affect whether the order fills or cancels. Some workflows start by aligning size to available liquidity rather than repeatedly submitting orders that are unlikely to execute.
Common operational pitfalls to avoid
- Submitting Fill or Kill in thin liquidity and repeatedly resubmitting without changing price or size, which can lead to repeated cancellations.
- Using a very tight limit and assuming hidden liquidity will provide the full fill.
- Ignoring spreads. If the spread is wide, a limit that looks close may still be unrealistic for a full-size immediate fill.
- Treating Fill or Kill as a default setting instead of a purpose-built tool.
Resources for Learning and Improvement
A stronger understanding of Fill or Kill comes from learning how venues define order handling and how brokers route time-in-force instructions.
Where to learn (high-signal sources)
- Exchange order type specifications: definitions of time-in-force, Fill or Kill handling, and interactions with partial fill rules.
- Regulatory guidance: materials on best execution, order handling, and routing disclosures.
- Market microstructure textbooks and CFA Institute readings: how liquidity, spreads, and fragmentation affect execution outcomes.
- Broker platform documentation: how a specific platform labels Fill or Kill, which markets support it, and how confirmations are displayed. Treat platform behavior separately from venue rules, and cross-check where possible.
Skills that can improve Fill or Kill outcomes
- Reading bid, ask, and spread behavior across different sessions
- Using depth-of-book data (when available) to estimate fill probability
- Understanding when IOC, AON, or a resting limit order may be a better fit than Fill or Kill
- Post-trade review, including tracking how often Fill or Kill fills vs cancels, and under what conditions
FAQs
What is a Fill or Kill (FOK) order in plain English?
A Fill or Kill order is an instruction that says: execute my entire order right now at my price (or better), otherwise cancel the whole thing. It prevents partial fills.
Is Fill or Kill the same as a market order?
No. A market order prioritizes execution and can fill at whatever prices are available. Fill or Kill is a time-in-force condition that can be used with a limit price, and it requires immediate full execution or cancellation.
Can Fill or Kill be used with limit orders?
Yes. A Fill or Kill limit order attempts to fill the entire quantity immediately at the limit price or better, otherwise it cancels.
Why would a Fill or Kill order cancel even when volume looks high?
Because what matters is available liquidity at your price right now, not total volume for the day. Liquidity can be fragmented across venues, quotes can change quickly, and visible depth may be insufficient for your full size.
How is Fill or Kill different from Immediate-or-Cancel (IOC)?
Immediate-or-Cancel can partially fill and cancel the remainder. Fill or Kill allows no partial execution: it must fill 100% immediately or be canceled entirely.
How is Fill or Kill different from All-or-None (AON)?
All-or-None requires a full fill but does not necessarily require immediate execution, depending on venue rules. Fill or Kill requires the full fill immediately, with no waiting.
When is Fill or Kill most likely to work well?
When the instrument is liquid, the spread is relatively tight, and the order size is realistic relative to available depth at your limit price. Under these conditions, Fill or Kill can provide a clean full-fill or cancel outcome.
What is the biggest risk of using Fill or Kill?
Non-execution. The order can be canceled completely, and if the market moves away afterward, you may miss the opportunity you were targeting.
Conclusion
Fill or Kill (FOK) is a strict time-in-force instruction: immediate full execution or total cancellation, with no partial fills allowed. It is often used when precision matters, such as large blocks, hedge-sensitive trades, and strategies where partial execution creates unwanted exposure. The trade-off is a higher likelihood of cancellations and potential opportunity cost, especially in thin or fast markets. A common way to view Fill or Kill is as a liquidity check: set a realistic limit, align size with available depth, and accept cancellation when the market cannot provide the full quantity immediately.
