Liquidity measures how many orders are ready to buy or sell near the current price. The fuller the order book, the bigger you can trade without moving the price.
The spread is the gap between the best selling price (bid) and the best buying price (ask). On EUR/USD it is often a fraction of a pip; on a small token it can reach several percent.
Slippage appears when your market order “eats” several levels of the book: you buy part at the first price and the rest higher. The bigger your order relative to liquidity, the larger the slippage.
To limit these costs: favour liquid markets, use limit orders on thinly traded assets (at the risk of not being filled) and size your trade to the real volume.
Examples
THIN-X (fictional market) : The two lines frame the last price: the gap between them is the spread. On a thin fictional market like this one, that gap widens and every round trip costs more.
6 May 2010: the flash crash : Within minutes, the Dow Jones lost nearly 1,000 points before recovering. With no buyers left, some stocks briefly traded at $0.01: when liquidity vanishes, slippage can become huge, even on a major market.
Key terms
Liquidity
Ease of trading without moving the price
Order book
List of pending buy and sell orders, level by level
Spread
Gap between the buying price (ask) and the selling price (bid)
Slippage
Gap between the expected price and the price actually obtained