IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2302.11652.html
   My bibliography  Save this paper

Complexity-Approximation Trade-offs in Exchange Mechanisms: AMMs vs. LOBs

Author

Listed:
  • Jason Milionis
  • Ciamac C. Moallemi
  • Tim Roughgarden

Abstract

This paper presents a general framework for the design and analysis of exchange mechanisms between two assets that unifies and enables comparisons between the two dominant paradigms for exchange, constant function market markers (CFMMs) and limit order books (LOBs). In our framework, each liquidity provider (LP) submits to the exchange a downward-sloping demand curve, specifying the quantity of the risky asset it wishes to hold at each price; the exchange buys and sells the risky asset so as to satisfy the aggregate submitted demand. In general, such a mechanism is budget-balanced and enables price discovery. Different exchange mechanisms correspond to different restrictions on the set of acceptable demand curves. The primary goal of this paper is to formalize an approximation-complexity trade-off that pervades the design of exchange mechanisms. For example, CFMMs give up expressiveness in favor of simplicity: the aggregate demand curve of the LPs can be described using constant space, but most demand curves cannot be well approximated by any function in the corresponding single-dimensional family. LOBs, intuitively, make the opposite trade-off: any downward-slowing demand curve can be well approximated by a collection of limit orders, but the space needed to describe the state of a LOB can be large. This paper introduces a general measure of {\em exchange complexity}, defined by the minimal set of basis functions that generate, through their conical hull, all of the demand functions allowed by an exchange. With this complexity measure in place, we investigate the design of {\em optimally expressive} exchange mechanisms, meaning the lowest complexity mechanisms that allow for arbitrary downward-sloping demand curves to be well approximated. As a case study, we interpret the complexity-approximation trade-offs in the widely-used Uniswap v3 AMM through the lens of our framework.

Suggested Citation

  • Jason Milionis & Ciamac C. Moallemi & Tim Roughgarden, 2023. "Complexity-Approximation Trade-offs in Exchange Mechanisms: AMMs vs. LOBs," Papers 2302.11652, arXiv.org, revised Apr 2023.
  • Handle: RePEc:arx:papers:2302.11652
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2302.11652
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Maxim Bichuch & Zachary Feinstein, 2022. "Axioms for Automated Market Makers: A Mathematical Framework in FinTech and Decentralized Finance," Papers 2210.01227, arXiv.org, revised Sep 2024.
    2. Agostino Capponi & Ruizhe Jia, 2021. "The Adoption of Blockchain-based Decentralized Exchanges," Papers 2103.08842, arXiv.org, revised Jul 2021.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Guillermo Angeris & Tarun Chitra & Theo Diamandis & Alex Evans & Kshitij Kulkarni, 2023. "The Geometry of Constant Function Market Makers," Papers 2308.08066, arXiv.org.
    2. Andrew W. Macpherson, 2024. "Do backrun auctions protect traders?," Papers 2401.08302, arXiv.org.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Roger Lee, 2023. "All AMMs are CFMMs. All DeFi markets have invariants. A DeFi market is arbitrage-free if and only if it has an increasing invariant," Papers 2310.09782, arXiv.org, revised Dec 2023.
    2. Hamed Amini & Maxim Bichuch & Zachary Feinstein, 2023. "Decentralized Prediction Markets and Sports Books," Papers 2307.08768, arXiv.org, revised May 2024.
    3. Annetta Ho & Cosmin Cazan & Andrew Schrumm, 2024. "The Ecology of Automated Market Makers," Discussion Papers 2024-12, Bank of Canada.
    4. Georg Menz & Moritz Vo{ss}, 2023. "Aggregation of financial markets," Papers 2309.04116, arXiv.org, revised Sep 2024.
    5. Raphael Auer & Bernhard Haslhofer & Stefan Kitzler & Pietro Saggese & Friedhelm Victor, 2024. "The technology of decentralized finance (DeFi)," Digital Finance, Springer, vol. 6(1), pages 55-95, March.
    6. Maxim Bichuch & Zachary Feinstein, 2022. "Axioms for Automated Market Makers: A Mathematical Framework in FinTech and Decentralized Finance," Papers 2210.01227, arXiv.org, revised Sep 2024.
    7. Chemaya, Nir & Liu, Dingyue, 2024. "The suitability of using Uniswap V2 model to analyze V3 data," Finance Research Letters, Elsevier, vol. 59(C).
    8. Alfred Lehar & Christine Parlour & Marius Zoican, 2023. "Fragmentation and optimal liquidity supply on decentralized exchanges," Papers 2307.13772, arXiv.org, revised May 2024.
    9. Kenan Wood & Maurice Herlihy & Hammurabi Mendes & Jonad Pulaj, 2024. "Expiring Assets in Automated Market Makers," Papers 2401.04289, arXiv.org.
    10. Jonathan Chiu & Charles M. Kahn & Thorsten V. Koeppl, 2022. "Grasping decentralized finance through the lens of economic theory," Canadian Journal of Economics/Revue canadienne d'économique, John Wiley & Sons, vol. 55(4), pages 1702-1728, November.
    11. Philippe Bergault & Louis Bertucci & David Bouba & Olivier Gu'eant, 2022. "Automated Market Makers: Mean-Variance Analysis of LPs Payoffs and Design of Pricing Functions," Papers 2212.00336, arXiv.org, revised Nov 2023.
    12. Nikolaus Hautsch & Christoph Scheu & Stefan Voigt, 2024. "Building trust takes time: limits to arbitrage for blockchain-based assets," Review of Finance, European Finance Association, vol. 28(4), pages 1345-1381.
    13. Brolley, Michael & Zoican, Marius, 2023. "On-demand fast trading on decentralized exchanges," Finance Research Letters, Elsevier, vol. 51(C).
    14. Peplluis R. Esteva & Andrés El-Fakdi & Alberto Ballesteros-Rodríguez, 2023. "Invoice Discounting Using Kelly Criterion by Automated Market Makers-like Implementations," Mathematics, MDPI, vol. 11(7), pages 1-37, March.
    15. Andrea Canidio, 2023. "Auctions with Tokens: Monetary Policy as a Mechanism Design Choice," Papers 2301.13794, arXiv.org, revised Aug 2023.
    16. Ariah Klages-Mundt & Steffen Schuldenzucker, 2022. "Designing Autonomous Markets for Stablecoin Monetary Policy," Papers 2212.12398, arXiv.org.
    17. Basile Caparros & Amit Chaudhary & Olga Klein, 2023. "Blockchain scaling and liquidity concentration on decentralized exchanges," Papers 2306.17742, arXiv.org, revised Mar 2024.
    18. Andrea Barbon & Angelo Ranaldo, 2021. "On The Quality Of Cryptocurrency Markets: Centralized Versus Decentralized Exchanges," Papers 2112.07386, arXiv.org, revised Sep 2024.
    19. Austin Adams, 2024. "Layer 2 be or Layer not 2 be: Scaling on Uniswap v3," Papers 2403.09494, arXiv.org, revised Mar 2024.
    20. Andrea Canidio & Vincent Danos, 2023. "Commitment Against Front Running Attacks," Papers 2301.13785, arXiv.org, revised Jul 2023.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2302.11652. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.