A market order trades at once at the best prices in the book and pays the taker fee. A limit order waits in the book at the price you set and pays the maker fee, but it may never fill. On Cryptathon a market order fills no further than 1% from the mark price, and every limit order is post-only.
By the end, you can
1 of 3
When does a market order fill?
A market order trades at once at the best prices in the book. A market buy trades with the best ask, and a market sell trades with the best bid. Any size available inside the price band fills at once, but you do not choose the price.
On Cryptathon a market order cannot fill too far from the mark price. A buy fills no higher than 1% above the mark price, and a sell fills no lower than 1% below it. This is the price band. On Cryptathon any part that cannot fill inside the band is cancelled.
A market buy
The best ask is 70,001.0 with 0.1 BTC, and the mark price is 70,000.0. You buy 0.1 BTC at market. Where does it fill, and what is the highest price it could fill at?
- 1Fill at the best askAll 0.1 BTC waits at the best ask, so the whole order fills there.0.1 × 70,001.0 = 7,000.1 USDT
- 2Find the price capThe mark price plus 1% of it.70,000.0 + 70,000.0 × 1% = 70,700 USDT
- 3Compare the fill with the capThe fill was far inside the band.70,700 − 70,001.0 = 699 USDT
AnswerYou buy 0.1 BTC at 70,001.0, a position of 7,000.1 USDT. The order could not fill above 70,700.
2 of 3
When does a limit order fill?
A limit order trades only at the price you set. On Cryptathon a limit order waits in the book until it fills or you cancel it, and it never trades at once (post-only).
So a limit buy goes in below the best ask, and a limit sell goes in above the best bid. It fills only when another trader's order comes to your price. Until then it waits in the book with the other bids or asks.
A limit buy that waits
The best ask is 70,001.0. You place a limit buy for 0.1 BTC at 69,990.0. When does it fill, and what do you pay?
- 1Find the gap to the best askYour price is 11 USDT under what sellers ask now.70,001.0 − 69,990.0 = 11 USDT
- 2Count the ticksSellers must come down 22 ticks of 0.5 USDT to meet you.11 ÷ 0.5 = 22
- 3Work out the cost if it fillsIt fills at your price.0.1 × 69,990.0 = 6,999 USDT
AnswerIt fills only when a seller sells at 69,990.0. Then you hold a 0.1 BTC position bought at 69,990.0, a position of 6,999 USDT. If the price never comes down, it never fills.
When to use each:
- A market order, when it matters more to trade now than to get an exact price.
- A limit order, when the price matters more than the time, and you can accept that it may never fill.
3 of 3
What is a partial fill?
An order does not have to fill all at once. When only part of your size can trade at your price, that part fills. The rest of a limit order keeps its place in the book and waits. This is a partial fill.
Each fill adds to your position as it happens. A cancel removes only the part that has not filled yet.
Part of a limit buy fills
Your limit buy is for 0.3 BTC at 69,990.0. A seller sells 0.12 BTC at that price. What do you hold now, and what still waits?
- 1Find what is leftThis part keeps waiting in the book.0.3 − 0.12 = 0.18 BTC
- 2Value the part that filledThis is your position now.0.12 × 69,990.0 = 8,398.8 USDT
- 3Value the part that waitsIt joins your position only if it fills.0.18 × 69,990.0 = 12,598.2 USDT
AnswerYou hold a 0.12 BTC position, worth 8,398.8 USDT. Another 0.18 BTC waits at 69,990.0. You can let it wait or cancel it.
Common questions
What happens if you place a limit buy above the best ask?
On Cryptathon it is rejected. A limit buy at or above the best ask would trade at once, and a post-only limit order that would trade at once is rejected. So with the best ask at 70,001.0, a limit buy at 70,005.0 does not fill and does not wait. To buy now, use a market order. To wait for a lower price, set the limit price below the best ask.
Does a limit order guarantee your price?
It fixes the price, not the fill. A limit buy at 69,990.0 never pays more than 69,990.0. On Cryptathon it waits in the book, so when it fills, it fills at exactly that price. But if sellers never come down to 69,990.0, nothing fills, and the move you wanted can happen without you.
Can a market order fill only in part?
Yes. A market order takes what waits in the book inside the price band. On Cryptathon any part that cannot fill inside the band is cancelled. For example, with the mark price at 150.00, a SOL market buy can fill up to 151.50. If only 40 SOL of asks wait up to that price and you buy 60 SOL, 40 SOL fill and the other 20 SOL are cancelled.
Check yourself
Three questions on the whole lesson.
What to remember
- When does a market order fill?A market order trades at once at the best prices, and never more than 1% from the mark price.
- When does a limit order fill?A limit order fixes the price but not the time, and it may never fill.
- What is a partial fill?A fill can come in parts; what has filled stays, and the rest waits until it fills or you cancel it.