ZeroSwap: Data-driven Optimal Market Making in DeFi
Not on the map. Why?
Abstract (arXiv)
Automated Market Makers (AMMs) are major centers of matching liquidity supply and demand in Decentralized Finance. Their functioning relies primarily on the presence of liquidity providers (LPs) incentivized to invest their assets into a liquidity pool. However, the prices at which a pooled asset is traded is often more stale than the prices on centralized and more liquid exchanges. This leads to the LPs suffering losses to arbitrage. This problem is addressed by adapting market prices to trader behavior, captured via the classical market microstructure model of Glosten and Milgrom. In this paper, we propose the first optimal Bayesian and the first model-free data-driven algorithm to optimally track the external price of the asset. The notion of optimality that we use enforces a zero-profit condition on the prices of the market maker, hence the name ZeroSwap. This ensures that the market maker balances losses to informed traders with profits from noise traders. The key property of our approach is the ability to estimate the external market price without the need for price oracles or loss oracles. Our theoretical guarantees on the performance of both these algorithms, ensuring the stability and convergence of their price recommendations, are of independent interest in the theory of reinforcement learning. We empirically demonstrate the robustness of our algorithms to changing market conditions.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 43 references that are in the map. First posted on arXiv 13 Oct 2023.
Builds on
11 of 43 references.
References · 11
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
- 2021SoK: Decentralized Exchanges (DEX) with Automated Market Maker (AMM) Protocolscited by 21
- 2019Flash Boys 2.0: Frontrunning, Transaction Reordering, and Consensus Instability in Decentralized Exchangescited by 11
- 2022Automated Market Making and Loss-Versus-Rebalancingcited by 9
- 2023A Myersonian Framework for Optimal Liquidity Provision in Automated Market Makerscited by 4
- 2021Constant Function Market Makers: Multi-Asset Trades via Convex Optimizationcited by 3
- 2023An Axiomatic Characterization of CFMMs and Equivalence to Prediction Marketscited by 3
- 2023Automated Market Making and Arbitrage Profits in the Presence of Feescited by 3
- 2022QLAMMP: A Q-Learning Agent for Optimizing Fees on Automated Market Making Protocolscited by 2
- 2022Finding the Right Curve: Optimal Design of Constant Function Market Makerscited by 2
- 2022Augmenting Batch Exchanges with Constant Function Market Makerscited by 1
Built on by
Not cited yet.