Skip to article
Degrees of SatoshiFollow the connections.
Degrees of Satoshi/ Encyclopedia

Encyclopedia DeFi · Entry 332

Order time in force: GTC, IOC and fill-or-kill

Theme
DeFi
Sources
3 cited records
Reading time
About 3 minutes
Automated verification
Substantive update
In this article

At a glance

Key facts

Key facts for Order time in force: GTC, IOC and fill-or-kill
FactDetailSource
IOCPartial execution is permitted; the unfilled remainder is cancelled.[2]
GTDdYdX documents orders that expire at a specified date.[2]
FOKFill-or-kill requires complete immediate execution.[1]
01

Keep the same limit and change the policy

Suppose a buy order requests 10 A at no more than 100 B each, but only 6 A are immediately available within that price. An IOC can buy six and cancel four. An FOK would cancel rather than accept the incomplete fill. A persistent limit order can retain the remaining four if its rules allow.

These differences come from the order policy, not a different limit price.

02

Persistent does not mean permanent

A venue can impose maximum lifetimes, maintenance rules or explicit expiry dates. The retrieved dYdX guide describes good-til-date behavior; do not assume a GTC label on another venue maps to the same implementation.

03

Read filled and remaining quantities

A cancelled status can coexist with earlier partial fills. Reconcile the executed amount and remaining amount before resubmitting, otherwise a replacement order can exceed the intended total. FOK, IOC and post-only are separate constraints and may not be offered in every combination.

Direct answers

Questions people ask

Does IOC mean the whole order must fill?

No. IOC permits an immediate partial fill. FOK is the all-or-nothing immediate policy where supported.

Inspect the evidence

The answer and key facts have stable claim links. These records retain the scope and qualification when reused.

Time in force describes how long an order remains eligible and what happens to unfilled quantity. GTC means good until cancelled, subject to venue rules; IOC immediately fills what it can and cancels the rest; FOK requires the entire order to fill immediately or cancels it. Supported policies and expiry limits vary by venue.

Scope: DeFi · data through 2026-10-02. Verification: verified · 2026-10-02T19:18:00.092Z.

Link to this claim
IOC: Partial execution is permitted; the unfilled remainder is cancelled.

Scope: DeFi · data through 2026-10-02. Verification: verified · 2026-10-02T19:18:00.092Z.

Link to this claim
GTD: dYdX documents orders that expire at a specified date.

Scope: DeFi · data through 2026-10-02. Verification: verified · 2026-10-02T19:18:00.092Z.

Link to this claim
FOK: Fill-or-kill requires complete immediate execution.

Scope: DeFi · data through 2026-10-02. Verification: verified · 2026-10-02T19:18:00.092Z.

Link to this claim
Revision history
  1. — First publication after primary-source research and separate automated verification.

Source register

Sources and references

Retrieval dates and locators are recorded individually.
  1. Create a new orderCoinbase Exchange

    General order policy example; not a claim these policies exist on every DEX.

    Locator: Time in force; post only; fill or kill · Version / scope: Documentation retrieved 2026-10-02; hash recorded · Retrieved: 2026-10-02T19:02:00.071ZOpen source
  2. Perpetual order types on dYdX ChaindYdX Operations Services

    Order-type semantics and dYdX-specific constraints.

    Locator: Market; Limit; Stop; Take Profit; execution policies · Version / scope: Documentation retrieved for the 2026-10-02 editorial scope; content hash recorded · Retrieved: 2026-10-02T18:53:20.714ZOpen source
  3. Interface of the Trade tabdYdX Operations Services

    Definition and presentation of trading market metrics.

    Locator: Orderbook; Position information; Stats · Version / scope: Documentation retrieved for the 2026-10-02 editorial scope; content hash recorded · Retrieved: 2026-10-02T18:53:20.712ZOpen source
How this article was made

Research and drafting use AI assistance. A separate automated review checks claims against primary sources; no external expert or named human review is implied. Publication, substantive editing, source retrieval and verification are recorded separately. This version was independently checked by an automated reviewer on 2 October 2026.

Editorial method and corrections

Degrees of Satoshi editorial project. “Order time in force: GTC, IOC and fill-or-kill.” Published 2026-10-02; updated 2026-10-02. https://degreesofsatoshi.com/encyclopedia/order-time-in-force/