Slippage and spreads in practice
The price on the screen is not always the price you get. How spread and slippage arise, a worked fill through an order book, and how to keep them small.
The spread
At any moment a market has a best bid, the highest price a buyer is waiting to pay, and a best ask, the lowest price a seller is waiting to accept. The gap between them is the spread. If the bid is 59,990 and the ask is 60,000, the spread is 10 and the middle price is 59,995.
A market order to buy pays the ask and a market order to sell receives the bid. Buying and selling straight away therefore costs the whole spread before any fee, even if the price has not moved.
Slippage: walking the book
Slippage is the difference between the price you expected and the price you got. Part of it comes from size. Say the asks are 1.0 BTC at 60,000, 0.5 at 60,010 and 1.5 at 60,030, and you buy 2 BTC at market.
The order takes 1.0 at 60,000, 0.5 at 60,010 and the last 0.5 at 60,030. The total is 60,000 + 30,005 + 30,015 = 120,020, an average of 60,010 per coin. Against the middle price of 59,995 that is 15 per coin, or about 0.025%.
Slippage from speed
The other part comes from movement. A stop-loss becomes a market order when it is triggered, and in a fast market the price can move several steps between the trigger and the fill. Around big news, or in a thin market at a quiet hour, the fill can land far beyond the stop.
That is why a backtest that fills every stop exactly at its price is too kind. A fairer test adds a cost to every fill, and a larger one to stops than to limit orders.
Adding it up
Small costs repeat. Say each round trip costs 0.05% in spread and slippage and 0.1% in fees on each side, 0.25% in all. On a position of 10,000 that is 25 per round trip, and over 200 round trips a year it is 5,000.
Three habits keep it down. Trade the most liquid pair and hours you can. Use limit orders where waiting is acceptable. And size orders against the depth near the price, not against the 24-hour volume, which says little about how much can be filled at once.
To take away
- A market order pays the spread before any fee.
- Large orders walk the book; fast markets move between trigger and fill.
- Count spread and slippage in every backtest; small costs add up over many trades.
Try it
Lessons on this topic
Related posts
Spread, commission and overnight charges look tiny per trade. Added up over a year for your own way of trading, they decide which kind of account is cheapest for you.
12 November 2026Order flow and derivatives · 5 minHow to read an order book and its imbalanceBids below, asks above and a spread between. How to read depth, what bid-ask imbalance measures, and why resting orders can vanish before price arrives.
25 November 2026Risk and costs · 3 minStop-loss orders: where to put a stop, and why it keeps getting hitA stop is the price at which your idea is wrong. Here is how to place one outside normal noise, how its distance sets your position size, and the habits that turn stops into bigger losses.
24 November 2026Education only. Nothing here is financial advice or a recommendation to buy or sell anything; examples are arithmetic, not results. Trading involves a high risk of losing money.