ZeroSwap: Data-driven Optimal Market Making in DeFi

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Nadkarni, Viraj, Hu, Jiachen, Rana, Ranvir, Jin, Chi, Kulkarni, Sanjeev, Viswanath, Pramod
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917652621950976
author Nadkarni, Viraj
Hu, Jiachen
Rana, Ranvir
Jin, Chi
Kulkarni, Sanjeev
Viswanath, Pramod
author_facet Nadkarni, Viraj
Hu, Jiachen
Rana, Ranvir
Jin, Chi
Kulkarni, Sanjeev
Viswanath, Pramod
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2310_09413
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle ZeroSwap: Data-driven Optimal Market Making in DeFi
Nadkarni, Viraj
Hu, Jiachen
Rana, Ranvir
Jin, Chi
Kulkarni, Sanjeev
Viswanath, Pramod
Machine Learning
Computer Science and Game Theory
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.
title ZeroSwap: Data-driven Optimal Market Making in DeFi
topic Machine Learning
Computer Science and Game Theory
url https://arxiv.org/abs/2310.09413