What is impermanent loss?

BAKE FAQ
3 min readApr 26, 2021

The “impermanent loss” occurs when you add liquidity to a “liquidity pool” (liquidity reserve), and the price of the deposited assets changes from when you made the deposit. The greater this change, the more exposed you will be to “impermanent loss”. In this case, the loss means a lower dollar value at the time of withdrawal than at the time of deposit. (more information here)

However, for liquidity providers, mitigating the risk of loss receives a reward, which in this case is obtained every time someone trades on the DEX BakerySwap.

However, so that it makes sense to add liquidity and be rewarded, you can work your BLP tokens obtained in the different Stake of Bake Here.

Here’s an example from Impermanent Loss.

Let’s go through an example of how impermanent loss may look like for a liquidity provider.

Alice deposits 1 ETH and 100 DAI in a liquidity pool. In this particular automated market maker (AMM), the deposited token pair needs to be of equivalent value. This means that the price of ETH is 100 DAI at the time of deposit. This also means that the dollar value of Alice’s deposit is 200 USD at the time of deposit.

In addition, there’s a total of 10 ETH and 1,000 DAI in the pool — funded by other LPs just like Alice. So, Alice has a 10% share of the pool, and the total liquidity is 10,000.

Let’s say that the price of ETH increases to 400 DAI. While this is happening, arbitrage traders will add DAI to the pool and remove ETH from it until the ratio reflects the current price. Remember, AMMs don’t have order books. What determines the price of the assets in the pool is the ratio between them in the pool. While liquidity remains constant in the pool (10,000), the ratio of the assets in it changes.

If ETH is now 400 DAI, the ratio between how much ETH and how much DAI is in the pool has changed. There is now 5 ETH and 2,000 DAI in the pool, thanks to the work of arbitrage traders.

So, Alice decides to withdraw her funds. As we know from earlier, she’s entitled to a 10% share of the pool. As a result, she can withdraw 0.5 ETH and 200 DAI, totaling 400 USD. She made some nice profits since her deposit of tokens worth 200 USD, right? But wait, what would have happened if she simply holds her 1 ETH and 100 DAI? The combined dollar value of these holdings would be 500 USD now.

We can see that Alice would have been better off by HODLing rather than depositing into the liquidity pool. This is what we call impermanent loss. In this case, Alice’s loss wasn’t that substantial as the initial deposit was a relatively small amount. Keep in mind, however, that impermanent loss can lead to big losses (including a significant portion of the initial deposit).

With that said, Alice’s example completely disregards the trading fees she would have earned for providing liquidity. In many cases, the fees earned would negate the losses and make providing liquidity profitable nevertheless. Even so, it’s crucial to understand impermanent loss before providing liquidity to a DeFi protocol. Full article at: Binance academy

--

--

BAKE FAQ
0 Followers

Cryptocurrencies, reviews and tutorials.