Skip to content
MarketClueLearn

Order Duration and Time in Force

Intermediate11 min readLesson 5 of 14

6 steps · one page

In short

Every order carries a duration, and the first article in this pillar noted that duration and order type are the two fields most people leave on their defaults.

Scope. This article explains the duration instructions attached to an order and what each one does. No duration is recommended and no order type is recommended for any situation. MarketClue accepts, routes and executes nothing. Prices are small non-canonical illustrative figures describing no actual security. Durations available and their handling vary by broker and venue — the descriptions below are the common conventions, not universal rules, and the specifics belong to an account agreement. United States market structure, checked 17 August 2026.

Duration determines how long an instruction stays alive, which determines what information it will eventually be executed against. That second consequence is the interesting one and almost nobody thinks about it.

The common designations

Day. Valid for the current session and cancelled at its end if unfilled. The most common default.

Good till cancelled. Persists across sessions until filled or cancelled. In practice brokers impose a maximum life, and the length varies between firms — so "till cancelled" generally means "till cancelled or until the firm's limit expires, whichever comes first."

Good till date. Persists until a stated date, then cancels.

Immediate or cancel. Fill whatever quantity is available right now; cancel the rest. Partial fills are the expected outcome rather than an exception.

Fill or kill. Fill the entire quantity immediately or cancel the whole order. No partial fill is possible.

At the open and at the close. Participate in the opening or closing auction rather than in continuous trading — a different mechanism, with its price set by the auction rather than by the book.

Extended-hours designations. Permit an order to work outside regular trading hours, which is a materially different environment and is dealt with below.

Worked example

Worked example

Why immediate-or-cancel and fill-or-kill are not variations on a theme. Immediate or cancel accepts a partial outcome; fill or kill refuses one. The distinction only matters when the full quantity is not available — which, as Market Orders showed, is the ordinary case for any order that is large relative to posted depth. A partial fill leaves the holder with a position they did not intend and a decision they did not plan to make — whether to complete the rest at a worse price, or to hold a fraction of what was wanted. Fill or kill avoids that and buys nothing instead. Neither is the tidy option; they distribute an unavoidable awkwardness differently.

The property of resting orders that matters most

An order that persists is a standing commitment made with old information.

A good-till-cancelled order placed three weeks ago reflects what its author believed three weeks ago. It will execute on whatever happens today — an earnings release, a sector move, an announcement — and it has no capacity to know that anything changed. The instruction does not age; the reasoning behind it does.

The practical consequence is that a resting order is most likely to execute precisely when something has happened, because that is when prices move far enough to reach it. This is the same structural point as the adverse selection in Limit Orders, extended over time rather than across counterparties: the order fills when the world has changed, and it was written before the change.

Two mechanical hazards worth knowing

Corporate actions. A resting order that survives a split, a consolidation or a distribution may be adjusted, or may be cancelled, depending on the venue's and the broker's rules rather than on anything the holder chose. An unadjusted order at an unadjusted price after a split is an instruction to trade at a price that no longer means what it meant.

Cancellation is a request, not an event. A cancel instruction must reach the venue before the order is matched, and in fast markets it may not. An order believed cancelled can still fill, which is a property of the sequence rather than a malfunction.

Outside regular hours

Extended-hours trading is a different environment wearing the same interface. Fewer participants, shallower books and wider spreads arrive together, and news is frequently released precisely then.

Illustrative session conditionsSpreadAs a share of a $40.00 midpointCost of a 100-share round trip
Active session$0.040.10%$4.00
Thin session$0.501.25%$50.00

Worked example — the same instruction, twelve and a half times the cost. A 100-share round trip costs $4.00 in the active session and $50.00 in the thin one — a ratio of 12.5×, with nothing changed except the conditions the order met. The reason the two arrive together is that the spread is the price of immediacy, and immediacy is dearer when fewer participants are available to supply it. The compounding factor is that the reason someone wants to trade outside hours is usually that something has just been announcedso the moment of greatest urgency coincides with the moment of thinnest liquidity, and the cost of acting is highest exactly when the impulse to act is strongest. MarketClue characterises no session as thin, publishes no threshold for an acceptable spread and does not suggest when anyone should or should not transact. Figures are illustrative and describe no actual security.

Frequently asked

9 questions

What is time in force?

The duration instruction attached to an order — how long it stays alive. With order type, it is one of the two fields most people leave on their defaults.

What are the common durations?

Day, valid for the current session; good till cancelled, which persists across sessions; good till date; immediate or cancel; fill or kill; at-the-open and at-the-close auction participation; and extended-hours designations.

Does good till cancelled really last indefinitely?

In practice no. Brokers impose a maximum life and the length varies between firms, so it generally means till cancelled or until the firm's limit expires, whichever comes first.

What is the difference between immediate or cancel and fill or kill?

Immediate or cancel accepts a partial fill; fill or kill refuses one. The distinction matters only when the full quantity is not available, which is the ordinary case for an order large relative to posted depth.

Is a partial fill a problem?

It leaves a position that was not intended and a decision that was not planned — complete the rest at a worse price, or hold a fraction of what was wanted. Fill or kill avoids that and buys nothing instead. Neither option is tidy.

What is the main risk of a long-lived order?

That it is a standing commitment made with old information. It will execute on whatever happens today and has no capacity to know anything changed — and it is most likely to execute precisely when something has happened, because that is when prices move far enough to reach it.

What happens to a resting order through a corporate action?

It may be adjusted or cancelled, depending on the venue's and broker's rules rather than anything the holder chose. An unadjusted order at an unadjusted price after a split is an instruction to trade at a price that no longer means what it meant.

Is a cancellation guaranteed?

No. A cancel must reach the venue before the order is matched, and in fast markets it may not. An order believed cancelled can still fill — a property of the sequence rather than a malfunction.

What is different about trading outside regular hours?

Fewer participants, shallower books and wider spreads together. On the illustration a 100-share round trip costs $4.00 in an active session and $50.00 in a thin one — 12.5 times as much — and the reason people want to trade then is usually that something has just been announced, so the greatest urgency coincides with the thinnest liquidity.

References

Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.