Market and limit orders
A market order is an instruction to buy or sell at once, at the best prices currently in the order book. A limit order carries your own price: it fills at that price or better, and waits in the book until then. The first gives you speed, the second gives you control over the price.
Comparison
| Feature | Market | Limit |
|---|---|---|
| Price | Whatever is in the book | No worse than the one you set |
| Execution | Immediate | When the market reaches the price; may not fill |
| Slippage | Possible | None |
| Fee | Taker | Usually maker |
Why the fees differ is explained in the entry Maker and taker.
Example
Say the book offers 100 coins at $2.00 and 400 coins at $2.02. A market order to buy 300 coins takes 100 at $2.00 and 200 at $2.02, for an average price of about $2.013. A limit order at $2.00 buys 100 coins at once, and the other 200 wait for a seller at that price.
Other order types
- A stop order triggers when the price reaches a set level. It is used to cap a loss.
- A stop-limit places a limit order instead of a market one when triggered.
- Post-only fills only as a maker order, otherwise it is cancelled.
- IOC and FOK fill immediately: IOC for as much as the book allows, FOK in full or not at all.
Orders in arbitrage
Market orders on both exchanges lock in the spread at once, but you pay the taker fee and risk slippage in a thin book. Limit orders are cheaper, but one side may not fill and leave you with an open position. A common compromise is a limit order priced slightly through the best quote: it fills at once, but no worse than the level you set.
Questions and answers
Why did my limit order not fill?
The market did not reach your price, or other orders were ahead of yours in the queue at that level. The order stays in the book until it fills or you cancel it.
When is a market order the better choice?
When speed matters more than price and the book is deep enough for your size. In a thin market a market order can fill noticeably worse than you expected.