Halaman ini hanya untuk tujuan informasi. Layanan dan fitur tertentu mungkin tidak tersedia di yurisdiksi Anda.

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

Penafian
Konten ini hanya disediakan untuk tujuan informasi dan mungkin mencakup produk yang tidak tersedia di wilayah Anda. Konten ini juga tidak dimaksudkan untuk memberikan (i) nasihat atau rekomendasi investasi; (ii) penawaran atau ajakan untuk membeli, menjual, ataupun memiliki kripto/aset digital, atau (iii) nasihat keuangan, akuntansi, hukum, atau pajak. Kepemilikan kripto/aset digital, termasuk stablecoin, melibatkan risiko yang tinggi dan dapat berfluktuasi dengan sangat ekstrem. Pertimbangkan dengan cermat apakah melakukan trading atau memiliki kripto/aset digital adalah keputusan yang sesuai dengan kondisi finansial Anda. Jika ada pertanyaan mengenai keadaan khusus Anda, silakan berkonsultasi dengan ahli hukum/pajak/investasi Anda. Informasi (termasuk data pasar dan informasi statistik, jika ada) yang muncul di postingan ini hanya untuk tujuan informasi umum. Meskipun data dan grafik ini sudah disiapkan dengan hati-hati, tidak ada tanggung jawab atau kewajiban yang diterima atas kesalahan fakta atau kelalaian yang mungkin terdapat di sini.

© 2025 OKX. Anda boleh memproduksi ulang atau mendistribusikan artikel ini secara keseluruhan atau menggunakan kutipan 100 kata atau kurang untuk tujuan nonkomersial. Setiap reproduksi atau distribusi dari seluruh artikel juga harus disertai pernyataan jelas: “Artikel ini © 2025 OKX dan digunakan dengan izin.“ Petikan yang diizinkan harus mengutip nama artikel dan menyertakan atribusi, misalnya “Nama Artikel, [nama penulis jika ada], © 2025 OKX.“ Beberapa konten mungkin dibuat atau dibantu oleh alat kecerdasan buatan (AI). Tidak ada karya turunan atau penggunaan lain dari artikel ini yang diizinkan.

Artikel Terkait

Lihat Selengkapnya
thumbnail:bullish-calendar-spread-strategy

What is a maker?

**A maker is the party that first provides a quote in an order book and later trades when another order matches it.** An order book records unfilled buy and sell quotes and their quantities. In order-
12 Nov 2026
trade-academy-beginner-4

What is a taker?

**A taker is the party that immediately matches and trades against a quote already in the order book.** The order book records unfilled buy and sell quotes and their quantities. A taker accepts one of
12 Nov 2026
Options trading generic thumb

What is the bid-ask spread?

**The bid-ask spread is the difference between the lowest ask and highest bid in the same market at the same time.** In an order-book-based crypto market, it describes the distance between the closest
12 Nov 2026
Forward Contracts vs. Futures Contracts What Are the Differences

What is a post-only order?

**A post-only order adds a requirement to a limit order: post a quote without immediately taking an existing one.** In order-book-based crypto spot and derivatives markets, the order book records unfi
12 Nov 2026
thumbnail:arbitrage-order

What is an immediate-or-cancel (IOC) order?

**An immediate-or-cancel (IOC) order requires the quantity currently available to fill immediately, with any unfilled remainder canceled.** In order-book-based crypto markets, the order book records u
12 Nov 2026
thumbnail:weekly-report-of-okx-in-5-16-5-22

What is a trigger order?

**A trigger order submits an actual buy or sell order to the trading system only after a preset condition is met.** In crypto trading, the condition is often a price reaching a particular level. The t
12 Nov 2026
Lihat Selengkapnya