What Is Slippage in Automated Trading?
Slippage is the difference between the price you expected and the price at which an order actually fills. Gaps, latency and liquidity all contribute.
Backtests and paper mode may understate live slippage depending on assumptions. That is one reason historical results are not forecasts and why protective stops at the broker still matter.