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

Decentralised Finance and Automated Market Making: Execution and Speculation

Author

Listed:
  • 'Alvaro Cartea
  • Fayc{c}al Drissi
  • Marcello Monga

Abstract

Automated market makers (AMMs) are a new prototype of trading venues which are revolutionising the way market participants interact. At present, the majority of AMMs are constant function market makers (CFMMs) where a deterministic trading function determines how markets are cleared. A distinctive characteristic of CFMMs is that execution costs are given by a closed-form function of price, liquidity, and transaction size. This gives rise to a new class of trading problems. We focus on constant product market makers and show how to optimally trade a large position in an asset and how to execute statistical arbitrages based on market signals. We employ stochastic optimal control tools to devise two strategies. One strategy is based on the dynamics of prices in competing venues and assumes constant liquidity in the AMM. The other strategy assumes that AMM prices are efficient and liquidity is stochastic. We use Uniswap v3 data to study price, liquidity, and trading cost dynamics, and to motivate the models. Finally, we perform consecutive runs of in-sample estimation of model parameters and out-of-sample liquidation and arbitrage strategies to showcase the performance of the strategies.

Suggested Citation

  • 'Alvaro Cartea & Fayc{c}al Drissi & Marcello Monga, 2023. "Decentralised Finance and Automated Market Making: Execution and Speculation," Papers 2307.03499, arXiv.org.
  • Handle: RePEc:arx:papers:2307.03499
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Jonathan Chiu & Thorsten V Koeppl, 2019. "Blockchain-Based Settlement for Asset Trading," The Review of Financial Studies, Society for Financial Studies, vol. 32(5), pages 1716-1753.
    2. Philippe Bergault & Fayçal Drissi & Olivier Guéant, 2022. "Multi-asset Optimal Execution and Statistical Arbitrage Strategies under Ornstein--Uhlenbeck Dynamics," Post-Print hal-03885142, HAL.
    3. Philippe Bergault & Fayçal Drissi & Olivier Guéant, 2022. "Multi-asset Optimal Execution and Statistical Arbitrage Strategies under Ornstein--Uhlenbeck Dynamics," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) hal-03680071, HAL.
    4. Philippe Bergault & Fayçal Drissi & Olivier Guéant, 2022. "Multi-asset Optimal Execution and Statistical Arbitrage Strategies under Ornstein--Uhlenbeck Dynamics," Post-Print hal-03680071, HAL.
    5. Alvaro Cartea & Luhui Gan & Sebastian Jaimungal, 2018. "Trading Cointegrated Assets with Price Impact," Papers 1807.01428, arXiv.org.
    6. Charles-Albert Lehalle & Eyal Neuman, 2019. "Incorporating signals into optimal trading," Finance and Stochastics, Springer, vol. 23(2), pages 275-311, April.
    7. Lioba Heimbach & Ye Wang & Roger Wattenhofer, 2021. "Behavior of Liquidity Providers in Decentralized Exchanges," Papers 2105.13822, arXiv.org, revised Oct 2021.
    8. Philippe Bergault & Fayc{c}al Drissi & Olivier Gu'eant, 2021. "Multi-asset optimal execution and statistical arbitrage strategies under Ornstein-Uhlenbeck dynamics," Papers 2103.13773, arXiv.org, revised Mar 2022.
    9. Álvaro Cartea & Ryan Donnelly & Sebastian Jaimungal, 2018. "Enhancing trading strategies with order book signals," Applied Mathematical Finance, Taylor & Francis Journals, vol. 25(1), pages 1-35, January.
    10. Martin Forde & Leandro Sánchez-Betancourt & Benjamin Smith, 2022. "Optimal trade execution for Gaussian signals with power-law resilience," Quantitative Finance, Taylor & Francis Journals, vol. 22(3), pages 585-596, March.
    11. Christoph Belak & Johannes Muhle-Karbe & Kevin Ou, 2018. "Optimal Trading with General Signals and Liquidation in Target Zone Models," Papers 1808.00515, arXiv.org.
    12. Weston Barger & Matthew Lorig, 2019. "Optimal Liquidation Under Stochastic Price Impact," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 22(02), pages 1-28, March.
    13. Bertsimas, Dimitris & Lo, Andrew W., 1998. "Optimal control of execution costs," Journal of Financial Markets, Elsevier, vol. 1(1), pages 1-50, April.
    14. Patrick Cheridito & Tardu Sepin, 2014. "Optimal Trade Execution Under Stochastic Volatility and Liquidity," Applied Mathematical Finance, Taylor & Francis Journals, vol. 21(4), pages 342-362, September.
    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. 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.

    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. 'Alvaro Cartea & Fayc{c}al Drissi & Marcello Monga, 2023. "Decentralised Finance and Automated Market Making: Predictable Loss and Optimal Liquidity Provision," Papers 2309.08431, arXiv.org, revised Apr 2024.
    2. Joseph Jerome & Leandro Sanchez-Betancourt & Rahul Savani & Martin Herdegen, 2022. "Model-based gym environments for limit order book trading," Papers 2209.07823, arXiv.org.
    3. Marcel Nutz & Kevin Webster & Long Zhao, 2023. "Unwinding Stochastic Order Flow: When to Warehouse Trades," Papers 2310.14144, arXiv.org.
    4. Alvaro Arroyo & Alvaro Cartea & Fernando Moreno-Pino & Stefan Zohren, 2023. "Deep Attentive Survival Analysis in Limit Order Books: Estimating Fill Probabilities with Convolutional-Transformers," Papers 2306.05479, arXiv.org.
    5. Claudio Bellani & Damiano Brigo, 2021. "Mechanics of good trade execution in the framework of linear temporary market impact," Quantitative Finance, Taylor & Francis Journals, vol. 21(1), pages 143-163, January.
    6. Jean-Pierre Fouque & Sebastian Jaimungal & Yuri F. Saporito, 2021. "Optimal Trading with Signals and Stochastic Price Impact," Papers 2101.10053, arXiv.org, revised Aug 2023.
    7. Max O. Souza & Yuri Thamsten, 2021. "On regularized optimal execution problems and their singular limits," Papers 2101.02731, arXiv.org, revised Aug 2023.
    8. Philippe Bergault & Fayc{c}al Drissi & Olivier Gu'eant, 2021. "Multi-asset optimal execution and statistical arbitrage strategies under Ornstein-Uhlenbeck dynamics," Papers 2103.13773, arXiv.org, revised Mar 2022.
    9. Michael Karpe, 2020. "An overall view of key problems in algorithmic trading and recent progress," Papers 2006.05515, arXiv.org.
    10. Eyal Neuman & Yufei Zhang, 2023. "Statistical Learning with Sublinear Regret of Propagator Models," Papers 2301.05157, arXiv.org.
    11. Jorge Guijarro-Ordonez, 2019. "High-dimensional statistical arbitrage with factor models and stochastic control," Papers 1901.09309, arXiv.org, revised Jun 2021.
    12. Peter Bank & 'Alvaro Cartea & Laura Korber, 2023. "Optimal execution and speculation with trade signals," Papers 2306.00621, arXiv.org, revised Jul 2023.
    13. Julia Ackermann & Thomas Kruse & Mikhail Urusov, 2021. "Càdlàg semimartingale strategies for optimal trade execution in stochastic order book models," Finance and Stochastics, Springer, vol. 25(4), pages 757-810, October.
    14. Guillaume Rocheteau & Lucie Lebeau & Tai-Wei Hu & Younghwan In, 2018. "Gradual Bargaining in Decentralized Asset Markets," Working Papers 181904, University of California-Irvine, Department of Economics.
    15. Julia Ackermann & Thomas Kruse & Mikhail Urusov, 2020. "C\`adl\`ag semimartingale strategies for optimal trade execution in stochastic order book models," Papers 2006.05863, arXiv.org, revised Jul 2021.
    16. Cong Zheng & Jiafa He & Can Yang, 2023. "Optimal Execution Using Reinforcement Learning," Papers 2306.17178, arXiv.org.
    17. Brunovský, Pavol & Černý, Aleš & Komadel, Ján, 2018. "Optimal trade execution under endogenous pressure to liquidate: Theory and numerical solutions," European Journal of Operational Research, Elsevier, vol. 264(3), pages 1159-1171.
    18. Ivan Guo & Shijia Jin & Kihun Nam, 2023. "Macroscopic Market Making," Papers 2307.14129, arXiv.org.
    19. Eduardo Abi Jaber & Eyal Neuman, 2022. "Optimal Liquidation with Signals: the General Propagator Case," Working Papers hal-03835948, HAL.
    20. Claudio Bellani & Damiano Brigo & Alex Done & Eyal Neuman, 2018. "Static vs Adaptive Strategies for Optimal Execution with Signals," Papers 1811.11265, arXiv.org, revised Jul 2019.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:2307.03499. 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.