Time-in-Force Orders Explained: Day, GTC, IOC, and FOK

How long does an unfilled order stay alive? Understand Day, Good 'Til Canceled (GTC), Immediate or Cancel (IOC), and Fill or Kill (FOK) order lifespans.

MyTrade Academy Editorial Team
8 min read

When placing a trade, most investors focus entirely on price and quantity. Yet, buried at the bottom of every order ticket is an unassuming setting called Time-in-Force (TIF).

Time-in-Force specifies the expiration rules of an order—instructing your broker exactly how long an unfilled order should remain active in the order book, and what should happen if only part of the order fills. Choosing the wrong setting can lead to sudden surprise executions weeks later or an order canceling prematurely right before the market moves.

TL;DR

Time-in-Force (TIF) defines how long an order remains active before expiring or being automatically canceled. Four common TIF instructions are: Day (active for the session designated by the broker and exchange), Good 'Til Canceled (GTC, active across sessions until filled, canceled, or reaching broker expiration limits), Immediate or Cancel (IOC, fills immediately against available liquidity and cancels any remainder), and Fill or Kill (FOK, fills in its entirety immediately or cancels completely). Availability and partial fill handling vary by broker and venue.

Four Common Time-in-Force Instructions

Here is how four common Time-in-Force instructions typically operate in live markets:

1. Day Orders (The Default): A Day order is active only for the current trading day. The exact automatic cancellation cutoff depends on your broker and exchange session rules (orders do not automatically carry over into extended-hours or next-day trading).

2. Good 'Til Canceled (GTC): A GTC order remains active across multiple sessions until executed or canceled. Brokers may impose their own expiration limits on GTC orders and may cancel them after specific corporate actions. Check the broker and venue’s current rules.

3. Immediate or Cancel (IOC): An execution strategy instruction telling the matching engine: *'Fill as many shares as possible immediately at my limit price; cancel whatever is left over right now.'* Support for IOC and the commission treatment of partial fills depend on your broker and execution venue.

4. Fill or Kill (FOK): An all-or-nothing execution strategy instruction: *'Fill the entire order immediately, or cancel the whole thing instantly.'* If available liquidity cannot satisfy the full quantity immediately, the entire order cancels with zero execution.

Time-in-Force Orders: Mechanics, Lifespans, and Treatment of Unfilled Shares
TIF InstructionActive LifespanPartial Fill Allowed?Treatment of Unexecuted Portion
Day OrderCurrent trading session (cutoff depends on broker and market)Yes (partial fills permitted)Automatically canceled when the designated session ends
Good 'Til Canceled (GTC)Multiple sessions (subject to broker limits or corporate action cancellation)Yes (partial fills permitted)Remains active across sessions until filled, canceled, or expired
Immediate or Cancel (IOC)Milliseconds (execution strategy instruction)Yes (partial fills permitted)Any unfilled residual is canceled immediately with zero resting balance
Fill or Kill (FOK)Milliseconds (execution strategy instruction)No (strictly all-or-nothing)If the full quantity cannot execute instantly, the entire order cancels

Specific TIF availability, extended-hours eligibility, and partial-fill fee structures depend on broker and venue matching rules.

Strategic Use Cases for Each Time-in-Force Type

Matching the correct TIF to your trading strategy prevents costly execution surprises:

When to Use Day Orders: Day trading, momentum trading, or any strategy where technical levels are only valid for today's session. Using Day orders ensures that you start every morning with a clean slate and zero forgotten resting risk.

When to Use GTC Orders: Long-term swing trading, placing profit targets on multi-week holdings, or setting protective stop-loss orders. You want your protective stop loss active day after day without having to re-enter it every morning.

When to Use IOC Orders: Fast-moving markets or algorithmic execution where you want to take available liquidity immediately without leaving a resting limit order exposed to adverse selection.

When to Use FOK Orders: Large institutional orders, block trades, or arbitrage strategies where executing only part of the position would leave you dangerously unhedged.

The Forgotten GTC Trap

The biggest danger of GTC limit orders is the 'forgotten fill'. A swing trader places a GTC buy limit order on an equity at $45 when the stock is at $55. Two months later, the company faces an unexpected accounting scandal, gaps down 20% at the open, and slices right through $45. The forgotten GTC order fills automatically, saddling the trader with an unexpected position in a deteriorating company.

Time-in-Force Selection Checklist
  • I verified the TIF setting on my order ticket before submitting.
  • If using Day, I understand the order expires when the closing bell rings.
  • If using GTC, I logged the order in my journal and will review open orders weekly.
  • If using IOC or FOK, I verified that my broker and asset class support these order types.
  • I confirmed my broker's current GTC expiration limits and corporate action cancellation policies.

Frequently Asked Questions

Do GTC orders remain active during pre-market and after-hours sessions?

Typically no, unless you explicitly select an extended-hours routing flag (such as 'GTC + Extended Hours'). By default, most brokers only route standard GTC orders during regular trading hours.

Can a partial fill on a Day order result in extra commission fees?

Most modern brokers treat multiple partial fills on the same order within a single session as one execution for commission purposes. However, partial-fill fee treatment varies by broker, and GTC fills occurring across separate trading days may incur separate per-day charges.

What is an 'At-the-Opening' (OPG) or 'At-the-Close' (CLS) order?

These are specialized session-based TIF instructions. An OPG order executes only in the opening auction/cross, while a CLS order executes only in the official closing auction. If not matched in the cross, they cancel immediately.

Master Order Execution & Checklists

Lesson 34 guides you through a complete pre-trade checklist routine, ensuring your order type, time-in-force, and sizing are always executed with precision.

Open Lesson 34: Execution Checklist