CHARTTHREAD

Market order

Also called: market, at market, market buy, market sell

A market order is an order to buy or sell immediately at the best prices available in the order book. It always fills if there is liquidity, but you do not choose the price, and a large order can slip through several price levels.

A market order is the simplest order there is: trade now. It does not rest in the order book. It takes the orders that are already waiting there, so it removes liquidity and the trader who sends it is the taker. A buy takes the asks, a sell hits the bids.

How a market order fills

The exchange’s matching engine fills the order against the best price on the other side, then the next best, and so on until the size is done. The more size you need relative to what is waiting, the further the order walks through the book.

Example. A share shows $100. The best ask is $100.05 with 40 shares, then $100.10 with 30 and $100.25 with 50. A market buy for 100 shares pays $100.05 for 40, $100.10 for 30 and $100.25 for 30: $10,012.50 in total, or $100.125 a share. A market buy for 20 shares would have filled entirely at $100.05.

The cost of a market order has three parts:

  • The spread. You buy at the ask and sell at the bid. See spread.
  • Slippage. The walk through the book, plus any movement between the moment you click and the fill.
  • The taker fee. For example, on Binance USD-M futures the standard taker fee is 0.05% of the position against 0.02% for makers. Fee schedules change, so check the exchange.

Market order vs limit order

Market order Limit order
Fills at once only at your price or better
Guarantees the fill the price
Risk slippage no fill
Fee taker maker if it rests first

Market orders you did not place

A stop order becomes a market order when price reaches its trigger. So does a liquidation on futures. Many stops at the same price fire as a burst of market orders, which is part of why a level, once broken, can move fast.

Some exchanges and brokers protect market orders with price bands that stop an order from sweeping too far, and many brokers do not accept market orders outside regular trading hours. The rules vary by venue.

When a market order makes sense

  • You must be out now: closing a losing trade, or reducing risk before news.
  • The book is deep and the size small, so the cost is a cent or two.
  • The plan calls for the trade and waiting for a limit would likely miss it.

Market orders in the ChartThread method

In the course, market orders are the dynamic orders that break levels, while limit orders are the static ones that build them. Your own entries are planned in advance at a level, and your stop loss, once triggered, is a market order. Plan for its slippage when you size the trade. See bid and ask explained, types of orders and what slippage is.

Questions about market order

How does a buy market order work?

A buy market order takes the lowest ask in the book, then the next ask up if it needs more, until the full size is bought. You pay the average of those prices.

What is the difference between a market order and a limit order?

A market order trades now at the price that is there. A limit order trades only at your price or better and may wait or never fill. Market orders always pay the taker fee; resting limit orders usually pay the lower maker fee.

Is a market order dangerous?

It is safe in a deep market and costly in a thin one. In a fast move or a small instrument, the order can take prices well beyond the one you saw. Check the depth of the order book before sending a large one.

Lessons that use this term

Related terms

All terms in the glossary