Slippage
Slippage is the difference between the price you expected and the price at which a trade actually executed. It happens when the order book does not hold enough orders at the best price for your size, or when the price moves while the order is filling.
Example
You buy a coin for $5,000 with a market order. The book holds $2,000 of orders at the best price of $1.000, the next $2,000 fills at $1.005 and the last $1,000 at $1.010. The average buy price is about $1.004, so slippage is roughly 0.4%. If the spread was 0.6%, almost nothing is left after fees.
How to reduce slippage
- split large trades into several parts;
- use limit orders instead of market orders if you can wait for the fill;
- check order book depth on both exchanges before the trade;
- trade liquid pairs with high volume;
- on DEXs, set the allowed slippage in the swap settings so the trade does not fill at a much worse price.
Questions and answers
Can slippage work in your favor?
Yes, if the price moves your way while the order fills. In arbitrage math it is safer to assume slippage works against you.