IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2606.21769.html

Optimal Dynamic Fees for Automated Market Makers: A Stochastic Control Approach to Loss-Versus-Rebalancing

Author

Listed:
  • Farbod Ghasemlu

Abstract

We study the fee policy of a liquidity provider (LP) in a constant-product automated market maker (AMM) whose fee can be adjusted continuously, as enabled by programmable hooks. Building on the loss-versus-rebalancing (LVR) framework of Milionis et al. (2022) and its extension to nonzero fees by Milionis et al. (2024), we model the LP's wealth relative to the continuously rebalanced benchmark as a controlled process in which the fee governs two opposing forces: it raises revenue per uninformed trade while discouraging uninformed volume, and it widens the no-arbitrage band, which lowers the rate at which arbitrageurs extract value. Because the fee enters only the drift of relative wealth and never its diffusion, the LP's expected-utility problem reduces to an ergodic control problem whose solution is a pointwise volatility feedback. We prove that the growth-optimal fee is independent of the LP's wealth and of its constant relative risk aversion, that it collapses to a static constant when volatility is constant, and that it is strictly increasing in instantaneous variance, so that the optimal schedule is pro-cyclical. When volatility is stochastic, we characterise the optimal fee through a scalar ergodic Hamilton-Jacobi-Bellman equation and a linear Poisson equation, solved by a finite-difference scheme. We further show that the optimal fee is invariant to price jumps under logarithmic preferences, relate the optimal fee to a stylised model of competition among venues, and treat gas costs through an impulse-control dead-band. In a calibration to liquid large-capitalisation conditions, the optimal dynamic fee weakly dominates every static and volatility-linked heuristic fee on each simulated path, improving the LP's growth rate over the best static fee by a modest but uniformly positive margin, with a dead-band rendering gas costs negligible.

Suggested Citation

  • Farbod Ghasemlu, 2026. "Optimal Dynamic Fees for Automated Market Makers: A Stochastic Control Approach to Loss-Versus-Rebalancing," Papers 2606.21769, arXiv.org.
  • Handle: RePEc:arx:papers:2606.21769
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Marco Avellaneda & Sasha Stoikov, 2008. "High-frequency trading in a limit order book," Quantitative Finance, Taylor & Francis Journals, vol. 8(3), pages 217-224.
    2. Olivier Gu'eant & Charles-Albert Lehalle & Joaquin Fernandez Tapia, 2011. "Dealing with the Inventory Risk. A solution to the market making problem," Papers 1105.3115, arXiv.org, revised Aug 2012.
    3. Á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.
    4. Guillermo Angeris & Hsien-Tang Kao & Rei Chiang & Charlie Noyes & Tarun Chitra, 2019. "An analysis of Uniswap markets," Papers 1911.03380, arXiv.org, revised Feb 2021.
    5. Leonardo Baggiani & Martin Herdegen & Leandro S'anchez-Betancourt, 2025. "Optimal Dynamic Fees in Automated Market Makers," Papers 2506.02869, arXiv.org, revised Jul 2026.
    6. Ho, Thomas & Stoll, Hans R., 1981. "Optimal dealer pricing under transactions and return uncertainty," Journal of Financial Economics, Elsevier, vol. 9(1), pages 47-73, March.
    7. Justin Sirignano & Konstantinos Spiliopoulos, 2017. "DGM: A deep learning algorithm for solving partial differential equations," Papers 1708.07469, arXiv.org, revised Sep 2018.
    8. Leonardo Baggiani & Martin Herdegen & Leandro Sanchez-Betancourt, 2026. "Competition between DEXs through Dynamic Fees," Papers 2603.09669, arXiv.org.
    9. '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.
    10. Philippe Bergault & Louis Bertucci & David Bouba & Olivier Guéant, 2024. "Automated market makers: mean-variance analysis of LPs payoffs and design of pricing functions," Digital Finance, Springer, vol. 6(2), pages 225-247, June.
    11. Robin Fritsch & Roger Wattenhofer, 2021. "A Note on Optimal Fees for Constant Function Market Makers," Papers 2105.13510, arXiv.org.
    12. Guillermo Angeris & Tarun Chitra, 2020. "Improved Price Oracles: Constant Function Market Makers," Papers 2003.10001, arXiv.org, revised Jun 2020.
    13. Cox, John C. & Ingersoll Junior, Jonathan E. & Ross, Stephen A., 2007. "A theory of the term structure of interest rates," RAE - Revista de Administração de Empresas, FGV-EAESP Escola de Administração de Empresas de São Paulo (Brazil), vol. 47(2), April.
    14. Alex Evans & Guillermo Angeris & Tarun Chitra, 2021. "Optimal Fees for Geometric Mean Market Makers," Papers 2104.00446, arXiv.org.
    15. Alex Nezlobin & Martin Tassy, 2025. "Loss-Versus-Rebalancing under Deterministic and Generalized block-times," Papers 2505.05113, arXiv.org, revised May 2025.
    16. Steven Campbell & Philippe Bergault & Jason Milionis & Marcel Nutz, 2025. "Optimal Fees for Liquidity Provision in Automated Market Makers," Papers 2508.08152, arXiv.org.
    17. Merton, Robert C, 1969. "Lifetime Portfolio Selection under Uncertainty: The Continuous-Time Case," The Review of Economics and Statistics, MIT Press, vol. 51(3), pages 247-257, August.
    18. Agostino Capponi & Ruizhe Jia, 2021. "The Adoption of Blockchain-based Decentralized Exchanges," Papers 2103.08842, arXiv.org, revised Jul 2021.
    19. Philippe Bergault & S'ebastien Bieber & Leandro S'anchez-Betancourt, 2025. "Optimal Exit Time for Liquidity Providers in Automated Market Makers," Papers 2509.06510, arXiv.org, revised Oct 2025.
    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. Wen-Ting Wang, 2026. "Reinforcement Learning for Execution under Dynamic Fees in a Closed-Loop DEX Simulator," Papers 2607.10960, arXiv.org.
    2. 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.
    3. Sunghun Ko, 2026. "Partially Active Automated Market Makers," Papers 2602.09887, arXiv.org.
    4. Leonardo Baggiani & Martin Herdegen & Leandro Sanchez-Betancourt, 2026. "Competition between DEXs through Dynamic Fees," Papers 2603.09669, arXiv.org.
    5. Marcello Monga, 2024. "Automated Market Making and Decentralized Finance," Papers 2407.16885, arXiv.org.
    6. Bastien Baldacci & Joffrey Derchu & Iuliia Manziuk, 2020. "An approximate solution for options market-making in high dimension," Papers 2009.00907, arXiv.org.
    7. Qing-Qing Yang & Wai-Ki Ching & Jiawen Gu & Tak-Kuen Siu, 2020. "Trading strategy with stochastic volatility in a limit order book market," Decisions in Economics and Finance, Springer;Associazione per la Matematica, vol. 43(1), pages 277-301, June.
    8. Alif Aqsha & Philippe Bergault & Leandro S'anchez-Betancourt, 2025. "Equilibrium Reward for Liquidity Providers in Automated Market Makers," Papers 2503.22502, arXiv.org.
    9. Olivier Guéant, 2016. "The Financial Mathematics of Market Liquidity: From Optimal Execution to Market Making," Post-Print hal-01393136, HAL.
    10. Jang, Hyun Jin & Najmiddinov, Bekhzodbek, 2025. "Profitability of high-frequency market-making under market instability and manipulative behaviors," Finance Research Letters, Elsevier, vol. 86(PE).
    11. Philippe Bergault & S'ebastien Bieber & Leandro S'anchez-Betancourt, 2025. "Optimal Exit Time for Liquidity Providers in Automated Market Makers," Papers 2509.06510, arXiv.org, revised Oct 2025.
    12. 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.
    13. Choi, So Eun & Jang, Hyun Jin & Lee, Kyungsub & Zheng, Harry, 2021. "Optimal market-Making strategies under synchronised order arrivals with deep neural networks," Journal of Economic Dynamics and Control, Elsevier, vol. 125(C).
    14. Mathieu Rosenbaum & Jianfei Zhang, 2022. "Multi-asset market making under the quadratic rough Heston," Papers 2212.10164, arXiv.org.
    15. Cartea, Álvaro & Drissi, Fayçal & Monga, Marcello, 2025. "Decentralised finance and automated market making: Execution and speculation," Journal of Economic Dynamics and Control, Elsevier, vol. 177(C).
    16. Marina Giacinto & Claudio Tebaldi & Tai-Ho Wang, 2024. "Optimal order execution under price impact: a hybrid model," Annals of Operations Research, Springer, vol. 336(1), pages 605-636, May.
    17. Christoph Kuhn & Johannes Muhle-Karbe, 2013. "Optimal Liquidity Provision," Papers 1309.5235, arXiv.org, revised Feb 2015.
    18. Sofiene El Aoud & Frédéric Abergel, 2015. "A stochastic control approach for options market making," Post-Print hal-01061852, HAL.
    19. N Baradel & B Bouchard & Ngoc Minh Dang, 2016. "Optimal trading with online parameters revisions," Working Papers hal-01304019, HAL.
    20. Philippe Bergault & David Evangelista & Olivier Gu'eant & Douglas Vieira, 2018. "Closed-form approximations in multi-asset market making," Papers 1810.04383, arXiv.org, revised Sep 2022.

    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:2606.21769. 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: https://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.