[Paper Review] UNISWAP: Impermanent Loss and Risk Profile of a Liquidity Provider
This paper provides a rigorous analysis of impermanent loss and risk exposure for liquidity providers (LPs) in Uniswap v2 and v3, deriving an improved impermanent loss function on the semi-infinite price domain. It demonstrates that LPs face significant downside risk when asset prices diverge from their initial deposit ratio, even as they earn trading fees, and highlights key differences in risk exposure between Uniswap v2’s constant product model and v3’s concentrated liquidity mechanism.
Uniswap is a decentralized exchange (DEX) and was first launched on November 2, 2018 on the Ethereum mainnet [1] and is part of an Ecosystem of products in Decentralized Finance (DeFi). It replaces a traditional order book type of trading common on centralized exchanges (CEX) with a deterministic model that swaps currencies (or tokens/assets) along a fixed price function determined by the amount of currencies supplied by the liquidity providers. Liquidity providers can be regarded as investors in the decentralized exchange and earn fixed commissions per trade. They lock up funds in liquidity pools for distinct pairs of currencies allowing market participants to swap them using the fixed price function. Liquidity providers take on market risk as a liquidity provider in exchange for earning commissions on each trade. Here we analyze the risk profile of a liquidity provider and the so called impermanent (unrealized) loss in particular. We provide an improved version of the commonly denoted impermanent loss function for Uniswap v2 on the semi-infinite domain. The differences between Uniswap v2 and v3 are also discussed.
Motivation & Objective
- To quantify the risk profile of liquidity providers in Uniswap, particularly focusing on impermanent loss.
- To derive an improved impermanent loss function for Uniswap v2 on the semi-infinite price domain.
- To compare and contrast the risk exposure of Uniswap v2 and v3, especially regarding liquidity concentration and price volatility.
- To provide a practical guide for becoming a liquidity provider, including transaction cost analysis.
Proposed method
- Uses the constant product market making function x·y = K as the core mechanism for price discovery in Uniswap v2.
- Derives the impermanent loss function by comparing the value of a liquidity provider’s portfolio to a benchmark of holding the underlying assets.
- Introduces a normalized impermanent loss measure ε = (√R - 1)/(√R + 1) where R is the price ratio, improving upon commonly used formulations.
- Analyzes the impact of transaction fees and price volatility on net returns for LPs.
- Compares Uniswap v2 (unconstrained liquidity across all prices) with Uniswap v3 (concentrated liquidity within user-defined price ranges).
- Provides a step-by-step guide to becoming a liquidity provider, including wallet setup, token wrapping (WETH), and fee estimation.
Experimental results
Research questions
- RQ1How does impermanent loss in Uniswap v2 scale with price changes, and what is the precise functional form of this loss?
- RQ2How does the impermanent loss function in Uniswap v2 differ from commonly cited versions, and why is the derived version more accurate?
- RQ3What are the key differences in risk exposure between Uniswap v2 and v3 liquidity providers?
- RQ4How do transaction fees and price volatility affect the net return of a liquidity provider?
- RQ5What is the true cost of becoming a liquidity provider, including on-chain fees and token conversion costs?
Key findings
- The paper derives a refined impermanent loss function ε = (√R - 1)/(√R + 1), which correctly normalizes loss relative to the initial portfolio value and improves upon standard formulations.
- Liquidity providers in Uniswap v2 face asymmetric risk: they lose value when prices diverge from the initial ratio, even if they earn fees, due to the constant product mechanism.
- Uniswap v3 reduces impermanent loss risk for LPs who can accurately predict price ranges, as liquidity is concentrated within user-defined bounds.
- The total cost of becoming a liquidity provider—including token conversion, wrapping, and deposit fees—can reach 1.25% of the initial portfolio value, which exceeds the weekly fee return in some cases.
- Despite high fee returns (e.g., 1.5% weekly on ETH-USDC pool), LPs are exposed to significant impermanent loss if asset prices move sharply.
- The paper confirms that Uniswap v2 acts as a price oracle due to efficient arbitrage, ensuring fair pricing across the network.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.