Tradingfxdaily.com
  • Home
  • Forex
  • Crypto News
    • NFT News
  • World News
  • Business
  • Stock Market
  • Economic Calendar
No Result
View All Result
  • Home
  • Forex
  • Crypto News
    • NFT News
  • World News
  • Business
  • Stock Market
  • Economic Calendar
No Result
View All Result
Tradingfxdaily.com
No Result
View All Result
Home Crypto News

What is impermanent loss and how to avoid it?

tradingfxdaily by tradingfxdaily
April 25, 2022
in Crypto News
0
What is impermanent loss and how to avoid it?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter

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%

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%

Source link

Related articles

More Than 7,000 Ordinals Inscriptions Have Already Been Included on the Bitcoin Blockchain – Bitcoin News

More Than 7,000 Ordinals Inscriptions Have Already Been Included on the Bitcoin Blockchain – Bitcoin News

February 6, 2023
Price analysis 2/6: SPX, DXY, BTC, ETH, BNB, XRP, DOGE, ADA, MATIC, DOT

Price analysis 2/6: SPX, DXY, BTC, ETH, BNB, XRP, DOGE, ADA, MATIC, DOT

February 6, 2023
Share76Tweet47

Related Posts

More Than 7,000 Ordinals Inscriptions Have Already Been Included on the Bitcoin Blockchain – Bitcoin News

More Than 7,000 Ordinals Inscriptions Have Already Been Included on the Bitcoin Blockchain – Bitcoin News

by tradingfxdaily
February 6, 2023
0

Ordinals inscriptions, viewed as a kind of Bitcoin-native NFTs, are picking up steam among some Bitcoin circles, even though the...

Price analysis 2/6: SPX, DXY, BTC, ETH, BNB, XRP, DOGE, ADA, MATIC, DOT

Price analysis 2/6: SPX, DXY, BTC, ETH, BNB, XRP, DOGE, ADA, MATIC, DOT

by tradingfxdaily
February 6, 2023
0

The US dollar’s rise has put brakes on Bitcoin’s price recovery, but lower levels are likely to attract buyers for...

SHIB Remains Near Recent Highs as Crypto Markets Fall on Monday – Market Updates Bitcoin News

SHIB Remains Near Recent Highs as Crypto Markets Fall on Monday – Market Updates Bitcoin News

by tradingfxdaily
February 6, 2023
0

Shiba inu has been relatively stable to start the week, as prices remained close to recent highs, despite Monday’s market...

Community votes to deploy Uniswap v3 on Boba Network

Community votes to deploy Uniswap v3 on Boba Network

by tradingfxdaily
February 6, 2023
0

Members of the Uniswap community voted in favor of deploying Uniswap v3 on Boba Network's layer-2 protocol on Ethereum. Gaining over...

BTC Hits 1-Week Low, Bullish Sentiment Fades on Monday – Market Updates Bitcoin News

BTC Hits 1-Week Low, Bullish Sentiment Fades on Monday – Market Updates Bitcoin News

by tradingfxdaily
February 6, 2023
0

Bitcoin fell to a seven-day low to start the week, as recent bullish momentum began to wear off in cryptocurrency...

Load More
  • Trending
  • Comments
  • Latest
Short SPX: Top Trade Opportunities

Short SPX: Top Trade Opportunities

April 5, 2022
The Top 5 Metaverses to Look Out for in 2022

The Top 5 Metaverses to Look Out for in 2022

March 26, 2022
What is Leverage in Forex? Forex Leverage Explained

What is Leverage in Forex? Forex Leverage Explained

April 19, 2022

Larry Fink says globalization is over — Here’s what it means for the markets

March 26, 2022
Tesla Stock Split: What to Know as EV Maker Prepares to Split Its Stock in 2022

Tesla Stock Split: What to Know as EV Maker Prepares to Split Its Stock in 2022

March 28, 2022
Liz Truss Spectator interview: What will former PM talk about? 5

Liz Truss Spectator interview: What will former PM talk about? 5

0

In a Less-Globalized World, Be Careful Where You Park Your Plane

0
Cardano pares most of its Q1 losses as ADA rebounds 60% in a month — What’s next? By Cointelegraph

Cardano pares most of its Q1 losses as ADA rebounds 60% in a month — What’s next? By Cointelegraph

0

Larry Fink says globalization is over — Here’s what it means for the markets

0
Natural-Gas Industry Gets Boost as Biden Shifts Stance

Natural-Gas Industry Gets Boost as Biden Shifts Stance

0
Liz Truss Spectator interview: What will former PM talk about? 5

Liz Truss Spectator interview: What will former PM talk about? 5

February 6, 2023
Catalent, Newmont, Dell Technologies and more By Investing.com

Catalent, Newmont, Dell Technologies and more By Investing.com

February 6, 2023
More Than 7,000 Ordinals Inscriptions Have Already Been Included on the Bitcoin Blockchain – Bitcoin News

More Than 7,000 Ordinals Inscriptions Have Already Been Included on the Bitcoin Blockchain – Bitcoin News

February 6, 2023
Footwear's Trendy Comeback: Retail

Footwear's Trendy Comeback: Retail

February 6, 2023
Dollar Up, Euro Down Over Potential ECB hikes and Slower U.S. Pace By Investing.com

analysts see more downside By Investing.com

February 6, 2023
Tradingfxdaily.com

Tradingfxdaily.com is your Forex, Stock News, World News, Crypto Currency News, Business News & NFT News Website. We provide you with the latest breaking news and videos straight from the Trading industry.

  • Home
  • About us
  • Contact Us
  • Privacy Policy

© 2022 - All Right Reserved. tradingfxdaily.com

No Result
View All Result
  • Home
  • Forex
  • Crypto News
    • NFT News
  • World News
  • Business
  • Stock Market
  • Economic Calendar

© 2022 - All Right Reserved. tradingfxdaily.com

EURUSD=X 
$1.07  -0.54%  
EURCAD=X 
$1.44  -0.29%  
EURJPY=X 
$142.24  0.43%  
GBPUSD=X 
$1.20  -0.16%  
EURNZD=X 
$1.70  -0.19%  
AUDUSD=X 
$0.6895  -0.43%  
CADUSD=X 
$0.7449  -0.25%