Spot price vs swap quote
A pool spot ratio describes the exchange rate implied by the pool at an instant. A swap quote estimates the quantities for a particular input amount and route. A spot ratio alone does not describe how much can be received in a trade.
The four costs to understand
- Pool fee
- A charge associated with the swap, according to the pool rules.
- Gas
- The blockchain transaction cost, paid in the network’s fee asset.
- Price impact
- The movement in the effective price associated with the size of the trade relative to pool liquidity.
- Slippage
- The difference between the expected and actual execution outcome as conditions change.
A hypothetical accounting example
Consider a purely illustrative $1,000 notional, with a gross spread of 1%. If total fees and execution effects amount to $13, the resulting accounting difference is negative.
| Illustrative item | Amount |
|---|---|
| Gross price difference | +$10 |
| Estimated pool and network fees | −$7 |
| Estimated execution effects | −$6 |
| Net difference in this example | −$3 |
Amounts are fictional, use a common dollar unit and are provided solely to illustrate the arithmetic. Real costs and outcomes vary.
Why liquidity matters
A smaller pool may show a large price difference while supporting only a small trade at a similar price. This is why the DEX comparison tool displays reported liquidity next to each price and flags low liquidity. Compare the source data and quote units before interpreting the spread.