Fill or Kill (FOK)
A time-in-force instruction that requires the entire order to be executed immediately in full, or the order is canceled entirely — no partial fills allowed.
See Fill or Kill (FOK) in real trade signals
Tradewink uses fill or kill (fok) as part of its AI signal pipeline. Get signals with full analysis — free to start.
Explained Simply
Fill-or-kill orders are an all-or-nothing execution instruction. Unlike immediate-or-cancel (IOC) which accepts partial fills, FOK demands the full quantity at the specified price or better in a single transaction.
When FOK is useful:
- Large block trades: partial execution would leave an awkward position size
- Illiquid markets: partial fills in thin markets can move the price against you
- Options spreads: you need all legs filled simultaneously
FOK orders have a high cancellation rate because they require immediate full execution. Most retail traders use limit orders with day or GTC time-in-force instead.
How Fill-or-Kill Orders Work
A fill-or-kill (FOK) order is a time-in-force instruction sent to an exchange or broker that demands the entire order quantity be executed immediately at the specified price or better. If the order cannot be completely filled in a single transaction, it is canceled entirely — no partial fills are accepted. This all-or-nothing requirement makes FOK orders fundamentally different from other time-in-force types. When your broker receives a FOK order, it checks whether sufficient liquidity exists at or better than your limit price for the full quantity. If yes, the order executes. If not, it cancels immediately. This is educational content, not financial advice.
FOK vs. IOC vs. Day vs. GTC Orders
Fill-or-kill and immediate-or-cancel (IOC) both require immediate execution, but FOK rejects partial fills while IOC accepts them. A day order allows the order to rest on the order book until market close, accumulating fills over the trading session. A GTC (good-till-cancelled) order can rest for days or weeks. For a 1,000-share order with 700 shares available at your limit price: FOK cancels the entire order, IOC fills 700 shares and cancels the remaining 300, a day order fills 700 immediately and leaves 300 working until close. FOK has the most stringent execution requirement and the highest cancellation rate as a result.
When to Use FOK Orders
FOK orders are most useful in three scenarios. First, large block trades where partial execution creates an unintended position size — a portfolio manager buying 50,000 shares wants all or nothing to avoid chasing the remaining shares at worse prices. Second, options multi-leg strategies where all legs must be filled simultaneously — getting one leg filled without the other creates unhedged exposure that the trader did not intend. Third, highly illiquid markets where a partial fill signals your order to other participants, causing the remaining liquidity to move away from your price. Most retail traders in liquid stocks rarely need FOK — standard limit orders with day time-in-force provide sufficient execution quality.
FOK Orders in Algorithmic Trading
In algorithmic trading, FOK orders are commonly used by smart order routers when sweeping multiple venues simultaneously. The router splits a large order into smaller FOK child orders sent to multiple exchanges at once, attempting to capture all available liquidity at each venue in parallel. If any child order fails, the router can adjust the strategy — either accept partial fills from successful venues or retry with modified parameters. This is called a FOK sweep. Dark pools and crossing networks also use FOK semantics for block trades: the order either finds a counterparty for the full block or is returned unfilled. Tradewink's smart execution engine uses FOK for options spread entries to prevent unhedged leg exposure.
Risks and Limitations of FOK Orders
The primary risk of FOK orders is execution failure — high cancellation rates mean you may miss entries in fast-moving markets if you require full fills. In a rapidly rising stock, a FOK limit order may cancel while price moves above your limit, leaving you without a position. During earnings announcements or breaking news, liquidity can fragment quickly, making FOK fill rates extremely low. FOK orders also interact poorly with iceberg orders and reserve quantities — a market maker may show only 100 shares of a 1,000-share reserve, causing your 1,000-share FOK to cancel even though full liquidity technically exists. For most retail day trading applications, limit orders with IOC or day time-in-force provide better execution outcomes.
How to Use Fill or Kill (FOK)
- 1
Understand FOK Orders
Fill or Kill requires the entire order to be filled immediately or not at all. If you submit a FOK buy for 5,000 shares and only 3,000 are available at your price, the entire order is cancelled — no partial fills. This prevents being stuck with an incomplete position.
- 2
When to Use FOK
Use FOK for large orders where a partial fill creates problems: hedged positions requiring exact share counts, pairs trades requiring matched legs, or block trades where you need the full position or nothing.
- 3
Use IOC as the More Flexible Alternative
Immediate or Cancel (IOC) fills whatever quantity is available immediately and cancels the remainder. FOK is all-or-nothing; IOC is 'fill what you can.' For most traders, IOC is more practical — you get some execution rather than none.
Frequently Asked Questions
What is the difference between FOK and AON orders?
Fill-or-kill (FOK) and all-or-none (AON) both require complete fills, but differ in time constraints. FOK demands immediate execution — the order is canceled within milliseconds if the full quantity is unavailable. AON allows the order to rest on the book but stipulates that when it does execute, it must execute in full. AON orders are day orders or GTC orders with an all-or-none execution requirement. In practice, many retail brokers have deprecated AON orders due to routing complexity. FOK is more commonly supported and is the preferred mechanism when you need an all-or-nothing guarantee with immediate execution.
Can I use FOK orders on options?
Yes, FOK orders are available on options at most brokers and are particularly useful for multi-leg options strategies. When placing a spread (e.g., a vertical call spread buying one strike and selling another), you want both legs to fill simultaneously at a combined net debit or credit. Sending each leg as a separate order risks leg risk — one leg fills while the other does not, leaving you with unintended directional exposure. A FOK order for the spread combo instructs the exchange or your broker's routing system to fill both legs simultaneously or cancel. CBOE and other options exchanges support combo orders with FOK semantics.
Why do FOK orders fail so often?
FOK orders fail when insufficient liquidity exists at or better than your limit price for the full order quantity at the exact moment the order arrives. Because FOK requires instantaneous complete execution, it is highly sensitive to timing. In liquid markets like S&P 500 ETFs, a small FOK order (100-200 shares) at a competitive limit price will typically fill. In less liquid stocks or when the order size is large relative to the quoted depth, the failure rate climbs significantly. Market orders are guaranteed to fill but at an unknown price; FOK limit orders guarantee a price floor but accept the risk of non-execution. For most retail-sized orders in liquid names, this tradeoff favors IOC or regular limit orders.
How does Tradewink handle FOK orders?
Tradewink's smart execution engine selects FOK for options spread entries where partial fills would create unhedged exposure across legs. For stock day trades, the system uses limit orders with IOC time-in-force as the default, which accepts partial fills and gives better fill rates than FOK in liquid names. If an IOC limit order does not fill within the execution window (configurable, default 30 seconds), the system falls back to a market order for time-sensitive entries where missing the trade entirely is worse than accepting slippage. The execution choice is logged in the audit trail for post-trade analysis of execution quality.
How Tradewink Uses Fill or Kill (FOK)
Tradewink's smart execution engine uses FOK orders for options spread entries where partial fills would create unhedged exposure. For stock day trades, the system typically uses limit orders with IOC time-in-force, falling back to market orders if the limit does not fill within the execution window.
Trading Insights Newsletter
Weekly deep-dives on strategy, signals, and market structure — written for active traders. No spam, unsubscribe anytime.
Related Terms
Learn More
Previous
GTC (Good-Till-Cancelled)
Next
Enterprise Value (EV)
See Fill or Kill (FOK) in real trade signals
Tradewink uses fill or kill (fok) as part of its AI signal pipeline. Get daily trade ideas with full analysis — free to start.