🪄Swap Settings

You're in control.

Understanding price impact and slippage is crucial for a smooth trading experience on XP.FUN. This guide will help you navigate these concepts to make informed decisions.


Price Impact

What is Price Impact?

  • Price Impact refers to how your trade affects the market price of a token due to the size of your order relative to the pool's liquidity.

  • Larger Trades: The bigger your buy or sell order compared to the total liquidity, the more significant the price impact.

  • Dynamic Adjustments: Liquidity pools adjust prices based on supply and demand, so the available liquidity at each price point changes with every trade.

Real-Time Estimates

The price impact will be displayed below the token being swapped for below the text field of that token. It is shown in a relative percentage.

  • Live Updates: The platform displays the approximate final value of your trade in real-time.

  • High Price Impact Warnings: If your swap is expected to have a high price impact, you'll receive a warning.

  • User Discretion: It's up to you to decide whether to proceed with a trade that has a high price impact.


Slippage

What is Slippage?

  • Slippage is the acceptable percentage difference between the expected price and the executed price of a trade.

  • It represents how much you're willing to let the price "slip" to ensure your transaction goes through.

Why Adjust Slippage?

  • High Volatility: During volatile market conditions, prices can change rapidly. Increasing your slippage tolerance can help your trade execute successfully.

  • Transaction Ordering: Ethereum processes transactions based on the gas fees offered. Higher gas fees result in faster transaction execution.

  • Delayed Transactions: If you set a low gas fee, your transaction might be delayed, and market prices could move beyond your slippage tolerance, causing the transaction to fail.

How to Adjust Slippage

  1. Access Slippage Settings:

    • Click on the Slippage icon in the top right of the swap interface.

  2. Adjust the Slider:

    • Use the slider to set your preferred slippage percentage.

  3. Confirm Settings:

    • Ensure you're comfortable with the new slippage tolerance before proceeding.


Safety Checks

To protect users from unfavorable outcomes, XP.FUN has built-in safety mechanisms:

Common Safety Checks

  1. Expired Transactions:

    • If a swap remains pending beyond a certain time limit, it will automatically fail.

    • Purpose: Protects you from price volatility over time.

  2. Insufficient Output Amount:

    • If the actual output of a transaction is less than the minimum amount expected (after accounting for slippage), the swap will be canceled.

    • Purpose: Prevents trades that would result in a significantly worse price than anticipated.


Note: Cryptocurrency trading involves risks. Always do your own research before making investment decisions!

Last updated