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

What is impermanent loss and how to avoid it?

April 24, 2022
6 Questions for Rene Reinsberg of Celo – Cointelegraph Magazine

6 Questions for Rene Reinsberg of Celo – Cointelegraph Magazine

März 31, 2023
Judge denies SEC motion to keep Hinman docs secret in Ripple case

Judge denies SEC motion to keep Hinman docs secret in Ripple case

März 31, 2023
The ultimate guide to Miami – Cointelegraph Magazine

The ultimate guide to Miami – Cointelegraph Magazine

März 31, 2023
Dr. Jane Thomason – Cointelegraph Magazine

Dr. Jane Thomason – Cointelegraph Magazine

März 31, 2023
1658007797 celsius is bankrupt with 12b balance sheet hole su zhu.jpg

Celsius is bankrupt with $1.2B balance sheet hole, Su Zhu returns to Twitter and OpenSea purges 20% of employees: Hodler’s Digest, July 10-16

März 31, 2023
6 Questions for Lisa Fridman of Quadrata – Cointelegraph Magazine

6 Questions for Lisa Fridman of Quadrata – Cointelegraph Magazine

März 31, 2023
Jed McCaleb empties XRP wallet after eight-year selloff

Jed McCaleb empties XRP wallet after eight-year selloff

März 31, 2023
Celsius has finally filed for bankruptcy: Law Decoded, July 18-25

Celsius has finally filed for bankruptcy: Law Decoded, July 18-25

März 31, 2023
The ‘godfather of crypto’ risked lifetime in jail, laying foundation for Bitcoin – Cointelegraph Magazine

The ‘godfather of crypto’ risked lifetime in jail, laying foundation for Bitcoin – Cointelegraph Magazine

März 31, 2023
SEC objects to XRP holders aiding Ripple defense

SEC objects to XRP holders aiding Ripple defense

März 31, 2023
Blockchain technology is transforming the real estate market – Cointelegraph Magazine

Blockchain technology is transforming the real estate market – Cointelegraph Magazine

März 31, 2023
1658612147 nfts banned in minecraft sec lists 9 tokens as securities.jpg

NFTs banned in Minecraft, SEC lists 9 tokens as securities and 3AC founder blames cockyness for company meltdown: Hodler’s Digest, July 17-23

März 31, 2023
  • Home
  • Coin Market Cap
  • Bitcoin
  • Ethereum
  • Ripple
  • Litecoin
  • Alt Coin
  • Business
  • Trading
  • Mining
CoinNewsDaily
  • Home
  • Coin Market Cap
  • Bitcoin
  • Ethereum
  • Ripple
  • Litecoin
  • Alt Coin
  • Business
  • Trading
  • Mining
No Result
View All Result
  • Home
  • Coin Market Cap
  • Bitcoin
  • Ethereum
  • Ripple
  • Litecoin
  • Alt Coin
  • Business
  • Trading
  • Mining
No Result
View All Result
CoinNewsDaily
No Result
View All Result
Home Ethereum

What is impermanent loss and how to avoid it?

coinnewsdaily by coinnewsdaily
April 24, 2022
in Ethereum
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).

Related articles

Top 3 cryptocurrencies that are faring the best in the 2022 bear market

Top 3 cryptocurrencies that are faring the best in the 2022 bear market

Mai 24, 2022
Core Ethereum developer details changes to expect after the Merge

Core Ethereum developer details changes to expect after the Merge

Mai 24, 2022

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%

Loss is an inevitable part of life. However, some losses, such as those brought about through impermanent losses, can be avoided.

Impermanent loss is the foregone opportunity of an asset or service provided by the asset. Examples include renting or leasing an asset, investing in a business opportunity that does not pan out, or giving away goods or services for free. In all of these cases, the opportunity and potential gain of the asset is lost and cannot be recovered.

The key to avoiding impermanent loss is to think of all potential investments carefully. Take time to determine whether you’re able to capitalize on the opportunity, and pay particular attention to the return on investment versus the risk associated with the asset. Ensure that the risk and return matches your level of risk tolerance. Additionally, you should look at other options that may be available that offer better returns and less risk.

When it comes to services, consider the opportunity cost of waiting compared to the cost of the service. Consider the expected benefits of the service, and whether they outweigh the cost of the service. Additionally, analyze the details of the service agreement closely before committing and make sure that there are no hidden extra costs.

Impermanent loss can also be avoided through careful planning. Taking the time to research potential investments and services can help ensure you understand what is involved before committing. Additionally, setting up backup plans for unanticipated events can help minimize losses and ensure that your investments are protected.

In conclusion, losses are unavoidable in life. However, by taking time to carefully consider potential investments, researching services before committing, and creating back-up plans, you can avoid impermanent losses. By doing so, you can maximize your return on investments and protect yourself from potential loss.

Tags: AMMCointelegraphCryptocurrenciesEconomyETHETH priceEthereumfinanceFinancial marketsIllinoisinMoneyOurpriceTERMSTokentotalTradingUniswapUSDUSDTWhatWill
Share76Tweet47
Previous Post

NFTs: The Next Musical Revolution

Next Post

Justin Sun Launches USDD, Integrating the Blockchain World and the Real World with the Decentralized Stablecoin

coinnewsdaily

coinnewsdaily

CoinNewsDaily.com is an online Crypto Coin News Website that aims to provide latest trendy news from market and around the world.

Related Posts

Top 3 cryptocurrencies that are faring the best in the 2022 bear market
Alt Coin

Top 3 cryptocurrencies that are faring the best in the 2022 bear market

Mai 24, 2022
Core Ethereum developer details changes to expect after the Merge
Ethereum

Core Ethereum developer details changes to expect after the Merge

Mai 24, 2022
fUSD stablecoin launch and rumors of Cronje’s return send Fantom (FTM) price higher
Ethereum

fUSD stablecoin launch and rumors of Cronje’s return send Fantom (FTM) price higher

Mai 23, 2022
Price analysis 5/23: BTC, ETH, BNB, XRP, ADA, SOL, DOGE, DOT, AVAX, SHIB
Alt Coin

Price analysis 5/23: BTC, ETH, BNB, XRP, ADA, SOL, DOGE, DOT, AVAX, SHIB

Mai 23, 2022
The Moon ‘created’ his lavish reality… and says you can, too
Ethereum

The Moon ‘created’ his lavish reality… and says you can, too

Mai 23, 2022
Layer-2 adoption could spur the next crypto turning point
Ethereum

Layer-2 adoption could spur the next crypto turning point

Mai 23, 2022
Load More
Next Post
justin sun launches usdd, integrating the blockchain world and the real world with the decentralized stablecoin

Justin Sun Launches USDD, Integrating the Blockchain World and the Real World with the Decentralized Stablecoin

Kategorien

  • Alt Coin
  • Bitcoin
  • Business
  • Ethereum
  • ICO
  • Litecoin
  • Mining
  • NFT
  • Ripple
  • Tech
  • Trading

What New here?

  • 6 Questions for Rene Reinsberg of Celo – Cointelegraph Magazine
  • Judge denies SEC motion to keep Hinman docs secret in Ripple case
  • The ultimate guide to Miami – Cointelegraph Magazine
  • About Us
  • Contact Us
  • Privacy & Policy

© 2018-2021 CoinNewsDaily.com by CoinNewsDaily Inc. Crafted with Love by iFtiDev

Please enter CoinMarketCap Free Api Key to get this plugin works.
✕
No Result
View All Result
  • Home
  • Coin Market Cap
  • Bitcoin
  • Ethereum
  • Ripple
  • Litecoin
  • Alt Coin
  • Business
  • Trading
  • Mining

© 2018-2021 CoinNewsDaily.com by CoinNewsDaily Inc. Crafted with Love by iFtiDev