Slippage
Slippage is the difference between the expected price of a trade and the price at which the trade is actually executed. In decentralized exchanges, slippage occurs when a trade is large enough to move the price of the asset within the liquidity pool, or when market conditions change between the time the order is submitted and when it is confirmed.
High slippage can be costly for traders, especially in illiquid markets or during periods of high volatility. Users can often set a slippage tolerance, which is the maximum price change they are willing to accept before the transaction fails.
Minimizing slippage is a primary goal of efficient trading and is often a target for attackers who seek to profit from the price impact caused by large orders.