Impermanent Loss: What Is It, Why It Happens, Mitigation Strategies (2024)

Impermanent loss refers to a temporary unrealized loss of capital value that arises when providing liquidity to AMM protocols. In its simplest form, impermanent loss is the difference in value between holding your assets versus utilizing the assets to market make and earn yield. Impermanent loss occurs due to the fact that liquidity pool token ratios are constantly changing according to trades against it.

In AMM DEXs, Liquidity Providers (LP) contribute funds to a liquidity pool, which then allows users to buy and sell a particular asset on a decentralized exchange (DEX). The liquidity provider earns a share of the trading fees generated by the DEX in return for their market making liquidity contribution. However, the value of the assets in the liquidity pool can and will fluctuate over time due to buying/selling activity against the pool which changes the pool’s original liquidity balance.

As a result, the total value of the liquidity provided by the LP could decrease relative to the potential value had the LP held their assets and chosen not to participate in the liquidity pool in the first place. This temporary reduction of capital value is known as Impermanent Loss.

It is important to note that impermanent loss is not a guaranteed outcome and can be mitigated through proper risk management strategies, such as diversifying the assets in the liquidity pool or rebalancing the pool regularly. Additionally, some DeFi protocols offer mechanisms to compensate liquidity providers for impermanent loss, such as Yield Farming rewards.

DEFI/DEX Aggregators: An Introduction to Liquidity Optimisation

Automated Market Makers: Explained In 5 Minutes

For ease of understanding, the example below builds upon the example in the AMM explainer. It is highly recommended that you read through the AMM example section first to understand how liquidity pools handles trades as well as liquidity additions/removals. Having knowledge of the above will make understanding impermanent loss much easier.

Impermanent Loss: What Is It, Why It Happens, Mitigation Strategies (2)

1. Existing ETH/USDT Pool

There is an initial ETH/USDT pool with a 50:50 ratio of the following token amounts:

  • ETH: 100
  • USDT: 200,000

Based on the constant product formula detailed in the AMM example, the constant for the pool is now 20,000,000 (i.e. Pool ETH Tokens x USDT Tokens).

2. LP Adds Liquidity

An LP decides to add 5 ETH and the corresponding amount of 10,000 USDT (i.e. 1 ETH = 2,000 USDT) to the pool. Notice that the pool’s token balances increase with the pool constant also increasing by the corresponding amount. Critically, the ETH:USDT ratio in the pool remains the same.

With this addition, the LP owns 4.76% of the pool’s liquidity (5/105 or 10,000/210000). This is represented by a LP Token which is returned to the liquidity provider.

3. Trader Purchases ETH

Following the LP’s liquidity contribution, a trader buys 5 ETH from the pool. Using our constant product formula, the trader sends 10,500 USDT to the pool in exchange for 5 ETH. The ETH is withdrawn from the pool and transferred to the Trader while the Trader’s USDT is added to the pool.

Notice that the ETH;USDT ratio of the pool changes with 1ETH now being worth more USDT after the trade. The LP’s proportion of pool liquidity still remains the same at 4.76%. Critically, the pool’s constant remains unchanged throughout the trade.

4. LP Withdraws Liquidity

After the trade, the LP then decides to withdraw their liquidity from the pool. As the pool ratio has changed due to the trade, we can then compare the total value of the LP’s position (4.76% of pool per step 2) before and after the trade.

Impermanent Loss: What Is It, Why It Happens, Mitigation Strategies (3)

To see the impermanent loss, we will have to compare the value after the trade to the value of the position if the LP had just held on to the initial 5 ETH and 10,000 USDT. Notice that if the LP had just held onto both tokens, the total value of his tokens would be 25 USD more (21,025.00–21,000) than if his tokens were provided to the liquidity pool. This 25 USD shortfall is what is known as impermanent loss.

As per deposits into the pool, the pool’s constant value is also decremented by the corresponding withdrawal amount.

If every trade results in impermanent loss for the LP, why would LPs be incentivized to take on the impermanent loss risks given the nominal fees? The answer to this lies in the fact that liquidity pools do not exist in isolation as there are many external token exchanges, each with their own token pair price. If the pool price rises above the market price, arbitrage opportunities will result in the rebalancing of the pool and vice versa. Through this rebalancing, LPs earn fees from both the initial trade as well as the arbitrage trade.

In effect, arbitrageurs are a critical component of the AMM design ensuring that the pool always rebalances itself. It is this period between pool rebalancing which results in such losses being termed “impermanent”. If the pool returns back to the initial ratio, LPs will be able to withdraw the same amount of tokens added with the additional fees accrued from providing liquidity.

Nevertheless, this impermanent loss risk can become permanent if token pair valuations diverge significantly from each other and never reapproaches the initial ratio when liquidity was added. This is more likely to happen for less correlated token pairs and hence higher trading fees are required in order to offset the impermanent loss risks. This is the reason why pool trading fees tends to be in line with token correlation.

While impermanent loss (IL) can be very intimidating for LPs, it is critical to frame it in the context of market making. In this light, IL effectively compares a theoretical best case scenario against actual market performance.

Trades against an AMM are automated hence by consenting to provide liquidity, you are always taking the flip side of a swap initiated by a trader. That is, the trader only chooses to execute the trade if they think that they are exchanging a lower valued token for a higher valued token. In short, any trades against your liquidity will always result in IL.

IL is therefore a natural outcome of the market making process whereby yield can only be generated by taking on the market risk that prices permanently deviates from the initial price. Put simply, the trading fee is a premium that is charged to traders for taking on price volatility risks.

As a LP, the most important question is whether the fees and rewards generated will be sufficient to cover the expected IL for your selected duration. This means having a reasonable conviction that prices will rebound and having the patience to wait until the right time to realize any market making profits.

Impermanent Loss: What Is It, Why It Happens, Mitigation Strategies (2024)
Top Articles
Inflation Rate between 1981-2019 | Canada Inflation Calculator
The History Behind Kraft Heinz Co.
What Are Romance Scams and How to Avoid Them
Nfr Daysheet
Rainbird Wiring Diagram
Shorthand: The Write Way to Speed Up Communication
Geodis Logistic Joliet/Topco
RuneScape guide: Capsarius soul farming made easy
Fototour verlassener Fliegerhorst Schönwald [Lost Place Brandenburg]
Lowes 385
Seth Juszkiewicz Obituary
Prices Way Too High Crossword Clue
Simple Steamed Purple Sweet Potatoes
Nexus Crossword Puzzle Solver
George The Animal Steele Gif
Lonadine
Craigslist Deming
735 Reeds Avenue 737 & 739 Reeds Ave., Red Bluff, CA 96080 - MLS# 20240686 | CENTURY 21
Uc Santa Cruz Events
Commodore Beach Club Live Cam
Elemental Showtimes Near Cinemark Flint West 14
Is Grande Internet Down In My Area
E22 Ultipro Desktop Version
Reborn Rich Kissasian
Jobs Hiring Near Me Part Time For 15 Year Olds
Chamberlain College of Nursing | Tuition & Acceptance Rates 2024
Spiritual Meaning Of Snake Tattoo: Healing And Rebirth!
Aes Salt Lake City Showdown
Craigslist Northern Minnesota
950 Sqft 2 BHK Villa for sale in Devi Redhills Sirinium | Red Hills, Chennai | Property ID - 15334774
Imagetrend Elite Delaware
Free Tiktok Likes Compara Smm
Red Sox Starting Pitcher Tonight
Kaiserhrconnect
Culver's Hartland Flavor Of The Day
Golden Tickets
W B Crumel Funeral Home Obituaries
Cox Outage in Bentonville, Arkansas
“Los nuevos desafíos socioculturales” Identidad, Educación, Mujeres Científicas, Política y Sustentabilidad
Tyler Perry Marriage Counselor Play 123Movies
Dragon Ball Super Super Hero 123Movies
Sallisaw Bin Store
R: Getting Help with R
Craigslist Com St Cloud Mn
Yale College Confidential 2027
Senior Houses For Sale Near Me
Spreading Unverified Info Crossword Clue
Cvs Minute Clinic Women's Services
Kenmore Coldspot Model 106 Light Bulb Replacement
Famous Dave's BBQ Catering, BBQ Catering Packages, Handcrafted Catering, Famous Dave's | Famous Dave's BBQ Restaurant
Latest Posts
Article information

Author: Domingo Moore

Last Updated:

Views: 6188

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Domingo Moore

Birthday: 1997-05-20

Address: 6485 Kohler Route, Antonioton, VT 77375-0299

Phone: +3213869077934

Job: Sales Analyst

Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.