Skip to main content
Menu

⚠️ Risk Warning: Trading forex, CFDs, and cryptocurrencies involves substantial risk of loss and may not be suitable for all investors. This platform provides educational content only and does not constitute financial advice.

Ξ Level 2 · Beginner Spot Trading & Execution Execution Mechanics

Time-in-Force

Understand crypto time-in-force instructions including GTC, IOC, FOK and GTD, with fill behaviour, cancellation and execution trade-offs.

Progress 0%

Reading progress — saved on this device

SPOT TRADING & EXECUTION · EXECUTION MECHANICS

Time-in-force (TIF) tells the venue how long an order may remain active and what to do with unfilled quantity. It changes order lifecycle, not the underlying price instruction.

Risk first. Selecting the wrong TIF can create silent non-fills, unwanted resting orders or unexpected partial execution. Acronyms are common but venue support and exact semantics vary.
Last reviewed: 21 August 2026 · Educational content only

Price instruction and duration instruction are separate

A limit price defines the acceptable execution boundary. Time-in-force defines persistence and fill conditions. For example, the same buy limit at £80,000 can be GTC and rest for days, IOC and cancel unfilled quantity immediately, or FOK and require the entire quantity to execute immediately.

TIF therefore controls order state rather than expressing a bullish or bearish view.

Common time-in-force instructions

TIFTypical meaningPartial fill?Unfilled remainder
GTC — Good-Til-CancelledRemain active until filled or cancelledYesStays live
IOC — Immediate-Or-CancelExecute available quantity immediatelyYesCancelled immediately
FOK — Fill-Or-KillEntire quantity must execute immediatelyNormally noWhole order cancelled if full fill unavailable
GTD/GTT — Good-Til-Date/TimeRemain active until specified expiryYesCancelled at expiry
Venue nuance: some exchanges use “GTC” as the default and may not support every TIF for every market or order type. FOK handling also depends on how the venue tests immediately executable liquidity.

Match TIF to execution objective

Passive queue participation

GTC or GTD can preserve queue position while waiting for liquidity.

Immediate partial execution

IOC suits an order willing to take available size but not leave a remainder resting.

All-or-none immediacy

FOK avoids partial fills but can sharply increase non-execution probability.

Operational hygiene

GTD can prevent forgotten long-lived orders from remaining active indefinitely.

Changing or cancelling an order can lose queue priority. TIF choice should therefore be made before submission when queue position matters.

Worked example

The best asks contain 2 BTC at £80,000 and 1 BTC at £80,050. You submit a buy limit for 5 BTC at £80,100.

With IOC, 3 BTC can fill immediately and the remaining 2 BTC are cancelled. With FOK, if the venue determines only 3 BTC are immediately executable up to £80,100, the entire 5 BTC order is cancelled with zero fill. With GTC, 3 BTC can fill and the remaining 2 BTC can rest at £80,100.

Same price, different state outcome: the limit is identical in all three examples; TIF changes what happens to quantity that cannot execute immediately.

Time-in-force in APIs and real workflows

Interfaces often hide TIF behind defaults, while APIs require an explicit code such as GTC, IOC or FOK. If an automated client omits the field, the venue default can leave an order resting when the strategy expected immediate cancellation.

Expiry-based orders also need clock discipline. A good-till-date instruction depends on the venue's accepted timestamp format and server clock, not merely the trader's local computer time. For systems using GTD/GTT, record the exact expiry returned by the venue acknowledgement.

Operational test: before deploying automation, submit very small orders and confirm the observed remainder state for each supported TIF. Documentation describes intended behaviour; order-state readback confirms how the venue actually reports it.

Common mistakes and misunderstandings

  • Leaving GTC orders active and forgetting they still represent executable intent.
  • Using FOK when partial execution would have been acceptable, creating unnecessary non-fills.
  • Assuming IOC means no partial fills—it explicitly allows them.
  • Assuming TIF changes the limit price or guarantees execution quality.
  • Not checking whether a venue interprets expiry time in UTC or another timestamp convention.
Execution discipline: Treat TIF as part of order design. Before submission, decide whether you prefer persistence, immediate partial execution or all-or-none behaviour.

Knowledge checkpoint

Q1. What happens to the unfilled remainder of an IOC order?

Q2. How does FOK differ from IOC when only 60% of the requested size is immediately available?

Q3. Why can GTC create operational risk even when the limit price is correct?

Q4. Does time-in-force change the worst acceptable limit price?

Self-check: A strong answer should explain both the order instruction and the execution consequence, including what can happen if liquidity or venue state changes.

FAQ

❓ What is the default time-in-force?

Many venues default limit orders to GTC, but this should be checked rather than assumed.

❓ Does IOC mean immediate full execution?

No. IOC can partially fill immediately and cancels the rest.

❓ Does FOK allow partial fills?

Its purpose is normally full immediate execution or none, subject to venue-specific implementation.

❓ Can a GTD order expire while partially filled?

Yes. The filled portion remains executed and the remaining quantity is cancelled at expiry.

Summary

  • Time-in-force controls persistence and handling of unfilled quantity.
  • GTC, IOC, FOK and GTD express materially different lifecycle rules.
  • The same limit price can produce very different outcomes under different TIFs.
  • Venue support and exact semantics should be verified before use.

This building block explains execution mechanics and risk. It is not a recommendation, signal or instruction to trade any cryptoasset.

BUILD YOUR OWN PATH

Want this in a personalised order?

Take the crypto assessment and get a custom path of 10 modules matched to what you already know. Free, no card required.

Build my path →