EconPapers    
Economics at your fingertips  
 

Uniswap v3: impermanent loss modeling and swap fees asymptotic analysis

Mnacho Echenim (), Emmanuel Gobet () and Anne-Claire Maurice ()
Additional contact information
Mnacho Echenim: LIG - Laboratoire d'Informatique de Grenoble - Inria - Institut National de Recherche en Informatique et en Automatique - CNRS - Centre National de la Recherche Scientifique - UGA - Université Grenoble Alpes - Grenoble INP - Institut polytechnique de Grenoble - Grenoble Institute of Technology - UGA - Université Grenoble Alpes, CAPP - Calculs algorithmes programmes et preuves - LIG - Laboratoire d'Informatique de Grenoble - Inria - Institut National de Recherche en Informatique et en Automatique - CNRS - Centre National de la Recherche Scientifique - UGA - Université Grenoble Alpes - Grenoble INP - Institut polytechnique de Grenoble - Grenoble Institute of Technology - UGA - Université Grenoble Alpes
Emmanuel Gobet: CMAP - Centre de Mathématiques Appliquées de l'Ecole polytechnique - Inria - Institut National de Recherche en Informatique et en Automatique - X - École polytechnique - IP Paris - Institut Polytechnique de Paris - CNRS - Centre National de la Recherche Scientifique
Anne-Claire Maurice: Kaiko [Paris]

Working Papers from HAL

Abstract: Automated Market Makers have emerged quite recently, and Uniswap is one of the most widely used platforms (it covers 60% of the total value locked on Ethereum blockchain at the time of writing this article). This protocol is challenging from a quantitative point of view, as it allows participants to choose where they wish to concentrate liquidity. There has been an increasing number of research papers on Uniswap v3 but often, these articles use heuristics or approximations that can be far from reality: for instance, the liquidity in the pool is sometimes assumed to be constant over time, which contradicts the mechanism of the protocol. The ob- jectives of this work are fourfold: first, to revisit Uniswap v3's principles in detail (starting from the open source code) to build an unambiguous knowledge base. Second, to analyze the Im- permanent Loss of a liquidity provider by detailing its evolution, with no assumption on the swap trades or liquidity events that occur over the time period. Third, we introduce the notion of a liquidity curve. For each curve, we can construct a payoff at a given maturity, net of fees. Conversely, we show how any concave payoff can be synthetized by an initial liquidity curve and some tokens outside the pool; this paves the way for using Uniswap v3 to create options. Fourth, we analyze the asymptotic behavior of collected fees without any simplifying hypoth- esis (like a constant liquidity), under the mild assumption that the pool price coincides with a latent price (general Ito process) every time the latter changes by γ%. The asymptotic analysis is conducted as γ → 0. The value of the collected fees then coincides with an integral of call and put prices. Our derivations are supported by graphical illustrations and experiments.

Keywords: Automated Market Makers; modeling mechanisms; profit and loss analysis (search for similar items in EconPapers)
Date: 2025-01-30
Note: View the original document on HAL open archive server: https://hal.science/hal-04214315v3
References: Add references at CitEc
Citations:

Downloads: (external link)
https://hal.science/hal-04214315v3/document (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:hal:wpaper:hal-04214315

Access Statistics for this paper

More papers in Working Papers from HAL
Bibliographic data for series maintained by CCSD ().

 
Page updated 2025-04-07
Handle: RePEc:hal:wpaper:hal-04214315