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

Дисклеймер
Материалы предоставлены исключительно в ознакомительных целях и могут включать информацию о продуктах, которые недоступны в вашем регионе. Они не являются инвестиционным советом или рекомендацией, предложением или приглашением к покупке, продаже или удержанию криптовалюты / цифровых активов, советом в финансовой, бухгалтерской, юридической или налоговой сфере. Криптовалютные и цифровые активы, в том числе стейблкоины, сопряжены с высокими рисками и подвержены сильным ценовым колебаниям. Тщательно оцените финансовое состояние и определите, подходит ли вам торговля и удерживание цифровых активов. По вопросам, связанным с вашими конкретными обстоятельствами, обращайтесь к специалистам в области законодательства, налогов или инвестиций. Информация, представленная на этой странице (включая рыночные и статистические данные, если таковые имеются), предназначена исключительно для ознакомления. При подготовке статьи были приняты все меры предосторожности, однако автор не несет ответственности за фактические ошибки и упущения.

© OKX, 2025. Эту статью можно копировать и распространять как полностью, так и в цитатах объемом не более 100 слов, при условии некоммерческого использования. При любом копировании или распространении всей статьи должно быть указано: «Разрешение на использование получено от владельца авторских прав на эту статью — © OKX, 2025. Цитаты должны содержать ссылку на название статьи и ее автора, например: «Название статьи, [имя автора, если указано], © OKX, 2025». Часть контента может быть создана с использованием инструментов искусственного интеллекта (ИИ). Создание производных материалов и любое другое использование данной статьи не допускается.

Похожие статьи

Показать еще
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 нояб. 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 нояб. 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 нояб. 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 апр. 2026 г.
Для начинающих
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 нояб. 2025 г.
Средний
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 июн. 2025 г.
Средний
Показать еще