Trading concepts

Order Types in Trading: Market, Limit, Stop and Time in Force

Market, limit, stop and stop-limit orders, sell stop versus sell limit, and the time in force that keeps an order alive, with the SEC's definitions, a real April 2025 gap that shows what a stop and a stop-limit did, the exchanges' closing auction deadlines, and how often stops and limits filled past or short of their price on our daily data since 1993.

· Founder of PatternsWizard
Checked 14 min read
Where each order type sits relative to the price: a price line with the current price. Above it: sell limit and buy stop. Below it: buy limit and sell stop. A market order fills at the current price.
On this page
  1. The main order types in trading
  2. Sell stop vs sell limit, buy stop vs buy limit
  3. What a stop did on a real gap
  4. How often a stop fills past its price: our daily data
  5. Forex: the weekend gap
  6. Limit orders: touched is not filled
  7. Time in force: day, GTC, IOC and fill or kill
  8. Market on close and limit on close orders
  9. Entering an order
  10. Frequently asked questions

An order type is the instruction that tells your broker how to trade: at any price right now, only at a price you set, or only once the market reaches a trigger. The three basic types are the market order, the limit order and the stop order, and the stop-limit order combines the last two. A second instruction, the time in force, says how long the order stays live. This page gives the SEC's investor definitions, where each order sits relative to the price, a real gap that shows what a stop and a stop-limit actually did, and the closing auction deadlines from the exchanges' own documents.

Where each order type sits relative to the price

Where each order type sits relative to the price: a price line with the current price. Above it: sell limit and buy stop. Below it: buy limit and sell stop. A market order fills at the current price.
Schematic, not market data.Limit orders wait for a better price than now, stop orders for a worse one. A market order trades at once at the best available price.

The main order types in trading

The definitions below quote Investor.gov, the SEC's site for individual investors.

  • Market order. "An order to buy or sell a security immediately. This type of order guarantees that the order will be executed, but does not guarantee the execution price." A market buy generally fills at or near the ask, a market sell at or near the bid.
  • Limit order. "An order to buy or sell a security at a specific price or better." A buy limit fills only at the limit or lower, a sell limit only at the limit or higher, and the order may never fill.
  • Stop order. Also called a stop-loss order, it is an order to buy or sell "once the price of the stock reaches the specified price, known as the stop price. When the stop price is reached, a stop order becomes a market order." The SEC's bulletin on stop orders adds that the stop price "is not the guaranteed execution price."
  • Stop-limit order. When the stop price is reached, the order becomes a limit order, so it controls the price but "may not be executed if the stock's price moves away from the specified limit price."
  • Trailing stop. A stop whose stop price follows the market by a fixed amount or percentage; it is covered on trailing stop.

What each order type becomes

What each order type becomes: four rows. A market order executes as soon as it is sent, at a price that is not guaranteed. A limit order waits at its limit price or better and may never fill. A stop order, once its stop price is reached, becomes a market order, at a price that is not guaranteed. A stop-limit order, once its stop price is reached, becomes a limit order and may never fill.
A diagram of the order logic, not market data: what each of the four orders becomes once it is sent, as the SEC bulletins quoted above describe it.

Some brokers trigger stops on the last sale price and others on quotes, the bulletin notes, so the same stop can trigger at different moments at two brokers. Linked orders, where one order sends another once it fills, are covered on OTO order, and orders that hide part of their size on iceberg order.

Sell stop vs sell limit, buy stop vs buy limit

The four resting orders differ by side and by where they sit relative to the current price. A limit order waits for a better price than now; a stop order waits for a worse one and then trades at market.

OrderPlacedTypical use
Buy limitBelow the priceBuy a pullback at a set price or better
Sell limitAbove the priceTake a profit at a set price or better
Buy stopAbove the priceBuy a breakout, or cap the loss on a short
Sell stopBelow the priceCap the loss on a long, or sell a breakdown

One mix-up to avoid is placing a sell limit below the price to protect a long: a sell limit below the market is marketable and sells at once. Protection below the price is a sell stop or a sell stop-limit. More on placing protective stops is on stop loss order.

What a stop did on a real gap

Gaps show what a stop does and does not do, because the next trade can be far from the stop price. The S&P 500 ETF closed at 536.70 on Thursday, April 3, 2025 (our daily prices, before the adjustment for dividends paid since). Take a holder with a sell stop at 530 and, in a second account, a sell stop-limit with a stop at 530 and a limit at 528, both good until canceled. The next sessions:

SessionOpen, high, low, closeWhat happened
Fri April 4, 2025523.67, 525.87, 505.06, 505.28Opened below 530: the stop became a market order and sold near 523.67, 6.33 below the stop price. The stop-limit triggered too, but 528 was above every trade of the day: unfilled
Mon April 7489.19, 523.17, 481.80, 504.38Stop-limit still unfilled, the price 46.20 under the limit at the low
Tue April 8521.86, 524.98, 489.16, 496.48High below 528: still unfilled
Wed April 9493.44, 548.62, 493.05, 548.62The rally passed 528: the limit sell could fill at 528 or better

A stop and a stop-limit on a gap down

A stop and a stop-limit on a gap down: a stop price line and, below it, the limit of a stop-limit. After the last close above both, the next session opens below both: the stop becomes a market order and sells at the open, below its stop price. The stop-limit triggers too but cannot sell below its limit; the next two sessions trade below the limit, and it fills only on the fourth session, when the price rallies back through the limit.
Schematic, not market data. Shape of the four sessions in the text, drawn without prices.

The stop did its job of getting out, at a worse price than its stop; the stop-limit did not protect anything for three sessions and only sold because the price came back. Had the price kept falling, it would still be open. Daily bars do not show the exact fill of a market order at the open, which depends on the opening auction and the broker, so treat 523.67 as an approximation.

How often a stop fills past its price: our daily data

The April 2025 gap is one day. To see how often it happens, we placed a sell stop below the prior close every day on our daily price data: 46 ETFs since 1993, the S&P 500 ETF among them, 1,701 stocks since 2005 and 16 large cryptocurrencies. The stop sits 1%, 2% or 5% below the prior close, or 1 or 2 average true ranges (14 days) below it, and is valid for the next session only. It triggers when the low reaches it. If the session opens at or below the stop, the fill is the open; otherwise we count the fill at the stop itself, the best case, since daily bars do not show slippage inside the session. Indices are left out: they cannot be traded directly, and their ETFs are in the test.

Sell stops below the prior close: how often the next session opens past the stop

Sell stops below the prior close: how often the next session opens past the stop. SPY: Stop 2% below 13.4%, Stop 5% below 17.5%; ETFs: Stop 2% below 20.1%, Stop 5% below 16.0%; Stocks (since 2005): Stop 2% below 12.1%, Stop 5% below 10.3%; Crypto: Stop 2% below 0.0%, Stop 5% below 0.0%. Our computation; the inputs and the method are in the text.
  • Stop 2% below
  • Stop 5% below
Our computation; the inputs and the method are in the text.Share of triggered sell stops (the low reached the stop) where the session opened at or below the stop, so the fill is the open, not the stop. One stop a day, valid for the next session only. Daily data to 2026-10-28: 46 ETFs since 1993, stocks since 2005 (survivors only), 16 large cryptocurrencies.

For a stop 2% below the prior close, the open had already jumped it in 12.1% of triggered stops on stocks, 20.1% on ETFs and 13.4% on the S&P 500 ETF alone. ETFs gap more often than stocks here partly because many of them hold foreign stocks, bonds or commodities that keep trading while New York is closed. Crypto trades around the clock: its daily open is the prior day's close, and of 26,156 triggered stops, 1 opened past the stop. That does not make crypto stops exact; the slippage happens inside the bar, where daily data cannot see it.

When the open jumps the stop: how much worse the fill is (median)

When the open jumps the stop: how much worse the fill is (median). ETFs: Stop 2% below 0.70%, Stop 5% below 1.50%; Stocks (since 2005): Stop 2% below 0.91%, Stop 5% below 2.02%. Our computation; the inputs and the method are in the text.
  • Stop 2% below
  • Stop 5% below
Our computation; the inputs and the method are in the text.Median distance between the stop price and the opening price, in % of the stop price, for the stops that the open jumped. Crypto trades around the clock, so its daily open is the prior close and gaps through a stop are near zero.

When the open did jump a 2% stop, the median fill was 0.91% below the stop price on stocks and 0.70% on ETFs, and one gap in ten cost more than 4.4% on stocks. The worst open of the S&P 500 ETF in our data, on March 16, 2020, was 10.4% below the prior close: a stop 2% below sold 8.6% under its price.

Averaged over every triggered stop, gaps included, a 2% stop lost 2.23% on stocks instead of 2%, and 2.25% on ETFs. The extra 0.23% on stocks is 2.3 times the 0.10% round-trip cost our tests charge for stocks; on ETFs, 4.9 times the 0.05% we charge. A stop at 1 ATR, 3.1% away on average for stocks, was jumped by the open in 7.4% of triggers. Our stock list misses many companies that were later delisted, so the worst gaps, those of companies that collapsed, are under-counted.

Forex: the weekend gap

Currencies trade around the clock during the week, so the big jumps over a forex stop come when the market reopens after the weekend. On our hourly bid prices for 25 pairs, 2012 to 2026, we compared the first price after each weekend or holiday closing with the last price before it: 18,841 closings.

Forex: weekends where Sunday's first price was already past a stop

Forex: weekends where Sunday's first price was already past a stop. Stop 0.25% below Friday's last price: 6.4%; Stop 0.5% below Friday's last price: 2.0%; Stop 1% below Friday's last price: 0.5%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Share of 18,841 weekend closings of 25 currency pairs, 2012 to 2026, hourly bid prices. Holiday closings are included.

The typical reopening moved 0.06%, and one in a hundred moved more than 0.86%. A sell stop 0.5% below Friday's last price was jumped on 2.0% of weekends, and on those, the fill was on average 0.33% beyond the stop. The largest reopening gap in our data was GBP/JPY on June 26, 2016, 2.5% lower than Friday's last price.

Limit orders: touched is not filled

A buy limit has the opposite problem. It never fills worse than its price, but a low that only touches the limit does not prove a fill: orders at the same price are filled in turn, and yours may be at the back of the queue. On the same data, we took buy limits 2% below the prior close and looked at every session whose low reached the limit.

Buy limits 2% below the prior close, on the sessions that reached them

Buy limits 2% below the prior close, on the sessions that reached them. ETFs: opened below the limit: 20.1%; ETFs: traded 0.1% or more below: 71.9%; ETFs: touched by less than 0.1%: 8.0%; Stocks: opened below the limit: 12.1%; Stocks: traded 0.1% or more below: 82.0%; Stocks: touched by less than 0.1%: 5.9%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Share of the sessions whose low reached the limit. Opened below: filled at the open, a better price. Traded through: filled. Touched by less than 0.1%: the fill depends on your place in the queue and is not guaranteed.

On stocks, 12.1% of those sessions opened below the limit, a fill at the open at a better price; 82.0% traded at least 0.1% below it, a sure fill; and 5.9% only touched it, by less than 0.1%, a fill that daily data cannot confirm. On ETFs, the share that only touched was 8.0%.

Where the session closed, against a buy limit 2% below the prior close

Where the session closed, against a buy limit 2% below the prior close. ETFs: barely touched: +0.87%; ETFs: traded through: −0.08%; ETFs: opened below: −1.14%; Stocks: barely touched: +1.39%; Stocks: traded through: +0.02%; Stocks: opened below: −1.54%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Average close of the session in % above or below the limit price. The limits that only touched are the ones that would have paid most, and the ones least likely to be filled.

The sessions that only touched the limit were the best ones for a buyer: on stocks they closed 1.39% above the limit on average, against +0.02% for the sessions that traded through it and 1.54% below it for those that opened below. The fills that are certain are the ones where the price kept falling; the ones in doubt are the ones that turned up at once. A backtest that counts every touched limit as filled keeps the best trades that live orders often miss.

Time in force: day, GTC, IOC and fill or kill

The time in force says how long an order stays live. Investor.gov's glossary defines the main ones:

  • Day order. Unless you specify otherwise, orders are "good only during that trading day"; day orders that do not execute during regular hours expire and do not carry into after-hours trading.
  • Good-til-canceled (GTC). Lasts "until the order is completed or canceled"; brokers typically cap how long it can stay open, and the limit varies by broker. On Nasdaq's own system, a GTC order stays live until canceled or until it is 365 days old.
  • Immediate or cancel (IOC). Must execute immediately; any part that cannot be filled at once is canceled.
  • Fill or kill (FOK). Must execute immediately in its entirety, or the whole order is canceled; no partial fill.
  • All or none (AON). Must execute in full or not at all, but can stay active until it executes or is canceled.

How long an order lives, by time in force

How long an order lives, by time in force: a timeline from the moment the order is sent to the close and beyond. Immediate or cancel fills what it can at once and cancels the rest; fill or kill fills completely at once or not at all; a day order expires at the close; a good-til-canceled order runs until it is filled, canceled or reaches the broker's time limit; an all-or-none order waits for one complete fill.
A diagram of the order logic, not market data: how long each time in force keeps an order alive. The cap on a good-til-canceled order varies by broker.

Nasdaq's order type guide also lists time in force values tied to sessions, such as market hours (9:30 a.m. to 4:00 p.m. Eastern) and system hours (4:00 a.m. to 8:00 p.m.), and an expire time set by the trader. An order can fill in pieces at different prices unless it is FOK or AON; see partially filled.

Market on close and limit on close orders

A market on close (MOC) order buys or sells in the closing auction at the official closing price; a limit on close (LOC) order does the same with a price limit. Their deadlines are set by each exchange:

  • Nasdaq (Closing Cross FAQ): MOC orders must be received before 3:55 p.m. Eastern and LOC orders before 3:58 p.m., but an LOC order entered after 3:55 p.m. is re-priced if its limit is more aggressive than the 3:50 or 3:55 p.m. reference price; orders can be modified or canceled only before 3:50 p.m.
  • NYSE (auctions fact sheet): MOC and LOC orders can be entered, modified or canceled until 3:50 p.m.; after 3:50 p.m., new ones are accepted only on the side that offsets a published imbalance, and none can be modified or canceled.

Closing auction cutoffs on Nasdaq and the NYSE

Closing auction cutoffs on Nasdaq and the NYSE: a timeline from 3:50 to 4:00 p.m., New York time. On Nasdaq, closing orders can be changed or canceled only before 3:50, market on close orders must arrive before 3:55 and limit on close orders before 3:58. On the NYSE, market on close and limit on close orders can be entered, changed or canceled until 3:50; after that, only orders that offset a published imbalance are accepted.
Deadlines from the Nasdaq Closing Cross FAQ and the NYSE auctions fact sheet, New York time; the spacing of the times is not to scale.

MOC orders suit anyone who needs the closing price; the trade-off is the same as for any market order: certainty of execution, not of price. Closing imbalances are explained on trading imbalance.

Entering an order

An order ticket asks for the same few fields whatever the platform: the symbol, buy or sell (and, for a short, sell short), the quantity, the order type, the limit or stop price where needed, and the time in force. Before sending, check three things: that the side is right (a sell limit below the price fills at once), that the price is on the right side of the market for the type, and that the time in force matches the plan, since a day stop disappears at the close. The bid and ask and the depth of market show what a market order would pay before you send it.

More definitions are in trading concepts.

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

Frequently asked questions

What are the main order types?

Market, limit, stop and stop-limit. Variants such as trailing stops, linked orders and hidden-size orders are built on these, and each can carry a time in force such as day or good-til-canceled.

What is the difference between a sell stop and a sell limit?

A sell limit sells at its price or higher and sits above the market; a sell stop sits below the market and becomes a market order when the price falls to it. One takes a profit, the other caps a loss.

Is a stop loss guaranteed?

No. The stop price only triggers a market order; on a gap the fill can be far below it. A stop-limit controls the price but may not fill at all.

What does time in force mean?

How long an order stays active: for the day, until canceled (GTC, usually capped by the broker), or only for an immediate fill (IOC and fill or kill).

When is the deadline for market on close orders?

On Nasdaq, 3:55 p.m. Eastern for MOC and 3:58 p.m. for LOC, with changes only before 3:50 p.m.; on the NYSE, 3:50 p.m. for entry, change or cancel, after which only orders offsetting an imbalance are accepted.

Is a stop loss always filled at the stop price?

No. A stop becomes a market order once the price reaches it, and if the market opens past the stop, the fill is the open. On our daily data, a stop 2% below the prior close was jumped by the open in 12.1% of triggers on stocks, with a median fill 0.91% beyond the stop on those gaps.

Sources

  1. Investor.gov (SEC), Types of Orders
  2. Investor.gov (SEC), Investor Bulletin: Stop, Stop-Limit, and Trailing Stop Orders
  3. Investor.gov glossary, Day Order
  4. Investor.gov glossary, Good-Til-Cancelled Order
  5. Investor.gov glossary, Immediate-Or-Cancel Order
  6. Investor.gov glossary, Fill-Or-Kill Order
  7. Investor.gov glossary, All-Or-None Order
  8. Nasdaq, Order Types and Time in Force guide (PDF)
  9. Nasdaq, Opening and Closing Cross FAQ (PDF)
  10. NYSE, Opening and Closing Auctions fact sheet (PDF)
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

All trading concepts articles