Skip to main content

How Does the Price Path of a Trade on an AMM Curve Relate to the Average Execution Price?

The AMM curve (e.g. x times y equals k) defines the instantaneous price at every point. As a trader executes a swap, they move along this curve, and the instantaneous price changes continuously against them.

The average execution price is the total amount of the output token received divided by the total amount of the input token provided. This average price is always less favorable than the initial instantaneous price due to slippage.

What Is the Difference between Positive and Negative Slippage in a Trade?
How Does a ‘Limit Order’ Differ from a ‘Market Order’ in the Context of Preventing Slippage?
How Does Slippage Affect the Execution of a Stop-Loss Order in High-Volatility Crypto Markets?
How Does ‘Slippage’ Occur on an AMM?