Market orders and limit orders
Every trade on an exchange is two orders meeting: one that was already sitting there, and one that came and took it. Which of the two you sent decides what you pay and whether you get filled at all.
Updated
A limit order names a price and waits in the order book until somebody trades against it. A market order names no price and takes whatever is already in the book, right now. The waiting side is the maker, the taking side is the taker. A limit order may never fill; a market order always fills, but not necessarily at the price you saw.
The order book is a queue of limit orders
The order book is nothing but limit orders that have not traded yet. Buy orders on one side, sell orders on the other, each at a price somebody is willing to accept but nobody has taken. The highest buy and the lowest sell are the best bid and the best ask, and the gap between them is the spread.
Nothing in that queue is a trade. It is a list of offers, and most of them will be cancelled rather than filled.
A market order crosses the spread
Send a market buy and the exchange matches it against the cheapest sell orders sitting in the book, in order, until your size is filled. If the first level does not have enough, it takes the next one, and the next. You are not asking for a price; you are accepting whatever prices are there.
That is why a market order is certain to fill and uncertain in price. On a liquid market in a quiet minute the difference is a rounding error. On a thin market, or during a fast move, it is not.
Maker and taker, and why exchanges care
An exchange is useful only if there are orders in the book, so it pays for them. Posting a limit order that rests in the book makes you a maker and usually earns the lower fee — on some venues a rebate. Taking liquidity out with a market order makes you a taker and costs more.
A limit order is not automatically a maker order, though. Place a buy limit above the best ask and it crosses immediately: it fills like a market order and is charged like one. What decides the label is whether the order rested in the book or removed something from it.
What this looks like in a flow feed
An order flow feed shows finished trades, and every one of them had a taker. That is what the colour means: green when a buyer crossed the spread to get filled, red when a seller did. The resting side of each trade is not marked, because it was not the one in a hurry.
So a run of green in the flow does not mean more people were buying than selling — every trade has both. It means buyers were the ones impatient enough to pay the ask rather than wait at the bid.
The trade-off, stated plainly
- Market order: certain to fill, uncertain price, higher fee. You pay for speed.
- Limit order: certain price, uncertain fill, lower fee. You pay by waiting, and sometimes by missing the move entirely.
There is no better one. They are answers to different questions, and the cost of each is visible — one in the price you get, the other in the trades you do not get.
What this does not tell you
- A big resting order is not a promise. It can be cancelled a moment before the price reaches it.
- Taker volume is not a measure of conviction. Some of it is forced closing, some of it is hedging.
- Fee levels differ by exchange and by account, and they change. Check the venue you actually use.
Keep reading
Educational material only. Nothing here is financial advice and nothing on this site promises a result.