Fees and slippage: what a crypto trade really costs
Maker and taker fees, slippage and funding decide what a crypto trade costs. Why tight, frequent strategies pay most, and how a backtest should count it.
- Written by
- The EdgeLuma team
- Published
- Updated
- Reading time
- 9 min
Table of contents
A crypto trade costs a fee to open it, a fee to close it and some slippage, the gap between the price you expected and the price you got; perpetual futures add funding on top. The same fee can take four times as much of one trade as of another, and what decides it is how close the stop sits.
Every crypto trade pays twice before it can make anything: once to get in and once to get out. On top of the fees, an order that fills immediately often lands a little worse than the price on your screen. Each cost looks tiny on its own. Repeated over hundreds of trades, they decide whether a strategy with a thin edge makes money or slowly gives it all back.
This guide explains maker and taker fees, slippage and funding one at a time, then shows why costs hit some strategies far harder than others. It ends with four rules for counting costs in a backtest, and how EdgeLuma applies them.
What is the difference between maker and taker fees?
A maker fee is what you pay when your order waits in the order book before it fills. A taker fee is what you pay when your order fills immediately against orders that are already there. Exchanges charge two different rates because the first kind of order adds liquidity to the market and the second takes it away. Bybit’s guide to maker and taker orders explains the difference.
- A limit buy below the current price, or a limit sell above it, sits in the book until someone trades against it. That’s a maker order.
- A market order always fills immediately, so it’s always a taker. So is a stop when it triggers, and so is a limit order placed beyond the current price.
On the standard fee schedules of both Binance and Bybit, the maker rate is lower than the taker rate. Each exchange publishes its rates by account tier and by product on its own pages: Binance’s trading fee rates and Bybit’s fee structure. Coinbase and Kraken charge a new spot account several times more per trade: Coinbase lists its US rates in the post on its Coinbase Advanced fee change, and Kraken publishes its Kraken Pro fee schedule tier by tier.
| What the order did | Fee | Typical orders |
|---|---|---|
| Waited in the book, then filled | Maker | A limit entry that waits; a take-profit limit order |
| Filled at once against the book | Taker | A market order; a stop that triggers; a limit placed past the price |
The fee is charged on the full value of the position, not on your margin and not on your risk. It’s the position size, times the fill price, times the fee rate. Binance’s guide to futures fee calculations shows the arithmetic. That detail is what makes tight stops expensive, as the example below shows.
What is slippage in trading?
Slippage is the difference between the price you expected when you placed an order and the price you got. It comes from two places.
The first is the spread. A buy fills at the best ask and a sell at the best bid, so every order that fills immediately pays half the spread, measured from the mid price. On the most liquid crypto pairs, the spread is often a single price tick.
The second is the depth of the order book. A large order eats through several price levels before it’s completely filled, so the bigger the order is compared with what the market trades, the further it pushes the price against you. Research on market impact, such as a 2011 study by Tóth and colleagues in Physical Review X, finds that this cost grows roughly with the square root of the order’s size relative to the volume traded.
A limit order that waits in the book fills at its own price, so it doesn’t pay the spread. It has a different cost: it may never fill, and the trades it misses tend to be the ones that ran away fastest.
Why do costs hurt some strategies more than others?
Because fees are charged on the value of the position while results are measured against the risk you took, and what connects the two is your stop.
Take one trade, with round numbers chosen only to make the arithmetic easy. You risk the same amount on every trade, and call it 1R. With a stop 2% away from the entry, the position is worth 50 times your risk. With a stop 0.5% away, it’s worth 200 times your risk. A fee of 0.05% of the position’s value then costs 0.025R in the first case and 0.1R in the second, every time you enter or exit.
So the same fee takes four times as much of the trade when the stop is four times tighter. Add the exit fee and the slippage, and a strategy with tight stops and small targets can hand a big share of every winner back to the exchange. That’s why strategies that trade often for small average gains suffer most from costs, and why the same idea can make money before costs and lose money after them.
What is the funding rate on perpetual futures?
The funding rate is a regular payment between the traders of a perpetual futures contract that keeps its price close to the spot price. A dated futures contract is pulled toward the spot price as its expiry gets closer. A perpetual never expires, so funding does that job instead: at set times, the holders of one side pay the holders of the other. When the funding rate is positive, longs pay shorts, and when it’s negative, shorts pay longs. Only positions that are open at the funding time pay or receive it. Bybit’s introduction to funding rates covers the mechanics.
The time between funding payments is set market by market and isn’t always eight hours. Check the market’s own page before you hold a position through it.
How should a backtest include trading costs?
A backtest without costs tests a market where trading is free, and nobody trades there. Four rules keep the costs realistic:
- Use the exchange’s real fee schedule, at the tier your account pays. A new account pays the starting tier. A discount you earn later can only make your real results better than the test, never worse.
- Charge the right fee to each order: maker for an order that waited in the book, taker for one that filled immediately. Entries and exits are charged separately.
- Add slippage to every taker order, and more of it for big positions on thin markets.
- Run the test with and without costs. The gap between the two expectancies is what trading the strategy costs you. If it eats most of the edge, the rules never had much of one.
How EdgeLuma counts costs in a backtest
On Binance and Bybit, EdgeLuma follows those four rules for you:
- Each exchange preset charges the maker and taker fees from that exchange’s standard schedule, at the starting tier a new account pays. The rates are checked against the exchange’s own fee page, and the date of the check is kept with them.
- Slippage is added to every order that fills immediately: half a price tick for crossing the spread, plus a market impact that grows with the size of the position.
- If an exchange keeps a market on a special fee schedule of its own, the preset refuses that market instead of charging it the standard rate.
- If you trade on Coinbase or Kraken, their fees are presets too. On spot: Coinbase Advanced’s US schedule and Kraken Pro’s. On perpetuals: Deribit’s, Coinbase’s derivatives exchange, Kraken Pro’s futures, and the single flat fee of the Kraken app’s perpetuals. EdgeLuma doesn’t hold their prices, so the run uses the Binance or Bybit candles of the same coin with that exchange’s fees, and the report says so.
- You can type in your own fees instead. Either way the report also shows the same backtest before costs, beside the result with them, and what the fees, slippage and funding took.
In EdgeLuma, 1R already includes the costs of a full round trip. It’s the distance from the entry to the stop times the position size, plus what the trade pays to get in and to be stopped out: the fees on both sides and the slippage. A trade stopped at its original stop is exactly −1R, fees and slippage included. On a perpetual, the funding a trade paid or received while it was open comes on top, because nobody knows it at the entry: a stop held through funding times closes a little past −1R, or short of it when it received. Every number in the report comes after costs.
Costs are one way a backtest can flatter a strategy. The other big one is overfitting. For the whole method, from writing the rules to reading the report, see how to backtest a trading strategy.
Test a strategy yourself: start with the Free plan, no card needed.
Key takeaways
- Every trade pays a fee to open and another to close, charged on the full value of the position. An order that waits in the order book pays the lower maker fee, and one that fills immediately pays the taker fee.
- Slippage is the gap between the price you expected and the price you got. It starts with the spread and grows with the size of your order compared with what the market trades.
- Fees are charged on the position, but results are measured against risk. The tighter your stop, the bigger the share of every trade that goes to costs.
- Perpetual futures also pay or receive funding at set times. EdgeLuma’s backtests on perpetuals charge it at the rate each exchange published, and it weighs most on strategies that hold positions for days.
Frequently asked questions
Are crypto trading fees charged on the position or on the margin?
On the position. The fee is the position’s full value, its size times the fill price, times the fee rate, however much leverage or margin is behind it.
Is a stop-loss a maker or a taker order?
When it triggers, a stop fills immediately against the order book, so it’s a taker order. It pays the taker fee and the slippage of crossing the spread.
What slippage should I assume in a crypto backtest?
One measured from the market rather than a round number. On liquid pairs, crossing the spread costs about half a price tick, and bigger orders cost more as they eat into the order book. A single fixed percentage for every market and every order size is usually too high for the biggest pairs and too low for the thin ones.




