Encyclopedia DeFi · Entry 332
Order time in force: GTC, IOC and fill-or-kill
In this article
At a glance
Key facts
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.
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.
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 claimIOC: 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 claimGTD: 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 claimFOK: 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 claimRevision history
- — First publication after primary-source research and separate automated verification.
Source register
Sources and references
Retrieval dates and locators are recorded individually.- 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 - 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 - 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
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 correctionsDegrees 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/