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

A Multi-step Approach for Minimizing Risk in Decentralized Exchanges

Author

Listed:
  • Daniele Maria Di Nosse
  • Federico Gatta

Abstract

Decentralized Exchanges are becoming even more predominant in today's finance. Driven by the need to study this phenomenon from an academic perspective, the SIAG/FME Code Quest 2023 was announced. Specifically, participating teams were asked to implement, in Python, the basic functions of an Automated Market Maker and a liquidity provision strategy in an Automated Market Maker to minimize the Conditional Value at Risk, a critical measure of investment risk. As the competition's winning team, we highlight our approach in this work. In particular, as the dependence of the final return on the initial wealth distribution is highly non-linear, we cannot use standard ad-hoc approaches. Additionally, classical minimization techniques would require a significant computational load due to the cost of the target function. For these reasons, we propose a three-step approach. In the first step, the target function is approximated by a Kernel Ridge Regression. Then, the approximating function is minimized. In the final step, the previously discovered minimum is utilized as the starting point for directly optimizing the desired target function. By using this procedure, we can both reduce the computational complexity and increase the accuracy of the solution. Finally, the overall computational load is further reduced thanks to an algorithmic trick concerning the returns simulation and the usage of Cython.

Suggested Citation

  • Daniele Maria Di Nosse & Federico Gatta, 2024. "A Multi-step Approach for Minimizing Risk in Decentralized Exchanges," Papers 2406.07200, arXiv.org, revised Jun 2024.
  • Handle: RePEc:arx:papers:2406.07200
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    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 Jun 2024.
    2. Álvaro Cartea & Fayçal Drissi & Marcello Monga, 2023. "Predictable Losses of Liquidity Provision in Constant Function Markets and Concentrated Liquidity Markets," Applied Mathematical Finance, Taylor & Francis Journals, vol. 30(2), pages 69-93, March.
    3. Patrick Büchel & Michael Kratochwil & Maximilian Nagl & Daniel Rösch, 2022. "Deep calibration of financial models: turning theory into practice," Review of Derivatives Research, Springer, vol. 25(2), pages 109-136, July.
    Full references (including those not matched with items on IDEAS)

    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. Robin Fritsch & Andrea Canidio, 2024. "Measuring Arbitrage Losses and Profitability of AMM Liquidity," Papers 2404.05803, arXiv.org, revised Apr 2024.
    2. Philippe Bergault & Louis Bertucci & David Bouba & Olivier Gu'eant & Julien Guilbert, 2024. "Price-Aware Automated Market Makers: Models Beyond Brownian Prices and Static Liquidity," Papers 2405.03496, arXiv.org, revised May 2024.
    3. Erhan Bayraktar & Asaf Cohen & April Nellis, 2024. "DEX Specs: A Mean Field Approach to DeFi Currency Exchanges," Papers 2404.09090, arXiv.org.
    4. 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.
    5. Maxim Bichuch & Zachary Feinstein, 2024. "DeFi Arbitrage in Hedged Liquidity Tokens," Papers 2409.11339, arXiv.org.

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