• Latest
  • Trending
What is impermanent loss and how to avoid it?

What is impermanent loss and how to avoid it?

April 25, 2022
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

XRP, Shiba Inu, and More: Here are Top 6 Altcoins Priced Below $1 to Watch for Next Bull Run – The Crypto Basic

October 31, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Zodia Custody expands in Hong Kong, receives VASP in Ireland … – Tekedia

October 31, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Why Altcoins and Crypto Stocks Were Flying High Today – The Motley Fool

October 30, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Embracing the crypto evolution: Institutional adaptation and the … – Arabian Business

October 30, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Acala Spikes 5% on Binance's New Altcoin Pairs News — Can ACA … – CCN.com

October 30, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Bitcoin Spark, BNB, and Toncoin: Price Outlook in Upcoming Bull Run – CryptoPotato

October 30, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Crypto Price Today: Bitcoin holds $34,000; Ethereum slips below $1,800; most altcoins up – Business Today

October 30, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

The Next Bull Market Is Approaching: Sparking Opportunities For … – CryptoPotato

October 30, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Crypto Analyst Benjamin Cowen Says Fed Pivot and Altcoin Rallies Won’t Happen Until This Occurs – The Daily Hodl

October 29, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Litecoin Pronóstico del Precio: LTC insinúa una corrección del 15% si se cumplen estas condiciones clave – FXStreet

October 29, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Brazil's USDT adoption soars in 2023, makes up 80% of all crypto transactions – Cointelegraph

October 29, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Can Presales Like Scorpion Casino Token Match the Historic … – NewsWatch

October 29, 2023
Sunday, May 18, 2025
EGROW ONLINE
  • Home
  • Cryptocurrency
  • Bitcoin
  • Ethereum
  • Blockchain
  • Altcoins
  • ADA
  • Litecoin
  • Dogecoin
  • ICO
  • Ripple
  • Market & Analysis
  • Videos
No Result
View All Result
EGROW ONLINE
No Result
View All Result

What is impermanent loss and how to avoid it?

by admin
April 25, 2022
in Ethereum
0


The difference between the LP tokens’ value and the underlying tokens’ theoretical value if they hadn’t been paired leads to IL.

Let’s look at a hypothetical situation to see how impermanent/temporary loss occurs. Suppose a liquidity provider with 10 ETH wants to offer liquidity to a 50/50 ETH/USDT pool. They’ll need to deposit 10 ETH and 10,000 USDT in this scenario (assuming 1ETH = 1,000 USDT).

If the pool they commit to has a total asset value of 100,000 USDT (50 ETH and 50,000 USDT), their share will be equivalent to 20% using this simple equation = (20,000 USDT/ 100,000 USDT)*100 = 20%

Calculation of liquidity providers share in the liquidity pool

The percentage of a liquidity provider’s participation in a pool is also substantial because when a liquidity provider commits or deposits their assets to a pool via a smart contract, they will instantly receive the liquidity pool’s tokens. Liquidity providers can withdraw their portion of the pool (in this case, 20%) at any time using these tokens. So, can you lose money with an impermanent loss?

This is where the idea of IL enters the picture. Liquidity providers are susceptible to another layer of risk known as IL because they are entitled to a share of the pool rather than a definite quantity of tokens. As a result, it occurs when the value of your deposited assets changes from when you deposited them.

Please keep in mind that the larger the change, the more IL to which the liquidity provider will be exposed. The loss here refers to the fact that the dollar value of the withdrawal is lower than the dollar value of the deposit.

This loss is impermanent because no loss happens if the cryptocurrencies can return to the price (i.e., the same price when they were deposited on the AMM). And also, liquidity providers receive 100% of the trading fees that offset the risk exposure to impermanent loss.

How to calculate the impermanent loss?

In the example discussed above, the price of 1 ETH was 1,000 USDT at the time of deposit, but let’s say the price doubles and 1 ETH starts trading at 2,000 USDT. Since an algorithm adjusts the pool, it uses a formula to manage assets.

The most basic and widely used is the constant product formula, which is being popularized by Uniswap. In simple terms, the formula states: 

Constant product formula

Using figures from our example, based on 50 ETH and 50,000 USDT, we get:

50 * 50,000 = 2,500,000.

Similarly, the price of ETH in the pool can be obtained using the formula:

Token liquidity / ETH liquidity = ETH price,

i.e., 50,000 / 50 = 1,000.

Now the new price of 1 ETH= 2,000 USDT. Therefore,

Formula for ETH liquidity and Token liquidity

This can be verified using the same constant product formula:

ETH liquidity * token liquidity = 35.355 * 70, 710.6 = 2,500,000 (same value as before). So, now we have values as follows:

Old vs. New ETH and USDT values

If, at this time, the liquidity provider wishes to withdraw their assets from the pool, they will exchange their liquidity provider tokens for the 20% share they own. Then, taking their share from the updated amounts of each asset in the pool, they will get 7 ETH (i.e., 20% of 35 ETH) and 14,142 USDT (i.e., 20% of 70,710 USDT).

Now, the total value of assets withdrawn equals: (7 ETH * 2,000 USDT) 14,142 USDT = 28,142 USDT. If these assets could have been non-deposited to a liquidity pool, the owner would have earned 30,000 USDT [(10 ETH * 2,000 USDT) 10,000 USD].

This difference that can occur because of the way AMMs manage asset ratios is called an impermanent loss. In our impermanent loss examples:

Impermanent loss when the liquidity provider withdraws their share of 20%

window.fbAsyncInit = function () { FB.init({ appId: ‘1922752334671725’, xfbml: true, version: ‘v2.9’ }); FB.AppEvents.logPageView(); }; (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) { return; } js = d.createElement(s); js.id = id; js.src = “https://connect.facebook.net/en_US/sdk.js”; js.defer = true; fjs.parentNode.insertBefore(js, fjs); }(document, ‘script’, ‘facebook-jssdk’)); !function (f, b, e, v, n, t, s) { if (f.fbq) return; n = f.fbq = function () { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) }; if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = ‘2.0’; n.queue = []; t = b.createElement(e); t.defer = !0; t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s) }(window, document, ‘script’, ‘https://connect.facebook.net/en_US/fbevents.js’); fbq(‘init’, ‘1922752334671725’); fbq(‘track’, ‘PageView’);



Source link

YOU MAY ALSO LIKE

Ethereum L2s Surprisingly Set New ATH – U.Today

A case for Web3 social media, and is Friend.tech a security?

Tags: AvoidImpermanentLoss
ShareTweetPin

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result

Recent News

Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

XRP, Shiba Inu, and More: Here are Top 6 Altcoins Priced Below $1 to Watch for Next Bull Run – The Crypto Basic

October 31, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Zodia Custody expands in Hong Kong, receives VASP in Ireland … – Tekedia

October 31, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Why Altcoins and Crypto Stocks Were Flying High Today – The Motley Fool

October 30, 2023

Recent News

Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

XRP, Shiba Inu, and More: Here are Top 6 Altcoins Priced Below $1 to Watch for Next Bull Run – The Crypto Basic

October 31, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Zodia Custody expands in Hong Kong, receives VASP in Ireland … – Tekedia

October 31, 2023
Altcoins Lead Post-Fed Crypto Rally as Risk Appetite Increases – Yahoo Finance

Why Altcoins and Crypto Stocks Were Flying High Today – The Motley Fool

October 30, 2023

Categories

  • ADA
  • Altcoins
  • Bitcoin
  • Blockchain
  • Cryptocurrency
  • Dogecoin
  • Ethereum
  • ICO
  • Litecoin
  • Market & Analysis
  • Ripple
  • Videos

Follow Us

Find Via Tags

Ada Altcoin altcoins analysis Analyst Analytics Big Binance Bitcoin Blockchain BNB BTC Buy Cardano Coin Cointelegraph Crypto cryptocurrencies Cryptocurrency Digital DOGE Dogecoin ETH Ethereum finance Heres Insight Inu investors Litecoin LTC market Network news Prediction price Ripple SEC Shiba Solana Today Token Top week XRP
  • privacy And Policy
  • About Us

© 2020 Egrow Online

No Result
View All Result
  • Home
  • Cryptocurrency
  • Bitcoin
  • Ethereum
  • Blockchain
  • Altcoins
  • ADA
  • Litecoin
  • Dogecoin
  • ICO
  • Ripple
  • Market & Analysis
  • Videos

© 2020 Egrow Online