Section 2 of 18
Orders and execution: price, fees, slippage
Limit, market and stop orders, take-profit; how a market order fills across several prices and how to compute the average fill price; maker and taker fees on entry and exit — charged on the position, not the margin; slippage and common calculation mistakes.
Order types: what exactly you ask the exchange for
Every order is an instruction to the exchange with conditions. Section 1 introduced the two basic ones: limit and market. Let us look at them more closely, because the order type decides three things: at what price you get in, whether you get filled at all, and how much you pay the exchange.
A limit order is “buy at no more than X” or “sell at no less than X”. It guarantees the price but not the fill. If there is no matching offer on the other side, the order joins the queue at its price and waits. The queue at one price follows “first come, first filled”. So the market can touch your price and leave, and your order stays unfilled — the queue simply never reached it.
A limit order can be filled partially: 0.7 out of 2 BTC bought, the rest waiting. And it can be filled better than its price: place a limit buy “at no more than 80,100” while sellers are already at 80,050, and it immediately buys at 80,050. Such an order fills at once and acts as a taker, even though it is called a limit order. To be sure to remain a maker, exchanges offer a “post-only” flag: if the order would fill immediately, the exchange cancels it.
A market order means “fill now at the best prices available”. It guarantees the fill, not the price. You specify it in quantity (“buy 0.5 BTC”) or in amount (“buy $10,000 worth”). A market order is always a taker. If there is not enough volume at the best price, it walks on — through the following prices until it has collected the full amount (lesson 2).
A stop order sleeps until the price reaches a set trigger price. It is used to limit a loss: a long opened at 80,000 — a sell stop at 79,200. There are two kinds:
- stop-market — once triggered, sends a market order. It will almost certainly fill, but at whatever price is available at that moment — in a sharp move noticeably worse than the trigger;
- stop-limit — once triggered, places a limit order with a set price. The price is no worse than the limit, but if the market jumps past it in one go, the order may not fill at all, and the position stays open.
A take-profit (“take”) is the same on the profit side: long at 80,000, take at 81,000. It is done with a limit order (resting in the queue) or with a trigger that sends a market order. The reduce-only flag forbids the order from opening a new position: if you have already closed the position by hand, the stop will not open an accidental short.
Exchanges compare the trigger with the last trade price or with the mark price (what that is and why — section 12); you can usually choose which in the order.
Filling across several prices: average price and slippage
Limit sells rest in the queue at different prices: a little at the lowest, a little more slightly higher and so on. A market buy takes them from cheapest to dearest: first everything at the best price, then the next price, and so on until it has the full amount. A market sell is the mirror image, taking limit buys from highest to lowest. One order of yours turns into several trades at different prices.
An illustrative example. On offer: 2 BTC at 83,000, 3 BTC at 83,010, 10 BTC at 83,020. A market buy for 6 BTC takes 2 BTC at 83,000, 3 BTC at 83,010 and 1 more BTC at 83,020. After it the last price is 83,020, and 9 BTC remain at 83,020.
The average fill price is not the midpoint between the first and last price, nor the simple average of the levels, but an average weighted by quantity: money paid divided by quantity bought.
(2 × 83,000 + 3 × 83,010 + 1 × 83,020) / 6 = (166,000 + 249,030 + 83,020) / 6 = 498,050 / 6 ≈ 83,008.33.
A simple average of the three prices would give 83,010 — wrong: only 1 BTC of 6 was bought at 83,020, so it carries little weight. The last price (83,020) is not the average either: the last price is where the order ended; the average is what it cost overall.
Slippage is the difference between the price you counted on and the average price you were filled at. “Counted on” usually means the best price at the moment you pressed the button. In the example above: expected 83,000, got 83,008.33 on average — slippage of 8.33 dollars per bitcoin, or 8.33 / 83,000 ≈ 0.01%.
Where it comes from:
- the order is larger than what rests at the best price — it walks through several prices, as in the example;
- the price moved while the order was in flight — fractions of a second pass between decision and fill, and in a fast market others take the best prices in that time;
- a stop-market in a sharp move — it triggers exactly when many are rushing the same way, and there are few opposing orders near the price.
Slippage in money: expected 2,000.0, average fill 2,003.0 — that is 3 / 2,000 = 0.15%. On a $20,000 position that is $30. If the position was opened at ×20 (margin $1,000), those $30 are already 3% of the margin before the price has gone anywhere.
What a $100k and a $1M market buy would have cost
Once a minute EVA writes to disk how many dollars of limit orders rest near the price at each step (a combined book of up to four venues, ±3% from the midpoint between the best buy and the best sell). From this record one can compute, for every minute: if a market buy for a given amount had arrived that minute, what its average price would have been. We did it for all 135 coins for every minute of six full days, 08–13.10.2026 (about 8,600 minutes per coin). The deviation of the average price is measured from the midpoint.
- BTC and ETH: both $100k and $1M fit into the very first step of the record above the midpoint — the estimate gave about 0.02% (median), i.e. one step of the record. It cannot resolve anything finer.
- EIGEN — a coin from the middle of the list (68th of 135 by money within 1% of the price): $100k — median deviation of the average price 0.14%, the last price went 0.21% from the midpoint; $1M — median 0.74%, 0.91% or more in the worst 5% of minutes, the last price went 1.47% away. In 80 minutes out of 8,615 all the orders within +3% were not enough for a million.
- SOPH — last in the list: $100k — median 0.49%, last price +0.91%; $1M did not fit within +3% in a single minute.
Across all coins: for a $1M buy the median deviation exceeded 0.1% for 120 coins out of 135 and 0.5% for 79; for 57 coins, in half of the minutes or more, the orders within +3% were not enough for a million.
How to read it. This is an estimate, and a lenient one: in real life a market order goes to a single exchange, whereas here the orders of four are added up. A step of the record stores volume to within about 8.5%. And it is not a forecast: in sharp moves orders near the price get pulled, and slippage can exceed the median — that is why the worst 5% are shown. The main conclusion is mechanical: the same amount on different coins means very different slippage.
Source: EVA order-book history on disk (archive/kniga, one snapshot a minute, combined book of up to four venues, ±3% from the midpoint, step ≈ 0.02% of price), all 135 coins, full days 08–13.10.2026 UTC; the buy “eats” steps upward from the midpoint, average = amount / quantity bought; script dev/kurs_stat/r02.py, result zamery/kurs/r02.json
Fees: maker and taker, entry and exit
For every trade the exchange charges a fee — a percentage of the position value (quantity × price), not of your margin. There are usually two rates: the maker rate for orders that rested in the queue and were filled, and the taker rate for orders filled immediately. The taker rate is higher: the exchange favours those who bring it ready prices and charges more to those who take them.
The examples below use illustrative rates of 0.02% for makers and 0.05% for takers — roughly the base rates on large derivatives exchanges. Exact rates depend on the exchange, your tier and volume — check them in your exchange's terms.
The fee is paid twice: on entry and on exit. On exit it is charged on the position value at the exit price. If the price barely changed during the trade, a rough rule is: round-trip fee = position value × (entry rate + exit rate).
How far the price must move just to cover fees. It is the sum of the entry and exit rates:
- taker on entry and exit: 0.05% + 0.05% = 0.10%;
- maker on entry, taker on exit: 0.02% + 0.05% = 0.07%;
- maker on both: 0.02% + 0.02% = 0.04%.
For BTC at 80,000 a 0.10% move is 80 dollars. Until the price has moved that far your way, a trade with two market orders is in the red. Slippage comes on top: it is not part of the fee, but it acts the same way — it worsens the entry and exit price.
With leverage this hurdle in percent of price does not change (0.10% stays 0.10%); what changes is its weight in the margin: ×5 — 0.5% of margin, ×20 — 2%, ×50 — 5%, ×100 — 10% of margin per round trip. Anyone who enters and exits with market orders at high leverage often pays the exchange a noticeable share of their money every day.
A whole trade (illustrative example)
An illustrative example. A long of 0.5 BTC with a market order at 80,000, ×20 leverage. The exit is a market order too. Taker rate 0.05%. Slippage is ignored here.
- Position value at entry: 0.5 × 80,000 = $40,000. Margin: 40,000 / 20 = $2,000.
- Entry fee: 0.05% × 40,000 = $20.
- Exit at 80,400 (+0.5%). Gross profit: 0.5 × 400 = $200. Position value at exit: 0.5 × 80,400 = $40,200, exit fee: 0.05% × 40,200 = $20.10. Net: 200 − 20 − 20.10 = $159.90, i.e. 8.0% of margin (not the 10% you would get without fees).
- Exit at 80,000 (price unchanged): net −$20 − $20 = −$40, that is −2% of margin.
- Exit at 79,600 (−0.5%): −$200 − $20 − $19.90 = −$239.90, about −12% of margin.
Note that for equal moves up and down (±0.5%) profit and loss are not mirror images — fees shrink one and enlarge the other.
Slippage in practice and common mistakes
When slippage is especially large. Three cases come up all the time.
- An illiquid coin. Few limit orders rest right at the price, and even a modest market order walks through several prices — the example in lesson 2 shows it in numbers.
- A sharp move. When the price runs fast in one direction, orders near the price are often pulled, and there are fewer on the opposite side. A stop-market triggered in such a minute fills noticeably beyond the trigger.
- A large order. The larger the amount, the more prices it walks through. Slippage grows faster than the amount: each subsequent part fills at an ever worse price.
A limit order protects against slippage but pays for it with the risk of not being filled. If the price only touched and left, your limit order may have stayed in the queue behind those who joined that price earlier. A market order always fills, but at whatever price is there. Which is better depends on what costs you more in a particular trade — there is no universal answer.
Where you see this in EVA. How many limit orders rest near the price right now is shown by the “Order Book” block on the “Book · Flow” tab (section 3). For large orders that have already gone through, the tooltip says how many trades the order was assembled from and the price range it covered — that is a market order filled across several prices. The terminal itself does not send orders to an exchange: it shows what is happening, while the decision and the execution are yours, on your exchange.
Common mistakes — with numbers
- Computing the fee on the margin. Margin $1,000, ×20, taker 0.05%. “0.05% of $1,000 = $0.50” is wrong. The position is $20,000, the entry fee is $10 and the exit fee about another $10. The error is twentyfold.
- Forgetting the exit. The entry fee is visible at once, the exit fee only on closing. The breakeven hurdle is the sum of both: a 0.10% price move with two taker fills, not 0.05%.
- Computing the average price as a simple average of levels. 2 BTC at 100, 1 BTC at 103: the simple average is 101.5, the real one is (2 × 100 + 103) / 3 = 101. Each price is weighted by its quantity.
- Confusing the average and the last price. The last price is where the order ended (the furthest price touched); the average is what the whole order cost. In the lesson 2 example: 83,020 and 83,008.33.
- Believing a stop guarantees the price. A stop-market at 79,200 in a sharp fall may fill at 79,050 on average. On a 0.5 BTC position that is an extra $75 on top of the expected loss.
- Believing a limit order fills if the price touched it. A touch means a trade happened at that price, not necessarily yours: others may have been ahead in the queue.
- Thinking a market order fills “at the price on screen”. The screen shows the last trade. A market order fills against the limit orders resting now and, if it is large, across several prices.
The whole course
- How the market works: spot, futures, leverage — What exactly you buy on spot and on futures, how to calculate profit and loss with leverage — as a percentage of margin and of the position, who makers, takers and aggressors are, and why price moves only through trades.
- Orders and execution: price, fees, slippage — Limit, market and stop orders, take-profit; how a market order fills across several prices and how to compute the average fill price; maker and taker fees on entry and exit — charged on the position, not the margin; slippage and common calculation mistakes.
- The order book: bids, asks, spread and depth — How the order book works: levels, best prices, the spread and the mid price; depth and how a market order eats through levels; thin and thick books in the EVA archive; multi-exchange books and what the book does not show.
- Liquidity walls: what rests and what gets pulled — What a dense order and a wall are, how a filled wall differs from a pulled one, what spoofing is, how to read book imbalance by distance bands and the heatmap — and why a wall is an intention, not money.
- The tape: orders, merging, pace — What the tape and prints are, why an exchange sends one order as a dozen trades, how EVA merges them back, what “large” means on its own venue, how to read tape pace — and what the tape does not show.
- Volume and the volume profile — What bar volume says and does not say, why volumes of different exchanges do not match, how the volume profile, POC and value area (VAH/VAL) work, how to read high volume without movement, and session profiles.
- Delta and CVD: who was pressing — Bar delta is market buys minus market sells; CVD is delta added up. Why “there were more buyers” is the wrong phrase, how to read the slope, why futures and spot are shown separately, and what delta does not show.
- Divergences, absorption, CVD by trade size — When price and CVD go different ways, when market flow is met by limit orders, and which orders are pressing — small, medium or large. With honest statistics from our archive: 53 continuations against 54 reversals.
- Footprint: inside the candle — What happened between the open and the close: market sells and buys at each price level, the candle's POC, the diagonal imbalance and stacked imbalances — with calculations, a real BTC bar from the archive and an honest count over a week.
- Open interest — How many futures positions are open, how every trade changes that number, why OI in dollars misleads when the price moves, and what our archive honestly says about OI growth.
- Funding — Why a perpetual future has a payment between longs and shorts, who pays whom, how to compare rates of exchanges with different intervals, what it costs a position, and what our archive says about “overheated” funding.
- Liquidations: mechanics and maths — Why the exchange closes a position itself, what maintenance margin is, how to estimate the liquidation price and why it is closer than “100% / leverage”, how a stop differs from a liquidation, and what follows the heaviest hours.
- Cascades and the liquidation map — How one forced trade pushes the price into the next, why the chain breaks, what the estimated liquidation map really draws and why a liquidation total always names its exchanges. With 378 bursts from our archive.
- Exchange flows and whales — What a coin transfer to or from an exchange shows through our node, why a transfer is a chance to sell rather than a sale, how to read stablecoins, ETFs and exchange reserves with their delays, and who the off-exchange “whales”, US government wallets and Hyperliquid whales are. With two days, 12–13.10.2026, worked through.
- Macro and news — The release calendar: time, forecast, previous value and the actual from the primary source; why the market reacts to the deviation from expectations rather than the number itself; what happens to the book before a release; how to read dominance and the TOTAL caps; news and retellings of retellings. With 19 US releases from EVA's calendar worked through.
- Risk: position size and stop — How much you may lose on one trade, where the stop goes and how these two numbers give the position size; what leverage really does, how much of R fees eat, and why the percentages on the exchange screen are not percentages of the account.
- Risk: streaks, expectancy, journal — How much a system makes per trade on average, why losing streaks are inevitable, how recovery from a drawdown is computed, what to record in a trading journal and which mistakes break even profitable trading.
- Using EVA as a whole — The tab order and the day's order — from general to particular; the “?” sign and the “what it does not show” point; how to read “no data”, the source and the time of data; narrow alerts; replay for an honest review of an entry, and a journal in R.