Leggi questo articolo in Italiano Italiano

5 min read

Impermanent loss: what it is and how to deal with it

By Gabriele Brambilla

Fearsome enemy of liquidity providers, impermanent loss can cause huge losses to cryptocurrency investors' gains

Impermanent loss: what it is and how to deal with it

Impermanent loss: the “invisible” threat of liquidity pools

If you are thinking of going into DeFi, you must know one of its main risks: impermanent loss.

You may have seen certain platforms called AMMs, among which Uniswap, PancakeSwap, and Beefy stand out, for example.

They enable the buying and selling of tokens and coins in a different way than a traditional exchange.

In the latter, sellers and buyers interact through the order book: the bitcoins I go to sell will be bought by someone or vice versa.

In contrast, AMMs base their operation on liquidity pools, i.e., “pools” containing funds of two or more currencies. These make it possible to buy and sell without necessarily having to “deal” with another live player.

The pools are “filled” by users who wish to deposit their tokens, earning a passive income from the commissions the platform charges on trades.
This operation generates good returns and is definitely attractive. At the same time, however, there are several risks.

In addition to the classic ones of DeFi, an important critical issue is the impermanent loss, one of the aspects to pay most attention to when becoming a liquidity provider.

Before we get to know this enemy, let’s look at the meaning of a few key terms for understanding.

LP, AMM and LP tokens: small glossary

TOKEN LP

By pouring two (or more) tokens into a pool, we obtain a so-called Token LP. It maintains a ratio between the two tokens (usually 50% and 50%) weighted in dollars or other traditional currency.

Since it is a decentralized pool, the value changes according to the arbitrage that maintains the balance between the pool’s assets.

When it is rebalanced, some of our gain may be eroded if either token has moved away from the initial ratio. If things are not clear, no problem: we will see an example in the next section.

AMM: AUTOMATED MARKET MAKER

Turning to AMMs, these are decentralized protocols that, by pooling liquidity in a pool, allow anyone to provide tokens in exchange for part of the fees required to exchange them.

Uniswap, for example, asks users for 0.3 percent fees to make swaps, which are immediately turned over to Liquidity Providers as a reward. In this way, people are incentivized to provide liquidity, thus keeping the coin swapping process stable.

LP: LIQUIDITY PROVIDER

Liquidity provider is anyone who, by providing two different tokens or more, adds liquidity to a pool that is managed by the protocol to execute swaps.
If the platform has many transactions on a given pair this results in higher rewards.
Often high rewards also result from low liquidity in the pool. In this case, in addition to the high risk of impermanent loss, there is also the danger of losing some of the funds paid in.

Caution is therefore a must!

What is impermanent loss? Definition impermanent loss

The impermanent loss is the loss we might incur by providing liquidity compared to simply holding.

The price of individual tokens over the holding period (from when we stake to unstake the LP token) impacts the amount of tokens we would have had in the wallet if we had held the same tokens.

How does the impermanent loss work? Here is an example to better understand:

If 1 ETH (Ethereum) was worth $4000 and we had $4000, wanting to be an LP (liquidity provider) in the ETH/USDC pool (stablecoin) we would go and deposit 0.5 ETH and 2000 USDC. This is because we generally need to maintain the 50:50 ratio in the value of the tokens (0.5 ETH = $2000 and 2000 USDC = $2000).

If ETH were to rise to $8000, withdrawing our liquidity we would have $5650 (0.34 ETH and 2828 USDC). This is due to arbitrage: having to maintain the 50:50 ratio, the pool was modified accordingly, decreasing the number of ETH (now more valuable) and increasing USDC (remained unchanged).
In the hold case we would have obtained $6000 (0.5 ETH and 2000 USDC). In this case the impermanent loss would be at 5.7%.

In fact, we generated a gain but it could have been higher if we had not joined the pool.

The impermanent loss is called this because it is not permanent until we withdraw funds: if ETH were to fall in value, the pool would change and the number of ETH would go up.
In contrast, if we withdraw after major price changes in an asset, the coins would return to our hands and the impermanent loss would become permanent instead.

"Risk impermanent loss or hold? That is the dilemma!"

How to avoid impermanent loss?

Is there a way to eliminate the risk of impermanent loss?

A viable solution comes from pools of equal tokens, such as SOL-mSOL. The former is Solana‘s coin, the latter a synthetic pegged to its price. By doing so, the impermanent loss becomes almost nonexistent.

Equally good is the choice of pools on stablecoin. An example? On the 3pool on Curve, you can put DAI/USDT/USDC. Having the value pegged at $1, it is very difficult to suffer any noteworthy losses: one of the coins would have to lose the peg and undergo large fluctuations, a rather unlikely event.

There are no other solutions, except to keep the trend monitored and withdraw the LP tokens in case a very bullish phase of one of the coins in the pool goes on.

"Some pools make it possible to eliminate or minimize the risk of impermanent loss"

Impermanent loss: never let your guard down!

The impermanent loss is one of the aspects worthy of most attention before providing liquidity to a pool: the risk of erosion of the initial investment could potentially go so far as to make this operation inadvisable.

Only by knowing the dynamics behind the different strategies can we improve our management and control of the platforms and protect our investment.

It is therefore imperative to stay informed, follow coin trends, and be ready to intervene if necessary.

Have you experienced impermanent loss? How do you take action to limit this risk? Tell us about it on our social channels!


X

Vuoi essere sempre sul pezzo?

Iscriviti alla newsletter per ricevere approfondimenti esclusivi e analisi ogni settimana.

Se ti iscrivi c’è un regalo per te!

bitcoin
Bitcoin (BTC) $ 67,921.20
ethereum
Ethereum (ETH) $ 2,638.69
tether
Tether (USDT) $ 0.999670
bnb
BNB (BNB) $ 598.07
solana
Solana (SOL) $ 153.77
usd-coin
USDC (USDC) $ 1.00
xrp
XRP (XRP) $ 0.550720
staked-ether
Lido Staked Ether (STETH) $ 2,637.16
dogecoin
Dogecoin (DOGE) $ 0.134787
tron
TRON (TRX) $ 0.159067
the-open-network
Toncoin (TON) $ 5.22
cardano
Cardano (ADA) $ 0.347513
avalanche-2
Avalanche (AVAX) $ 27.68
shiba-inu
Shiba Inu (SHIB) $ 0.000019
wrapped-steth
Wrapped stETH (WSTETH) $ 3,115.45
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 67,764.16
weth
WETH (WETH) $ 2,638.58
bitcoin-cash
Bitcoin Cash (BCH) $ 373.39
chainlink
Chainlink (LINK) $ 11.45
polkadot
Polkadot (DOT) $ 4.25
dai
Dai (DAI) $ 0.999869
near
NEAR Protocol (NEAR) $ 4.80
sui
Sui (SUI) $ 2.06
leo-token
LEO Token (LEO) $ 6.12
uniswap
Uniswap (UNI) $ 7.49
litecoin
Litecoin (LTC) $ 72.28
aptos
Aptos (APT) $ 9.96
pepe
Pepe (PEPE) $ 0.000010
wrapped-eeth
Wrapped eETH (WEETH) $ 2,768.03
bittensor
Bittensor (TAO) $ 580.13
internet-computer
Internet Computer (ICP) $ 7.87
fetch-ai
Artificial Superintelligence Alliance (FET) $ 1.40
kaspa
Kaspa (KAS) $ 0.126285
monero
Monero (XMR) $ 158.13
ethereum-classic
Ethereum Classic (ETC) $ 19.21
stellar
Stellar (XLM) $ 0.095798
blockstack
Stacks (STX) $ 1.90
polygon-ecosystem-token
POL (ex-MATIC) (POL) $ 0.369200
first-digital-usd
First Digital USD (FDUSD) $ 1.00
dogwifcoin
dogwifhat (WIF) $ 2.64
immutable-x
Immutable (IMX) $ 1.52
whitebit
WhiteBIT Coin (WBT) $ 17.09
ethena-usde
Ethena USDe (USDE) $ 0.999572
okb
OKB (OKB) $ 40.25
aave
Aave (AAVE) $ 156.27
filecoin
Filecoin (FIL) $ 3.69
injective-protocol
Injective (INJ) $ 21.93
optimism
Optimism (OP) $ 1.70
render-token
Render (RENDER) $ 5.37
crypto-com-chain
Cronos (CRO) $ 0.077743