Fill or Kill
Most orders are flexible about timing and size: place an order to buy 1,000 shares and if only 600 are available at the target price right now, a broker will often fill those 600 immediately and leave the remaining 400 waiting for more sellers to show up, or fill at a slightly different price. A Fill or Kill order refuses that flexibility entirely. FOK, as it's almost always abbreviated, demands the complete order execute immediately and in full - and if that's not possible at that exact instant, the entire order is cancelled on the spot, with zero shares, contracts, or coins changing hands.
Oil futures traders use this when precision matters more than getting something rather than nothing. Say a trader wants to buy 500 contracts at exactly $80 a barrel because their strategy depends on that specific size at that specific price. An FOK order checks the market instantly: if 500 contracts are available at $80 right then, all 500 fill in one shot. If only 320 are available, none of it executes - not even those 320 - and the trader is left exactly where they started, free to try again rather than holding an odd, unintended position size.
Institutional stock traders lean on the same tool for large block trades - a fund trying to buy 50,000 Tesla shares at once doesn't want to end up holding a random partial position if liquidity runs short mid-order, so an FOK order guarantees either the full 50,000 shares or nothing. Several crypto exchanges offer FOK as well, useful for large trades in tokens with thin order books where a partial fill could leave a trader stuck holding an oddly sized position they never intended.
Retail traders buying a handful of shares or a few hundred dollars of crypto rarely need FOK, since orders that small almost always fill completely without any trouble - the tool exists mainly to protect large trades from the mess of partial execution, not to affect how long an order stays open, which is a separate setting entirely.
The family of instructions this belongs to is worth laying out, because the names are used loosely and the differences matter. Fill or kill demands the whole order at once or nothing. Immediate or cancel takes whatever is available at that instant and cancels the rest, accepting a partial fill but refusing to wait. All or none demands completeness but is willing to sit in the book until the size appears, which makes it the opposite trade-off - patience in exchange for certainty about size. Almost every situation described as needing fill or kill is in fact better served by one of the other two, which is part of why it is the least used of the three.
Its usefulness has also narrowed as markets fragmented. When a share traded on one exchange, an instruction to check for full size at a single price was meaningful. With a dozen venues quoting simultaneously, the liquidity for a large order is spread across them and no single instant exists at which a broker can survey all of it, so the modern answer to buying size without moving the price is an execution algorithm that works the order over minutes or hours rather than an instruction that demands everything in one place at once. Fill or kill survives mainly in futures and in bilateral crypto trading, where a single venue still holds most of the book.