• Buy Crypto
  • Trade
  • Services
  • Travel
  • Banking
  • Business
  • Resources
Sign In
Register
Blog AlfaBit

What is non-permanent loss and how to manage it in DeFi liquidity pools

  • General
  • Blog AlfaBit
  • What is non-permanent loss and how to manage it in DeFi liquidity pools

1 March 2024 г.

What is non-permanent loss and how to manage it in DeFi liquidity pools

From this short guide, you will get to know about non-permanent losses, the most important construct of DeFi pools of liquidity, and how you can utilize this phenomenon.


What are non-permanent losses?

Within the realm of DeFi, non-permanent losses is a concept that has the potential to have a major effect on a member’s portfolio. Non-permanent losses relate to the time value loss that happens whenever a participant lends liquidity to a DEX (decentralized exchange) or a yield farming project. It is called a «non-permanent» loss because it is only realized if the participant removes holdings out of the pool.


What happens to a non-permanent loss?

The non-permanent losses arise from the continuous rebalancing of pools of liquidity in reaction to movements in market prices. To understand how this occurs, consider the following illustrative case study:


Suppose that liquidity is provisioned by merchants to a token pair pool that is composed of identical quantities of Ethereum and a recently issued altcoin. Initially, the value of the paired assets is the same. However, over time, the value of Ethereum rises compared to the alternative coin. Due to liquidity pool arbiters and algorithms, the share of holdings in this pool varies.


Now suppose traders choose to remove from the pool of liquidity. Should the value of Ethereum rise, they will receive more alternative coins and lower Ether relative to their original contribution. That mismatch from the cost of their original initial contribution to the cost at the point of exit is a non-permanent loss.


The loss is referred to as «non-permanent» as it is due to a displacement of the cost of the coins in relation to one another; the value loss is only realized if the merchant removes its holdings out of the token pool at that point.


How do I compute the non-permanent loss?

In order to compute non-permanent losses, you must compare the stored cost of the escrowed holdings in the pool of liquidity to the store worth of the similar holdings in the wallet. To better understand how this works, let’s look at an example:


Suppose Marie wishes to bid for liquidity to a 50/50 BTC/USDT pool. Under this example scheme, Marie contributes 2 BTC and 10,000 USDT (where the price of 1 BTC = 5,000 USDT). If the total value of the pool assets is 30,000 USDT (2 BTC + 10,000 USDT), the contribution gives Marie the right to a 10% share of the pool, which Marie can withdraw at any time.


But what if the value of either of the holdings moves?


Once the liquidity supplier makes the original contribution, the value of 1 BTC will double and begin bidding at the 10,000 USDT level. Magisterial investors would then proceed to adding USDT to the pool and removing BTC so that the value of BTC/USDT would be in line with the outside stock exchanges.


The pools of liquidity depend upon algorithms to customize the pool and manage the assets. The most commonly utilized equation for computing IL under similar kinds of situations is the constant product formula, popularized by DEXs such as Uniswap. Using this formula, we define:


X * Y = K, where X is the number of tokens №1 and Y is the number of tokens №2.


Using the formula we get at the beginning:


2 (BTC) * 10,000 (USDT) = 20,000


Following the arbitrage trade, what we do is compute the newly pooled assets:


BTC liquidity = √(constant product K * new BTC price in USDT)


√(20,000 / 10,000 USDT) = 1.414 BTC


USDT liquidity = √(constant product K * new BTC price in USDT)


√(20,000 * 10,000 USDT) = 14,142 USDT


If Marie withdraws all tokens with a 10% ownership of assets at this point, she will receive 1,414 USDT (0.1414 BTC * 10,000 USDT + 1,414 USDT). But if Marie owned the actual value of the coins instead, those assets were valued at 3,000 USDT (2 BTC * 5,000 USDT + 10,000 USDT).


Marie’s loss in this case would be 3,000 - 1,414 = 1,586 USDT.


The non-permanent loss of a liquidity pool and its impact on income farming

Liquidity pools are an important part of DeFi and have a decisive function in income farming, involving the delivery of liquidity pools in return for fees, frequently in the shape of extra cash tokens. Volatile loss, though, can have a major impact on the overall strategy of income farming.


When participating in income farming, the potential level of non-permanent loss is essential to take into account. The rewards from income farming alone cannot be sufficient to offset the loss of initial deposit cost due to non-permanent losses. Thus, it is critical to evaluate the relative risks and benefits closely in choosing income farming alternatives.


Variable loss considerations

To navigate non-permanent losses in the cryptocurrency market effectively, a trader must consider several key factors:


The membership of the pool of liquidity is crucial. Pools with highly cross-correlated holdings or pairs of stablecoins tend to have lower levels of volatility losses. Understanding the dynamics of the assets in the asset pool can aid in evaluating exposure to prospective risks.


The temporal period is an essential element to take into account. In theory, non-permanent losses are temporary in nature, implying that, in time, losses can be mitigated or even eliminated if the relative value of assets returns to its original level. Therefore, accounting for the timing of assets locked in pools and the potential for recovery of their original value is critical to managing non-permanent losses effectively.


Keeping abreast of the recent events in the market for digital currencies is essential. Implementation of newly launched products or shifts in global market environments could materially affect the relative risks and gains related to non-permanent losses. Careful observation of market movements and appropriate strategy adjustments will help keep the impact of non-permanent losses to a minimum.


Reducing the impact of non-permanent losses and compensating for it

Although non-permanent losses represent an inherent risk for investors supplying pools with liquidity, several mitigation strategies exist to help minimize risk and offset the effects of non-permanent losses.


Among the things to keep in mind is to choose thoroughly the pools in which liquidity will be supplied. By picking out pools containing correlative holdings or stablecoin pairs, you can reduce the likelihood of non-permanent losses. In addition, diversifying liquidity allows you to allocate risk and help ensure that the effects of non-permanent losses are minimized.


Another strategy a trader should consider is the potential profit from trading commissions. Some pools of liquidity will offering fees in the shape of commissions on deals generated from dealing action inside the pool. By doing thorough investigation and engaging in pools with strong volumes and commissions, a trader can potentially offset intermittent losses with transaction commission income gained.


Relation between non-permanent losses and volatility in the cryptocurrency market

Volatility in the cryptocurrency market is the driving force behind non-permanent losses. To the extent that activity asset values in the pool of liquidity experience high levels of volatility, the potential for non-permanent losses increases. Essentially, because the mutual fund relative asset values in the liquidity pool could swing dramatically, leading to a higher probability of an impermanent loss.


It is essential for dealers to take into account the underlying volatility of the holdings to whose liquidity exposure it provides exposure. Assets that are extremely volatile can result in a higher volatile loss compared to more stable assets. Thus, awareness of the historic volatility of holdings and general market conditions is important to control the exposure to the possible risks related to non-permanent loss.


Dealing with non-permanent loss in DeFi

Although non-permanent loss is a risk, through analysis and making strategical choices, investors can account for it and act as liquidity suppliers effectively. Experienced traders can manage non-permanent loss efficiently by choosing pools for liquidity supply with care, properly selecting pools, further dividing holdings, and remaining aware of market trends.


Through better knowledge of the way non-permanent losses operate, calculating them using calculators, and analyzing the risks and benefits of liquidity provision, you can successfully navigate the crypto industry.

About the author

Alexander Martavchuk

Alexander Martavchuk, Head of Research, AlfaBit

An economist with 25 years of professional experience and a cryptanalyst. Since 2019, he has led AlfaBit’s analytical department, focusing on fundamental analysis of cryptoassets, tokenomics, macroeconomic research, and on-chain analytics. Previously served as CFO in international trade; private investor since 2015.

Buy cryptocurrency at your desired price

With an AlfaBit account, you can not only exchange cryptocurrency but also trade it

Start trading
start traiding
prev

One AlfaBit account. Fiat and crypto — all in one!

next

CLARITY Act in 3 Minutes for Crypto Investors

Share

telegramvkinstagramfacebookx.comAsk AI about What is non-permanent loss and how to manage it in DeFi liquidity pools
Read AlfaBit News in Telegram
Traiding

Trade cryptocurrency with no commissions or hidden fees

Register an AlfaBit account now and perform trades and exchanges
commission-free for up to 6 months