Skip to content
GetProfitable
Search

Market orders: speed at any price

Lesson 8 · about 7 min

An order is an instruction to your broker. There are only a handful of kinds, and the first one every app defaults to is the market order. It is the simplest, the fastest, and, used carelessly, the most expensive.

What a market order says

"Buy (or sell) this many, right now, at whatever price is available."

That is the whole instruction. You specify the quantity. You do not specify a price. The order goes to the venue and fills against the best available resting orders, starting at the top of the book and working down until your quantity is done.

Because you have not set a price, a market order almost always fills. That is its advantage. Because you have not set a price, you have no control over what you pay. That is its danger.

What actually happens

Using the book from the Level 2 lesson:

        BID                    ASK
 Size    Price          Price    Size
 400     50.00          50.02    300
 1,200   49.99          50.03    900
 2,500   49.98          50.04    2,100

A market buy for 100 shares fills at 50.02. Fine.

A market buy for 1,000 shares fills 300 at 50.02 and 700 at 50.03: an average of 50.027. Also fine, barely different.

A market buy for 5,000 shares takes all 300 at 50.02, all 900 at 50.03, all 2,100 at 50.04, and then keeps going into levels you cannot see. Your average might be 50.05 or 50.08, and the last trade printed on everyone's screen is now several cents higher than it was a second ago because you moved it.

In a liquid mega-cap stock, 5,000 shares is nothing and the book refills instantly. In a stock that trades 100,000 shares a day, 5,000 shares at market is a wrecking ball.

When a market order is the right tool

  • You need out, now. A position is going against you fast and being out at a slightly worse price beats being in at a much worse one. This is the classic and best use.
  • The product is extremely liquid and your size is small relative to the displayed book. In a large-cap stock, an index ETF, or a front-month index future, a small market order costs you roughly the spread and nothing more.
  • Getting the position matters more than the last cent. A long-term investor buying a few shares of a liquid stock loses nothing meaningful with a market order.

When it is the wrong tool

  • Thin markets. Small caps, low-volume ETFs, far-dated or far-out-of-the-money options, small crypto tokens. The book is shallow and you will walk it.
  • The open. The first minute of regular trading often has wide spreads and erratic prices while the book fills in. Market orders at 9:30:00 get some of the worst fills of the day.
  • Extended hours. Pre-market and after-hours books are thin. Many brokers refuse market orders outside regular hours for exactly this reason, and the ones that allow them are not doing you a favor.
  • Around news. Spreads blow out for seconds to minutes. A market order placed as a headline hits fills at whatever price a market maker felt like leaving up.
  • Options, almost always. Option spreads are wide as a percentage. A market order on an option with a 0.90 bid and a 1.10 ask hands the market maker 10% of your premium for nothing.
Situation Market order?
Selling 50 shares of a mega-cap at 1 pm Yes
Buying a $0.15 option No
Exiting a losing futures trade that is accelerating Yes
Buying a small-cap that just spiked on news No
Buying an index ETF for a long-term account Yes
Anything pre-market No

Key idea: A market order buys certainty of execution and gives up certainty of price. That is a good trade in a deep, calm market and a terrible one in a thin or panicked one.

Two variations you will see

Market-on-open (MOO) and market-on-close (MOC). These participate in the exchange's opening or closing auction, where huge volume crosses at a single price. Counterintuitively, the closing auction of a liquid stock is one of the safest places for a market order, because the price is set by matching enormous buy and sell interest rather than by walking a thin book. Institutions use MOC orders heavily for exactly this reason.

Market-if-touched (MIT). A resting order that becomes a market order once the price touches a level you set. It is essentially a stop order in the "buy low, sell high" direction rather than the protective direction, and is mostly used by futures traders.

The mental model

Think of a market order as saying "I accept the market's terms". In a good market, the terms are fair. In a bad one, they are not, and the market will not warn you. Your protection is to look at the book and the spread before you click, which is the checklist from the last module. If you cannot see the book, assume it is thin.

Try it: On a paper trading account, place a market buy for a small quantity of a very liquid stock and note the fill versus the ask you saw. Then do the same in a stock that trades under 200,000 shares a day. Compare the two gaps. That gap is real money in a live account.

Recap

  • A market order specifies quantity, not price; it fills immediately at the best available prices.
  • Large market orders walk the book and fill at progressively worse prices.
  • Use market orders for small size in liquid products, or to exit a fast-moving loser.
  • Avoid them in thin markets, at the open, in extended hours, around news, and in options.
  • The closing auction is the one place a market order in a liquid stock is unusually safe.

See it drawn

Original diagrams for the ideas on this page. Illustrative, not real market data.

Market, limit and stop ordersA price track crossing a resting limit order below the market and a stop order above it.10410210098PriceTime (the market moves left to right)priceSTOP BUY at 103.00waits above the market; becomes a market order when touchedtriggers hereMARKET ORDERfills at once at 100.60filled hereLIMIT BUY at 98.50rests below; fills only at 98.50 or better
Market, limit and stop orders. A market order buys straight away at whatever price is there. A limit order waits below until the price comes to it, and a stop order sits above and turns into a market order the moment price touches it.
Bid-ask spread in an order bookSell orders stacked above buy orders with a gap between the best of each.SELLERS (asks)50.0690050.051,40050.0460050.011,10050.002,30049.99800spread = 0.03BUYERS (bids)
The bid-ask spread. Buy orders sit below, sell orders above, and the gap between the best bid (50.01) and best ask (50.04) is the spread you pay to cross. Bar length shows the size resting at each price.