Strategic Liquidity Provision in Uniswap V3

Authors Zhou Fan, Francisco Marmolejo-Cossio, Daniel Moroz, Michael Neuder, Rithvik Rao, David C. Parkes



PDF
Thumbnail PDF

File

LIPIcs.AFT.2023.25.pdf
  • Filesize: 1.17 MB
  • 22 pages

Document Identifiers

Author Details

Zhou Fan
  • Harvard University, Cambridge, MA, USA
Francisco Marmolejo-Cossio
  • Harvard University, Cambridge, MA, USA
  • IOG, USA
Daniel Moroz
  • Harvard University, Cambridge, MA, USA
Michael Neuder
  • Harvard University, Cambridge, MA, USA
Rithvik Rao
  • Harvard University, Cambridge, MA, USA
David C. Parkes
  • Harvard University, Cambridge, MA, USA

Cite AsGet BibTex

Zhou Fan, Francisco Marmolejo-Cossio, Daniel Moroz, Michael Neuder, Rithvik Rao, and David C. Parkes. Strategic Liquidity Provision in Uniswap V3. In 5th Conference on Advances in Financial Technologies (AFT 2023). Leibniz International Proceedings in Informatics (LIPIcs), Volume 282, pp. 25:1-25:22, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2023)
https://doi.org/10.4230/LIPIcs.AFT.2023.25

Abstract

Uniswap v3 is the largest decentralized exchange for digital currencies. A novelty of its design is that it allows a liquidity provider (LP) to allocate liquidity to one or more closed intervals of the price of an asset instead of the full range of possible prices. An LP earns fee rewards proportional to the amount of its liquidity allocation when prices move in this interval. This induces the problem of strategic liquidity provision: smaller intervals result in higher concentration of liquidity and correspondingly larger fees when the price remains in the interval, but with higher risk as prices may exit the interval leaving the LP with no fee rewards. Although reallocating liquidity to new intervals can mitigate this loss, it comes at a cost, as LPs must expend gas fees to do so. We formalize the dynamic liquidity provision problem and focus on a general class of strategies for which we provide a neural network-based optimization framework for maximizing LP earnings. We model a single LP that faces an exogenous sequence of price changes that arise from arbitrage and non-arbitrage trades in the decentralized exchange. We present experimental results informed by historical price data that demonstrate large improvements in LP earnings over existing allocation strategy baselines. Moreover we provide insight into qualitative differences in optimal LP behaviour in different economic environments.

Subject Classification

ACM Subject Classification
  • Computing methodologies → Modeling methodologies
  • Computing methodologies → Neural networks
Keywords
  • blockchain
  • decentralized finance
  • Uniswap v3
  • liquidity provision
  • stochastic gradient descent

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Hayden Adams. Uniswap whitepaper, 2018. URL: https://hackmd.io/@HaydenAdams/HJ9jLsfTz.
  2. Hayden Adams, Noah Zinsmeister, and Dan Robinson. Uniswap v2 core, 2020. URL: https://uniswap.org/whitepaper.pdf.
  3. Hayden Adams, Noah Zinsmeister, Moody Salem, River Keefer, and Dan Robinson. Uniswap v3 core, 2021. URL: https://uniswap.org/whitepaper-v3.pdf.
  4. Guillermo Angeris and Tarun Chitra. Improved price oracles: Constant function market makers. In Proceedings of the 2nd ACM Conference on Advances in Financial Technologies, pages 80-91, 2020. Google Scholar
  5. Guillermo Angeris, Alex Evans, and Tarun Chitra. When does the tail wag the dog? Curvature and market making. arXiv preprint arXiv:2012.08040, 2020. Google Scholar
  6. Guillermo Angeris, Hsien-Tang Kao, Rei Chiang, Charlie Noyes, and Tarun Chitra. An analysis of Uniswap markets. arXiv preprint arXiv:1911.03380, 2019. Google Scholar
  7. Jun Aoyagi. Lazy liquidity in automated market making. Available at SSRN 3674178, 2020. Google Scholar
  8. Kenneth Joseph Arrow. Aspects of the theory of risk-bearing. Helsinki, 1965. Google Scholar
  9. Yogev Bar-On and Yishay Mansour. Uniswap liquidity provision: An online learning approach. arXiv preprint arXiv:2302.00610, 2023. Google Scholar
  10. Agostino Capponi and Ruizhe Jia. The adoption of blockchain-based decentralized exchanges. arXiv preprint arXiv:2103.08842, 2021. Google Scholar
  11. Álvaro Cartea, Fayçal Drissi, and Marcello Monga. Decentralised finance and automated market making: Predictable loss and optimal liquidity provision. Available at SSRN 4273989, 2022. Google Scholar
  12. Alex Evans. Liquidity provider returns in geometric mean markets. arXiv preprint arXiv:2006.08806, 2020. Google Scholar
  13. Alex Evans, Guillermo Angeris, and Tarun Chitra. Optimal fees for geometric mean market makers. arXiv preprint arXiv:2104.00446, 2021. Google Scholar
  14. Zhou Fan, Francisco J. Marmolejo Cossío, Ben Altschuler, He Sun, Xintong Wang, and David C. Parkes. Differential liquidity provision in Uniswap v3 and implications for contract design. In 3rd ACM International Conference on AI in Finance, ICAIF, pages 9-17, 2022. Google Scholar
  15. Rafael Frongillo, Maneesha Papireddygari, and Bo Waggoner. An axiomatic characterization of CFMMs and equivalence to prediction markets. arXiv preprint arXiv:2302.00196, 2023. Google Scholar
  16. Mohak Goyal, Geoffrey Ramseyer, Ashish Goel, and David Mazières. Finding the right curve: Optimal design of constant function market makers. arXiv preprint arXiv:2212.03340, 2022. Google Scholar
  17. Lioba Heimbach, Eric Schertenleib, and Roger Wattenhofer. Risks and returns of Uniswap v3 liquidity providers. arXiv preprint arXiv:2205.08904, 2022. Google Scholar
  18. Max. Introducing Alpha Vaults-an LP strategy for Uniswap V3, 2021. URL: https://medium.com/charmfinance/introducing-alpha-vaults-an-lp-strategy-for-uniswap-v3-ebf500b67796.
  19. Jason Milionis, Ciamac C Moallemi, and Tim Roughgarden. A Myersonian framework for optimal liquidity provision in automated market makers. arXiv preprint arXiv:2303.00208, 2023. Google Scholar
  20. Jason Milionis, Ciamac C Moallemi, Tim Roughgarden, and Anthony Lee Zhang. Automated market making and loss-versus-rebalancing. arXiv preprint arXiv:2208.06046, 2022. Google Scholar
  21. Michael Neuder, Rithvik Rao, Daniel J Moroz, and David C Parkes. Strategic liquidity provision in uniswap v3. arXiv preprint arXiv:2106.12033, 2021. Google Scholar
  22. John W Pratt. Risk aversion in the small and in the large. Econometrica, 32:122-136, 1964. Google Scholar
  23. Jan Christoph Schlegel, Mateusz Kwaśnicki, and Akaki Mamageishvili. Axioms for constant function market makers. Available at SSRN, 2022. Google Scholar
  24. Martin Tassy and David White. Growth rate of a liquidity provider’s wealth in xy = c automated market makers, 2020. Google Scholar
  25. Dave White, Martin Tassy, Charlie Noyes, and Dan Robinson. Uniswap’s financial alchemy, 2020. URL: https://research.paradigm.xyz/uniswaps-alchemy.
  26. Wenqi Zhao, Hui Li, and Yuming Yuan. Understand volatility of Algorithmic Stablecoin: Modeling, verification and empirical analysis. In Financial Cryptography and Data Security, volume 12676 of Lecture Notes in Computer Science, pages 97-108. Springer, 2021. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail