top of page

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

Writer: Discipline AI
Discipline AI
1 hour ago
11 min read

Trader selecting an order’s duration

Time in force (TIF) is the instruction that tells your broker or exchange how long an order stays live and when it should be canceled. The four settings you will meet most often are Day, Good-'til-canceled (GTC), Immediate-or-cancel (IOC) and Fill-or-kill (FOK). Pick the wrong one and you can end up with an order that vanishes at 4:00 p.m. Eastern, or one that fills weeks later in conditions you no longer wanted.

 

This guide explains each setting in plain terms, shows how Day and GTC differ, covers what happens to orders placed after hours, and notes how crypto and forex venues handle the same idea.



TL;DR

 

  • Time in force controls the lifespan of an order: how long it can wait for a fill before it expires or is canceled.

  • Day orders end with the trading session. GTC orders stay active until filled or canceled, but your broker sets a maximum period.

  • IOC and FOK are for speed: IOC takes whatever fills right now and cancels the rest, while FOK fills everything immediately or nothing.

  • The exact rules, such as GTC length and extended-hours eligibility, differ by broker or exchange, so read the order ticket before you submit.

  • Match the setting to your plan: a trade idea tied to today’s session needs Day, and a level you are waiting for over weeks may need GTC.

 

Table of Contents

 

 

What time in force means

 

When you place an order, price is only half the instruction. The other half is time. According to FINRA’s guide to time parameters and qualifiers, time in force sets the timing of an order’s execution for situations where buyers or sellers may not be available at your desired price right away.

 

Think of a limit order to buy at $50 when the stock trades at $52. The price instruction says “not above $50.” The time-in-force instruction says how long the order should keep waiting for the stock to come down. Without that second instruction, nobody knows whether you meant for the next ten seconds, the rest of today or the next month.

 

If you want a refresher on the price side of the instruction, our guide to market vs limit orders covers it.

 

The four common time-in-force settings

 

FINRA lists the standard options for stock orders. In short:

 

Setting

What it does

Partial fills?

Best for

Day

Stays active through the current trading day, then expires

Yes

Trades tied to today’s session

GTC

Stays active until filled or canceled, up to a broker-set limit

Yes

Price levels you are willing to wait for

IOC

Fills what it can immediately, cancels the rest

Yes

Taking available size now without leaving a resting order

FOK

Fills the entire order immediately or cancels all of it

No

When a partial position is worse than none

These definitions follow FINRA’s description of the four settings. The same page also describes All-or-none (AON), which prevents partial fills but, unlike FOK, does not require immediate execution.

 

Day orders

 

A Day order is the default for most retail stock trading. Investor.gov says that unless you specify another timeframe, U.S. stock buy and sell orders are generally Day orders, and that an unfilled Day order generally cancels at the end of regular trading hours.

 

Regular hours for U.S. stocks run from 9:30 a.m. to 4:00 p.m. Eastern Time, according to FINRA. Exchange rule text says the same thing in formal language: NYSE’s SEC-filed rule defines a Day order as one that expires at the end of the 9:30 a.m. to 4:00 p.m. session on the day it was entered.

 

Day orders are a good fit when your idea has a shelf life of one session, such as a breakout trade planned around the open or an exit you want gone by the close.

 

Good-'til-canceled (GTC) orders

 

A GTC order stays working across sessions. The name suggests forever, but it is not. FINRA stresses that brokerages impose a maximum active period, so a GTC order is not automatically indefinite. If your plan depends on an order surviving a month, find out how long your broker’s GTC actually lasts.

 

Immediate-or-cancel (IOC)

 

IOC says: fill as much as you can right now, and cancel whatever is left. You might use it when you want to take the liquidity that is visible at your price but do not want a leftover piece resting on the book. The NYSE rule text describes IOC as executing against available displayed interest to the extent possible and immediately canceling the unexecuted portion.

 

Fill-or-kill (FOK)

 

FOK is the all-or-nothing version of IOC. The entire quantity must fill immediately, or the whole order is canceled. It suits traders who need a full position for the trade to make sense, for example when the position size was calculated from a specific risk budget and a partial fill would break that math.

 

Day vs GTC: how to choose

 

The real decision most traders face is Day versus GTC. Here is a practical way to think about it.

 

Choose Day when:

 

  • The setup depends on today’s conditions: the opening range, a scheduled news release, an intraday level.

  • You do not want to wake up to a fill you forgot about.

  • You want a clean slate each morning, so every order is a deliberate new decision.

 

Choose GTC when:

 

  • You are waiting for price to reach a swing level that may take days or weeks.

  • You have a protective stop or a profit target on an open position that should stay in place overnight.

  • You have already decided the level and do not want to re-enter it daily.

 

The tradeoff is that GTC orders can outlive the reason you placed them. A buy limit set during a calm trend can fill weeks later after the market regime has changed, volatility has jumped or the stock has reported earnings. A good habit is to review every open GTC order on a fixed schedule, such as once a week, and cancel any whose original thesis no longer holds.

 

How long a GTC order really lasts

 

There is no single U.S. standard. Brokers choose their own limit, and the difference can be large.

 

 

Same label, very different lifespans. If you set a GTC order in March expecting it to catch a dip in June, one broker would still be holding it and the other would have dropped it. Always check the expiration shown on the order confirmation, not just the label you selected.

 

A second subtlety: the time-in-force label does not override session rules. NYSE’s SEC-filed rule says its GTC orders are not eligible for execution in off-hours trading facilities. So choosing GTC does not by itself mean your order will trade in extended hours.

 

What happens to a Day order placed after hours

 

This is the most common point of confusion, and it is exactly what people ask when they search for time in force. Suppose you submit a Day limit order at 6:00 p.m. Eastern. When does it expire?

 

Brokers differ in the details, but the pattern is consistent in the U.S. guidance:

 

  • FINRA says you must specify whether a Day order should remain active during extended hours. Availability varies by order type, and extended-hours trading can mean lower liquidity and higher volatility.

  • One major brokerage explains that a Day order submitted after the regular session is commonly queued for the next trading day. Its regular-session Day orders expire at the 4:00 p.m. Eastern close on the entry day, or on the next trading day if submitted after the close.

 

In practice, an after-hours Day order typically does not die immediately because the session it belongs to has not started yet. It waits for the next regular session and then expires at that session’s close, unless you explicitly chose an extended-hours option. Your broker’s help page is the final word, so check how your own platform labels these choices before you rely on them.

 

Time in force beyond stocks: crypto and forex

 

The same idea carries into other markets, though the menu of options and the defaults change.

 

Crypto

 

Crypto trades around the clock, so “end of the day” means less. Exchanges tend to lean on GTC-style behavior and offer expiry timestamps instead. For example, one major exchange’s spot API documentation says its orders default to GTC and that it supports GTC, GTD (good-'til-date), IOC and FOK. A GTD order lasts until the expiration timestamp you supply. That same documentation defines IOC as canceling any quantity that cannot be filled on arrival, and FOK as requiring the full quantity to fill immediately or the entire order is canceled.

 

Because crypto has no closing bell, a resting order can sit through weekends and overnight spikes. If you leave a limit order open, decide up front when it should expire, and note that defaults can differ from one venue to the next.

 

Forex

 

Forex runs nearly around the clock on weekdays, and platforms typically offer their own expiry choices for pending orders, such as open-ended, end-of-day or a specific date and time. Names and behavior vary by platform and broker, so look at the pending-order window in yours before assuming what “GTC” means there. Session timing matters too: liquidity and volatility shift sharply when major sessions overlap, which is why our piece on the London and New York overlap is worth reading before you decide how long an order should live.

 

Matching time in force to your trade plan

 

A time-in-force choice is part of your plan, not an afterthought at the order ticket. A few examples:

 

Intraday breakout. You plan to buy if price clears the morning high, with a stop below the range. Use Day orders for the entry. If the breakout does not happen today, the idea is stale.

 

Swing entry at support. You want to buy a pullback to a level you marked on the daily chart, which may take two weeks. A GTC limit makes sense, with a calendar reminder to review it. If you mark zones using supply and demand logic, our walkthrough on order block trading from chart marking to execution shows how to turn them into concrete entries.

 

Large order in a thin market. You want a full fill or nothing, because a partial would distort your risk. FOK fits. If partials are acceptable, IOC lets you take what is available.


Four time-in-force choices matched to trade plans

Protective stop. A stop that vanishes at the close does not protect an overnight position. Make sure the stop’s duration matches the holding period of the trade.

 

Whatever you choose, size the position before you pick the duration. Discipline in order handling comes down to making decisions in advance, which is also the idea behind a preconfigured trading lockout that stops you from taking impulsive trades after a bad run.

 

Common mistakes to avoid

 

  1. Assuming GTC means forever. It does not. Check the expiration on your confirmation.

  2. Forgetting open GTC orders. A forgotten buy limit can fill into a news event. Review them weekly.

  3. Using Day orders for stops on swing trades. The stop lapses at the close while your position stays open.

  4. Expecting extended-hours fills from a plain order. You generally need to opt in, and liquidity can be thin.

  5. Using FOK when partial fills would be fine. You may cancel a trade you actually wanted at a slightly smaller size.

  6. Re-entering emotionally after an expiry. When an order lapses and price then runs, the urge to chase is strong. A calm reentry routine after a stop helps you decide on evidence rather than frustration.

 

A quick pre-submit checklist

 

Before you press submit, run through four questions:

 

  • How long should this idea stay valid? If you cannot answer, the setup is not ready.

  • What does my broker or exchange do at expiry? Know the maximum GTC length and the default.

  • Do I need the full size? If yes, consider FOK or AON. If not, IOC or a regular limit works.

  • Which sessions can this order trade in? Regular hours only, or extended hours as well.

 

Stock traders in the U.S. should also keep account rules in mind when they place several orders in a day. Our update on the pattern day trader rule and the $25,000 limits explains what has been changing.

 

Our perspective

 

Most order mistakes are not execution mistakes. They are planning mistakes that show up at the order ticket. A trader chooses GTC because it is convenient, forgets about it, and then the fill arrives in a market that no longer resembles the one the plan was built for.   We built Discipline AI around the idea that every decision should come with evidence and an expiry date. Sentinel, our intelligence and research system, looks at market structure, liquidity events, trend direction, volatility and market regimes, so you can see whether conditions still support a setup before you decide how long it deserves to stay live. When conditions do not warrant action, the platform helps you stand aside rather than leave something resting out of habit.   Paper trading lets you practice the difference between Day, GTC and fill-or-kill style thinking without risking capital, and the trading journal and AI Trade Autopsies show how your timing choices played out. We emphasize measurable evidence, such as win rate, expectancy, reward-to-risk and sample size, over predictions. We do not guarantee profitable trades, but we do believe a trader who plans duration as carefully as price makes better decisions.   Tony

 

Practice time-in-force decisions with Discipline AI

 

If you want to build the habit of deciding how long a trade idea stays valid, Discipline AI brings market-condition analysis, trade planning, risk tools, paper trading and journaling into one mobile app for iOS and Android. Pro is $8.99 per month or $79.99 per year, and there is also a one-off option at $199.99. You can compare them on the pricing page, or start from the Discipline AI home page.


Disciplineaiapp

For a structured, step-by-step approach to building trading habits, The Disciplined Trader is available as a $79 one-off purchase.

 

FAQ

 

When buying stocks, what does time in force mean?

 

It is the instruction that says how long your order remains active before it expires or is canceled. FINRA explains that it sets the timing of execution when a buyer or seller may not be available at your price right away. The common choices are Day, GTC, IOC and FOK.

 

What is the difference between a GTC order and a day order?

 

A Day order lasts through the current trading day and cancels if unfilled. A GTC order stays active across sessions until it fills or is canceled, but your brokerage sets a maximum period. Day orders suit single-session ideas, while GTC suits levels you are willing to wait for.

 

What does GTC mean in the stock market?

 

GTC stands for good-'til-canceled. The order remains in force until it is executed or you cancel it, up to the broker’s limit. Those limits differ: one large brokerage uses 180 calendar days by default, and another allows up to 60.

 

When does a day order placed after hours expire?

 

In general, a Day order submitted after the close is queued for the next trading day and expires at that session’s close, unless you choose an extended-hours option. Brokers label and handle this differently, so confirm the behavior on your own platform.

 

Do crypto exchanges use time in force?

 

Yes. Many crypto venues support GTC, IOC and FOK, and some add good-'til-date orders that expire at a timestamp you set. Since crypto trades continuously, check the default on your exchange so a resting order does not stay open longer than you intended.

 

Sources

 

Recommended

 

 
 
 

Comments


bottom of page