MoonDogeSwap
  • πŸŒ•πŸ• MoonDogeSwap Overview
  • Products
    • πŸ’±Swap
      • How to Swap?
      • Price Impact and Slippage Tolerance
    • 🌊Liquidity
      • How to Add Liquidity
      • How to Remove Liquidity
      • Impermanent Loss
    • 🌾Yield Farming
    • πŸŒ•Moon Pools
    • πŸ’ΈMigrate Dogecoin to BSC
      • Binance Exchange
      • Binance Bridge
    • 🎰Raffle
      • How to Play Raffle
    • πŸš€MoonX
      • MX MINT
        • Standard Token
        • Reflection Token
      • MX LOCK
        • Liquidity Locker
        • Token Locker
      • MX DROP
      • MX LAUNCHPAD
  • Project
    • πŸ•MODO
      • MODO Parameters
      • MODOnomics
      • MODO OutPut Adjustment Amendment (NEW)
      • Repurchase and Burn
    • πŸ—ΊοΈ Roadmap
  • Help Center
    • πŸ‘›Wallet Guide
      • MetaMask
      • Binance Chain Wallet
      • WalletConnect
    • πŸ™‹FAQ
    • πŸ’»Technical Troubleshooting
  • Contact Us
    • 🎧Customer Support
    • 🀝Business
    • πŸ“±Social Media
Powered by GitBook
On this page
  • Price Impact
  • Slippage Tolerance
  • Numerical Example
  • Before Swap
  • After Swap

Was this helpful?

  1. Products
  2. Swap

Price Impact and Slippage Tolerance

PreviousHow to Swap?NextLiquidity

Last updated 3 years ago

Was this helpful?

Price Impact

Users specifically newcomers are advised to "watch out" Price Impact (or Slippage) when you swap tokens.

Price Impact is essentially the expected price difference in % between the quoted price and the executed price.

You can check the Price Impact of your trade after you have entered the amount of your Input Token.

Both the size of your Trade Volume and the Liquidity Volume in the liquidity pool you are trading with can affect the Price Impact.

The larger the trade size (or the less the liquidity volume), the larger the Price Impact will be.

Slippage Tolerance

Slippage Tolerance is the MAX price impact a user is willing to tolerate when executing a trade. It can be set in the "Settings" when you hit the little button on the top-right corner of the "Swap interface".

You can pick default 0.1%, 0.5%, and 1% for your slippage tolerance, or you can customize it.

If you set the Slippage Tolerance too small, it is possible that your trade will be reverted.

Numerical Example

Before Swap

Assume the following pool info:

  • BNB = 200

  • MODO = 10,000

Hence:

  • Quoted Price (MODO/BNB) = 50

After Swap

Now, input 1 BNB for MODO

  • BNB in the pool = 200 + 1 = 201

  • Constant Product is 2,000,000 (it is constant)

To keep it simple, the trading fee is not considered in this example.

Hence:

  • MODO in the pool = Constant Product / BNB in the pool = 9950.25

  • Output MODO = 10,000 - 9950.25 = 49.75

  • Executed Price = Output MODO / Input BNB = 49.75

Price Slippage = the price difference between Quoted Price and Executed Price = 50 - 49.75 = 0.25

Price Impact = the price change in % = 0.5%

If you set the Slippage Tolerance below 0.5%, your trade would be most likely reverted.

Constant Product ( xβˆ—y=kx * y = kxβˆ—y=k) = 2,000,000

πŸ’±
Price Impact