Investing Guide

Fill or Kill Order: How FOK Works and When to Use It

A fill or kill order must execute in full right away or be canceled. Learn how FOK compares with immediate-or-cancel and all-or-none orders, with examples.

Globull Research DeskFact-checked by the editors Published Last reviewed 6 min readEditorial policy
Fill or Kill Order: How FOK Works and When to Use It
Investing Guide

Key takeaway

A fill or kill order, usually shortened to FOK, is an instruction to buy or sell a security immediately and in its entirety. If the full quantity cannot be executed at once at your price or better, the whole order is canceled. There is no partial fill and no waiting in the order book. The SEC's overview of order types lists fill-or-kill among the special conditions an investor can attach to an order, alongside all-or-none and immediate-or-cancel. FOK is technically a time-in-force condition combined with a quantity condition, and it is normally attached to a limit order.

In this article
  1. Fill or kill means all of it, right now, or nothing
  2. A worked example
  3. FOK compared with immediate-or-cancel and all-or-none
  4. When a fill or kill order can make sense
  5. Risks and limits to understand first
  6. How to place one step by step
  7. Sources
  8. Frequently asked questions

Fill or kill means all of it, right now, or nothing

A fill or kill order, usually shortened to FOK, is an instruction to buy or sell a security immediately and in its entirety. If the full quantity cannot be executed at once at your price or better, the whole order is canceled. There is no partial fill and no waiting in the order book. The SEC's overview of order types lists fill-or-kill among the special conditions an investor can attach to an order, alongside all-or-none and immediate-or-cancel. FOK is technically a time-in-force condition combined with a quantity condition, and it is normally attached to a limit order.

The purpose is control. A standard limit order might fill 300 shares now, 200 an hour later and leave the rest unfilled at the close. For most long-term investors that is acceptable. For someone who needs a specific quantity for a strategy to make sense, a partial position can be worse than none. FOK removes that outcome. The trade-off is plain: you accept a higher chance of getting nothing in exchange for certainty that you will never be left holding a fraction of what you intended.

A worked example

Imagine you want 2,000 shares of a thinly traded US-listed company. The best offer on screen is 1,200 shares at $25.10, with another 1,500 shares offered at $25.18. You enter a buy limit order for 2,000 shares at $25.10 marked fill or kill. Only 1,200 shares are available at your limit, so the full order cannot be completed. It is canceled at once and you buy nothing. Had you set the limit at $25.18, the order could take 1,200 shares at $25.10 and 800 at $25.18, completing all 2,000 immediately at an average price of about $25.13.

The example shows why the limit price matters as much as the FOK condition. A limit that is too tight almost guarantees cancellation in a thin market. A limit that is too loose can fill the whole order at a price you did not want. Displayed quotes are also only part of the picture, since some liquidity is hidden or sits on other venues, so an order may fill even when the screen suggests it should not, and the reverse can also happen when quotes change in the instant before your order arrives.

FOK compared with immediate-or-cancel and all-or-none

Three conditions are often confused. Immediate-or-cancel (IOC) also demands immediate execution, but it accepts a partial fill and cancels only the unfilled remainder. In the example above, an IOC order at $25.10 would buy 1,200 shares and cancel the other 800. All-or-none (AON) demands the full quantity but is not tied to the present moment. An AON order can remain open for the day, or longer if combined with a good-til-canceled instruction, until the entire amount can be filled in one go. Fill or kill combines the strict parts of both: the timing of IOC and the quantity rule of AON.

A simple way to remember it: IOC cares about time, AON cares about size, and FOK cares about both. FINRA's guide to order types notes that not every firm offers every condition and that the available choices depend on the security and the market where it trades. Before relying on any of these, look at the order ticket your broker provides and read the short description beside each time-in-force option.

When a fill or kill order can make sense

FOK is mostly a tool for larger or more complex trades. One use is in low-volume stocks, where a partial fill could leave you with an awkward position that is costly to complete or unwind. Another is where commissions or fees apply per execution, so several small fills cost more than one. Options traders sometimes use FOK on multi-contract orders for the same reason. It can also suit a trade that only works at a specific size, such as one leg of a hedge where an incomplete fill would leave risk uncovered. In each case the investor is saying that an incomplete trade has no value.

For an ordinary purchase of a widely traded stock or ETF, the condition adds little. A 50-share order in a large company will almost always fill completely with a plain limit order, and a marketable limit order gives similar price protection without the all-or-nothing rule. If your position sizes are small relative to the shares typically available at the best quote, FOK is solving a problem you do not have. Our guide to sizing a position is a better starting point for deciding how much to buy in the first place.

Risks and limits to understand first

The main risk is simply not trading. If the price moves away after a canceled order, you may end up chasing it at a worse level, or sending repeated FOK orders that reveal nothing to you about why they fail. There is also no guarantee of a single fill price. A FOK limit order guarantees the full quantity at your limit or better, which can still mean several prices up to the limit. A FOK order without a limit, where a broker permits it, would guarantee quantity but not price, which defeats much of the purpose. Always pair the condition with a limit you are comfortable paying across the whole order.

Availability is the other limit. Some retail brokers do not offer FOK at all for stocks, some offer it only for options, and some offer it only on advanced trading platforms. Exchanges handle these conditions differently, and brokers may route orders in ways that affect whether the full size can be found at once. Extended-hours sessions usually accept a narrower set of order types. If FOK is not available, an IOC limit order is the closest substitute, with the understanding that it can leave you with a partial position that you then need to manage.

How to place one step by step

Start with the quote. Look at the size available at the best bid or offer and, if your platform shows it, the next few price levels. Decide the full quantity you need and the worst price you would accept for the entire order. Choose a limit order, enter the quantity and price, and select fill or kill in the time-in-force field. Review the confirmation screen, which should state that the order will be canceled if it cannot be filled completely. After sending it, check the order status straight away. A FOK order resolves within moments, so it will show as either filled or canceled. Nothing will be left working.

If the order is canceled, resist the urge to resend it at a higher price immediately. Recheck the quote, since the reason is usually visible: not enough shares at your limit. You can then decide whether to raise the limit, reduce the quantity, split the trade across the day with ordinary limit orders or wait. This article describes order handling for US-listed securities in USD. It explains a mechanism and is not a recommendation to use any particular order type.

Sources

Frequently asked questions

Editorial standards and sources

Globull articles are general education for US investors. Every decode is checked against public filings, company releases and exchange data, and every track record uses the price on the teaser date. Prices can be delayed and facts change, so verify important decisions with the original filing or a qualified professional.

Tags

Investing GuidefillkillorderworksUS stocks

Share this article

Post on XLinkedIn

Written and reviewed by the Globull Research Desk

We decode newsletter teasers, check every clue against public filings and track picks over 30, 90 and 365 days. We are not paid by the publishers we cover.

Continue on Globull

Educational content for US investors, not investment advice. Prices may be delayed. Read our disclaimer.

Back to all articles