What Does Time in Force Mean on a Stock Order?
Every order carries an expiry instruction, whether you chose one or accepted the default. That instruction decides whether the order dies at the close, waits for weeks, or lives for a fraction of a second.
Definition
Time in force: The instruction attached to an order that sets how long it stays working before it expires or is canceled, such as for the day, until canceled, or only for an instant.
Also called TIF, Day order, GTC order.
You set a limit buy well under the market, the stock never gets there, and you move on. Weeks later, after some bad news you did not see, the price drops through your level and the order fills, buying a stock you stopped wanting long ago. The order did exactly what it was told. Its time in force said to keep waiting, so it waited.
Time in force is the expiry instruction on an order. It answers one question: how long should this order keep trying?
The main settings
Day. The order works during the current regular session and expires unfilled at the close. On most platforms it is the default, although defaults differ, which is one of the settings worth checking in your broker’s default order settings.
Good-til-canceled (GTC). The order stays open across sessions until it fills or you cancel it. Brokers usually cap how long a GTC order can live, after which it is canceled automatically, and the cap varies by broker, so look up yours before assuming an order is still out there.
Immediate-or-cancel (IOC). Whatever can fill right now fills. The rest is canceled at once.
Fill-or-kill (FOK). The entire quantity fills immediately, or nothing does.
Extended-hours eligibility. Strictly this is a separate switch, though it sits next to the time in force menu on most order tickets, and it decides whether the order may execute in pre-market or after-hours sessions, where quotes are thinner and some order types are not accepted at all. Whether stop orders work in extended hours depends on the broker.
| Setting | Lives for | Partial fills | Typical use |
|---|---|---|---|
| Day | Rest of the regular session | Yes | Most intraday entries and exits |
| GTC | Until filled, canceled or the broker’s cap | Yes | Resting limits and protective stops |
| IOC | An instant | Yes, remainder canceled | Taking available size without leaving an order behind |
| FOK | An instant | No | All-or-nothing when size matters |
Some brokers also offer variations, such as an order good until a date you choose, or orders tied to the opening or closing auction. The four above are the ones almost every platform supports.
What each one is for
A day order suits anything tied to today’s conditions. If the reason for the trade is a level you saw this morning, it probably should not survive the night.
GTC suits orders whose logic does not depend on the calendar, like a protective stop under a long-term holding or a limit at a price you would genuinely pay next month. IOC and FOK suit traders who want an answer now. You send the order, you get a fill or a cancel, and there is no working order left to forget.
Protective stops deserve a deliberate choice. A stop entered as a day order vanishes at the close, so the position sits unprotected from the next open until you enter it again. A GTC stop stays in place, which is usually what you want, although no time in force protects you from an opening gap, and what happens to a stop when a stock gaps past it is a separate problem. Pick the setting on purpose.
What goes wrong
Forgotten GTC orders. This is the classic. The order outlives the reason you placed it, then fills on a day when the news behind the move would have changed your mind, and because it is a resting order it fills at your limit or better, whatever the reason the stock got there. Review open orders on a schedule.
Day orders that quietly expire. You place a limit, it does not fill, and at the close it is gone, which matters most for a stop you meant to leave in place. If a limit you expected to fill did not, why a limit order does not fill when price touches it covers the queue side of it.
IOC partial fills. Ask for 1,000 shares with IOC when only 300 are offered at your limit, and you own 300 shares with nothing working for the other 700. Position size is now different from the plan. Partial fills explains how brokers handle the leftover on other order types.
FOK that never fills. In a thin stock, an all-or-nothing instruction can fail over and over while smaller orders trade around you.
GTC and corporate actions. Splits, dividends and other events can lead a broker to adjust or cancel open orders. Check what happened to yours after any such event.
Anything you would not place today should be canceled today. An order with a long time in force is a decision you made once and keep making, every session, without looking at it again unless you choose to.
Also asked
- Does a GTC order carry over into pre-market trading?
- Only if the order is marked as eligible for extended hours and your broker supports that combination. Many brokers treat GTC and extended-hours eligibility as separate settings.