A market order is built to trade now at the best available price, so its risk is the price. A limit order trades only at its limit price or better, so its risk is that it does not trade at all. A third choice, the marketable limit order, is priced at or through the opposite quote: it still trades immediately against what is posted, but it puts a ceiling (for a buy) or a floor (for a sell) under the price.

Key takeaways

  • A market order trades with whatever liquidity is posted, so a large order can fill at several prices; a limit order sets the worst price you will accept but is not guaranteed to fill.
  • A marketable limit pays the same as a market order for every share available up to its limit. In the example below the first 200 shares cost $10,005 either way; the cap only decides what happens to the shares beyond it.
  • Measured against a market buy, a resting buy limit $0.20 below the price that fills at its limit wins by $0.20 a share ($60 on 300 shares), while a missed $2.00 rally costs $600.
  • Time-in-force choices (day, GTC, IOC, FOK, on-open, on-close) decide what happens to the unfilled balance, and the options and time limits vary by broker.
  • FINRA Rule 5320 restricts a firm from trading ahead of a customer order it holds, but it has exceptions, can be limited to normal market hours, and does not guarantee a fill.

Fill certainty versus price control

The SEC's investor bulletin on order types describes a market order as an order to buy or sell at the best available price that generally executes immediately, but at a price that is not guaranteed; parts of a large market order may execute at different prices. Investor.gov's Types of Orders page says a market order guarantees execution but not the price. That guarantee assumes the stock is trading. Under the Limit Up-Limit Down plan, if a stock's quotes stay at a price band for 15 seconds, the primary listing exchange declares a five-minute pause that applies to all markets, and trading reopens with an auction, according to a 2017 SEC staff paper on the plan.

A buy limit order can execute only at the limit price or lower, and a sell limit only at the limit or higher; it can fill only if the market reaches the limit. Stop and stop-limit orders turn into one of these two once triggered, so they inherit the same trade-off.

Order What is controlled What is left open
Market Speed: generally executes immediately Price: can differ from the last trade and change across a large order
Limit Price: never worse than the limit Execution: fills only if the market reaches the limit
Marketable limit Worst price, while still trading against posted quotes Size: only the shares available at or inside the limit trade right away

Marketable limit orders in numbers

SEC Rule 600 defines a marketable limit order, for an order received while a national best bid and offer is being disseminated (and after the listing market's first firm quotes of the day), as a buy with a limit at or above the national best offer, or a sell with a limit at or below the national best bid. The limit is a boundary, not a target. Nasdaq's book-processing rule, as filed with the SEC in 2022, gives any price improvement to the incoming order: a sell priced at $9 that meets a resting $10 bid trades at $10 (Rule 4757(a)(3)).

Illustrative example (hypothetical numbers, static book). A trader wants to buy 300 shares. The posted offers are 100 shares at $50.00, 100 at $50.05 and 200 at $50.12.

cost = sum(price x shares filled)
Order Fills Cost Average price Left over
Market, buy 300 100 at $50.00, 100 at $50.05, 100 at $50.12 $15,017.00 $50.0567 0
Marketable limit at $50.05, buy 300 100 at $50.00, 100 at $50.05 $10,005.00 $50.025 100 unfilled

The lower average is not a saving: both orders paid the same $10,005 for the first 200 shares. The only difference is the last 100. The market order bought them at $50.12 for $5,012; the limit order did not buy them. If those 100 later fill at $50.05, the total for 300 shares is $15,010, or $7 less than the market order. If the offer climbs to $50.30 before the trader buys them, the total is $10,005 + $5,030 = $15,035, or $18 more. The cap protects against a thin book, but leaves the trader exposed to the price moving away.

With immediate-or-cancel, the unfilled 100 are canceled. With a day or GTC instruction they generally stay working as a buy at $50.05, until the end of regular hours or until filled or canceled, unless the broker or venue handles the balance differently. A real order may also be routed to several venues and meet changed quotes.

When a limit order never fills

Illustrative example (hypothetical). A stock is offered at $50.00. One trader buys 300 shares at the market. Another enters a GTC buy limit at $49.80 for 300 shares. The stock never trades at $49.80 and rises to $52.00.

missed gain = shares x (later price - price at order time)
            = 300 x ($52.00 - $50.00) = $600

The market buyer is up $600; the limit buyer owns nothing. If the limit fills at $49.80, it beats the market buy by exactly 300 x $0.20 = $60 whatever happens next, even if the stock then falls to $48.00 (a $540 loss against $600). If it never fills, the stock never traded through $49.80, so the limit is ahead by less than $60 at best and falls further behind with every dollar the stock rises. The edge is fixed at about $60 (more only if the price gaps below $49.80 and the order fills at a lower price); the shortfall has no such limit. That is a trade-off, not a forecast of which path is likely.

The sell side shows the same asymmetry, and that a limit price is not what you receive.

Illustrative example (hypothetical). A holder wants to sell 300 shares. The posted bids are 100 shares at $50.00, 100 at $49.95 and 100 at $49.85.

Sell order Result Proceeds Average price
Market, sell 300 All 300 sold $14,980.00 $49.9333
Limit at $49.90 (marketable) 200 sold at $50.00 and $49.95; 100 unsold $9,995.00 $49.975
Limit at $50.50 (above the bid) Nothing sells yet $0 now n/a

The $49.90 floor sold at the bid prices, not at $49.90, and stopped before the $49.85 bid. The $50.50 limit is not marketable. If the stock rose to $50.50 and the order filled, the holder would collect $150 more than the $50.00 bid (300 x $0.50). If the stock fell to $49.00 without touching $50.50, the shares would be worth $300 less than at the $50.00 bid (300 x $1.00), and more for any further fall.

Partial fills and time in force

A market order that fills in parts still completes, at mixed prices; the bulletin's example has 500 shares at one price and 500 at a higher one. A limit order's partial fill leaves a balance, and the time-in-force instruction decides its fate. The bulletin lists these instructions and notes that the choices differ by firm.

Instruction What the bulletin says
Day The default if no time frame is given. If not executed, generally cancels at the end of regular trading hours; does not carry over to extended hours or the next day.
Good-til-canceled (GTC) Lasts until executed in full or canceled; how long it may stay open varies by firm.
Immediate-or-cancel (IOC) Must execute immediately; any part that cannot is canceled.
Fill-or-kill (FOK) Must execute immediately in full, or the whole order is canceled.
On open / on close A market or limit order that must execute in the opening (or closing) trade; any balance not executed there is canceled.

A day order does not become an extended-hours order on its own; Nasdaq, for example, uses separate extended-hours orders, executable from 4:00 a.m. to 8:00 p.m. ET, per its opening and closing cross FAQ. A GTC limit can fill long after the reason for placing it has changed.

Queue priority and Rule 5320

A resting limit order waits in line at its price. In Nasdaq's book-processing rule as filed in 2022, better prices go first, then displayed orders in time order, then non-displayed orders in time order; other venues use their own rules, and the venue's current rulebook governs.

A separate protection concerns your broker. FINRA Rule 5320, often called the Manning rule, says a member that accepts and holds a customer's equity order without immediately executing it may not trade that security on the same side for its own account at a price that would satisfy the customer order, unless it immediately executes the customer order up to the size and at the same or better price. Its supplementary material lists exceptions: no-knowledge, riskless principal, ISO, odd-lot and bona fide error trades, and large orders and institutional accounts. The large-order exception covers institutional accounts and orders of 10,000 shares or more (unless worth less than $100,000), and requires written disclosure plus an offer to opt in to the protection. A firm may also generally limit the life of a customer order to normal market hours, 9:30 a.m. to 4:00 p.m. ET; if the customer and firm agree to processing outside those hours, the protection applies whenever the order can be executed. It governs the firm's own trading; it does not move your order up the venue queue or promise a fill. The rule page lists its latest amendment as effective December 3, 2025.

Routing and auction orders

The broker generally chooses where the order goes, according to Investor.gov's Executing an Order page: an exchange, a market maker (some pay brokers for orders, perhaps a penny or more per share, which is called payment for order flow), or the firm's own inventory, called internalization. Price improvement is described as an opportunity, not a guarantee.

Disclosure comes through SEC Rule 606. Each quarter, a broker must publish a report on non-directed orders in NMS stocks submitted on a held basis, broken down by month and by market, marketable limit and non-marketable limit orders. The report names the ten venues receiving the most orders, plus any receiving 5% or more, and gives for each the net payment for order flow received, profit-sharing, fees paid and rebates received. Comparing those lines shows how a firm treats each order type.

Auctions are single-price events. On-close orders must reach Nasdaq before 3:55 p.m. (market-on-close) or 3:58 p.m. (limit-on-close), according to its FAQ, and NYSE's auction fact sheet shows a 3:50 p.m. cutoff for both. Brokers may set earlier deadlines of their own.

Frequently asked questions

What is the difference between fill-or-kill and all-or-none?

Both require the order to execute in its entirety. A fill-or-kill order must also execute immediately or be canceled entirely. An all-or-none order that is not executed immediately stays active until it is executed or canceled.

Can I see where my orders were routed?

Yes. Under Rule 606(b), a broker must disclose on request where your orders in NMS stocks were routed over the prior six months, whether they were directed, and the time of any resulting trades, and it must remind customers in writing at least yearly. The quarterly public reports are due within one month after quarter-end and stay posted for three years.

Can a market-on-close order go unfilled?

Yes. Nasdaq's FAQ says it does not guarantee market-on-close orders in the closing cross, and Investor.gov says any balance of an on-close order not executed in the closing trade is canceled. Nasdaq returns a cancellation message to the firm after the cross. On NYSE, MOC and LOC orders cannot be modified or canceled after 3:50 p.m.

Does a market order sent just before the open join the opening auction?

Not necessarily. Nasdaq's FAQ says market-on-open orders must be received before 9:28 a.m., and regular market orders placed after 9:28 a.m. are held until the market opens and do not take part in the Opening Cross. Brokers may hold or route pre-open orders under their own rules, so the broker's handling applies first.

Does the Manning rule apply in the opening and closing auctions?

On Nasdaq, yes. Its crosses FAQ says the Manning rule and other regular-day market rules apply to the opening and closing crosses, and firms must consider executions in the crosses when checking their obligations, because those occur during normal trading hours.

A checklist before you submit

  1. Decide which risk is worse for this trade: a worse price, or no fill. That sets market or limit.
  2. For a limit, compare it to the posted quotes. At or through the opposite quote it is marketable and will trade; away from it, the order will wait.
  3. Check the order size against the shares shown at each price, since a large order may fill at several prices or only in part.
  4. Pick the time in force on purpose (day, GTC, IOC, FOK) and look up your broker's GTC expiry and extended-hours rules.
  5. For on-open or on-close orders, confirm the broker's deadline, which may be earlier than the exchange's.
  6. Write down the price at which you would cancel and re-enter a resting limit rather than let it sit.

Sources

Trading

What Slippage Costs a Trade and How to Limit It

In a worked example, a 5,000-share market buy that walks a thin book costs 12.2 basis points. Slippage is the gap between the price you expect when you send an order and the average price you actually receive. This guide works through a hypothetical market buy in dollars and basis points, compares it with a limit order that only partly fills, and shows how a small per-trade cost grows over a year of frequent trading. It also covers what causes slippage (spread, depth, speed, gaps and order size), how it can run in your favor, how market, limit, stop and stop-limit orders trade price certainty against fill certainty, and a short routine for measuring your own fills against an arrival price.

Read the full guide 20 AUG 2026
Trading

How Options Differ From Buying Shares

Shares never expire and options do: a $5,000 example shows what that changes for gains, losses and breakeven. Buying a share gives you a slice of a company for as long as you hold it, while buying an option gives you a contract with a strike price, an expiration date and a premium that is gone if the contract finishes out of the money. The article puts the same $5,000 into 100 shares and into 20 call contracts, shows the result at seven stock prices at expiration, prices a protective put on 100 shares, and explains time decay, implied volatility, exercise and assignment, early exercise around dividends, split adjustments and account approval, with the figures labeled hypothetical and the rules tied to the options industry, SEC, FINRA and IRS documents.

Read the full guide 26 AUG 2026
Trading

Why Spreads Widen in a Fast Market

If a 2-cent spread widens to 20 cents, a round trip on a $10,000 stock position costs $40 instead of $4. Behind that jump sit inventory risk, orders from traders who already know where the price is heading, and quoted size that shrinks even when the spread looks normal. A simple break-even formula shows how these push quotes apart. The guide separates quoted, effective and realized spreads as SEC rules define them, shows how ETFs drifted from their baskets on August 24, 2015 and in March 2020, compares market and limit orders when the offer jumps, and explains why a one-cent tick weighs 100 times more on a $2 stock than on a $200 one, with the half-penny tick now delayed to 2027.

Read the full guide 25 SEP 2026

Educational content only. Nothing on this site is personal financial, investment, tax or legal advice.