← Glossary
Bid-ask spread
The bid-ask spread is a real, immediate cost of entering and exiting a position — a market order crosses the spread, buying at the ask and selling at the bid — and it tends to widen when liquidity is thin, such as outside regular market hours or in a less-traded instrument. A backtest's slippage assumption is partly standing in for this cost, among others.
See also
This explains what bid-ask spread measures. It isn't investment advice — see the disclaimer.