What is a fill-or-kill (FOK) order?

Fill or kill (FOK) is an execution condition requiring the entire order to fill immediately or be canceled in full. It accepts no partial fill and leaves no unfilled quantity waiting for another opportunity. In crypto trading, FOK is often combined with a limit order.

How does FOK work?

After an order is submitted and passes the checks, the trading system checks whether eligible opposite-side orders can meet its entire quantity at acceptable prices. If they can do so immediately, the whole order fills; otherwise, the whole order is canceled.

Suppose a FOK limit buy order requests 10 units. If only 8 units can be bought immediately within the price limit, it does not buy those 8 first: nothing fills. If enough eligible quantity is available for all 10 units, it can execute. These quantities only illustrate the rule.

The quantity may come from several counterparties and price levels. The order does not have to match a single counterparty at one price. What matters is the orders actually available when matching occurs, not the quantity previously displayed before submission.

How does FOK differ from IOC?

IOC stands for immediate or cancel. It accepts an immediate partial fill and cancels the remaining quantity.

Using the same example of buying 10 units when only 8 can currently fill, IOC can fill 8 and cancel 2; FOK cancels the whole order. Neither leaves unfilled quantity waiting in the book. The difference is whether partial fills are accepted.

FOK specifies quantity and timing requirements; a limit specifies price. Neither substitutes for the other. Balance and other trading restrictions must also pass checks. Without an execution, no execution-based trading fee arises.

Explore market orders and post-only orders, or return to the crypto glossary.

References

Vastuuvapauslauseke
Tämä sisältö tarjotaan ainoastaan tiedotustarkoituksessa ja saattaa käsitellä tuotteita, jotka eivät ole käytettävissä alueellasi. Sen tarkoituksena ei ole tarjota (i) sijoitusneuvontaa tai sijoitussuositusta; (ii) tarjousta tai kehotusta ostaa, myydä tai pitää krypto-/digitaalisia varoja tai (iii) taloudellista, kirjanpidollista, oikeudellista tai verotuksellista neuvontaa. Krypto-/digitaalisten varojen omistuksiin, mukaan lukien vakaakolikot, liittyy suuri riski, ja niiden arvo voi vaihdella voimakkaasti. Sinun tulee harkita huolellisesti, sopiiko krypto-/digitaalisten varojen treidaus tai omistus sinulle taloudellisen tilanteesi huomioon ottaen. Ota yhteyttä oikeudelliseen/verotukselliseen/sijoitusalan ammattilaiseen omaan tilanteeseesi liittyvissä kysymyksissä. Tässä julkaisussa esiintyvät tiedot (mukaan lukien mahdolliset markkinatiedot ja tilastotiedot) on tarkoitettu ainoastaan yleiseen tiedotustarkoitukseen. Vaikka näiden tietojen ja kaavioiden laadinnassa on noudatettu kaikkea kohtuullista huolellisuutta, mitään vastuuta ei oteta tässä esitetyistä asiavirheistä tai puutteista.

Digitaalisiin varoihin liittyy volatiliteettia, eikä niitä ole vakuutettu. Ei ole taloudellista neuvontaa tai sijoitusneuvontaa. Kaikkia tuotteita ja palveluita ei tarjota kaikilla alueilla. Poikkeukset ja käyttöehdot pätevät.

© 2026 OKX. Tätä artikkelia saa jäljentää tai jakaa kokonaisuudessaan, tai siitä saa käyttää enintään 100 sanan katkelmia, edellyttäen että tällainen käyttö on ei-kaupallista. Koko artikkelin jäljentämisessä tai jakelussa on myös näkyvästi mainittava: ”Tämä artikkeli on © 2026 OKX ja sitä käytetään luvalla.” Sallituissa katkelmissa on mainittava artikkelin nimi ja tekijätiedot, esimerkiksi ”Artikkelin nimi, [tekijän nimi tarvittaessa], © 2026 OKX.” Osa sisällöstä saattaa olla tekoälyn (AI) työkalujen tuottamaa tai avustamaa. Tästä artikkelista ei sallita johdannaisteoksia eikä muuta käyttöä.

Aiheeseen liittyvät artikkelit

Katso lisää
thumbnail:xi-pengantar-perhitungan-opsi-margin

What is a margin ratio?

**In risk monitoring on crypto trading interfaces, a margin ratio compares eligible collateral equity with position requirements using a product-defined formula.** It shows whether collateral can cove
12.11.2026
liquidation

What is liquidation?

**Liquidation is the process in which a platform reduces or closes positions under its rules when an account or position no longer meets collateral or other risk requirements.** It can reduce part of
12.11.2026
crypto-glossary-cover-v5.contentful

Crypto Glossary A–Z

Explore key crypto, blockchain, and trading terms through concise definitions, organized alphabetically for quick reference. [A](#a) · [B](#b) · [C](#c) · [D](#d) · [E](#e) · [F](#f) · [G](#g) · [H](#
12.11.2026
Cryptocurrency Mining Revolutionized: How Bittensor Combines Blockchain and AI

What is cryptocurrency mining?

Cryptocurrency mining is the process of using computer hardware to perform hash calculations in a blockchain network that uses Proof of Work (PoW), helping record transactions, produce new blocks and
14.4.2026
Aloittelijat
Best of Web3 thumb

What is a block reward?

A block reward is compensation available under network rules for participating in valid block production. It incentivizes equipment, computing power or other resources that support transaction record
21.11.2025
Keskitaso
Open Interest article Learn thumb

What is open interest?

Open interest (OI) is the size of derivative contracts not yet closed or settled at a particular time. In crypto futures and perpetual markets, it describes outstanding contracts, not how much tradin
9.6.2025
Keskitaso
Katso lisää