QLAMMP: A Q-Learning Agent for Optimizing Fees on Automated Market Making Protocols

11/28/2022
by   Dev Churiwala, et al.
0

Automated Market Makers (AMMs) have cemented themselves as an integral part of the decentralized finance (DeFi) space. AMMs are a type of exchange that allows users to trade assets without the need for a centralized exchange. They form the foundation for numerous decentralized exchanges (DEXs), which help facilitate the quick and efficient exchange of on-chain tokens. All present-day popular DEXs are static protocols, with fixed parameters controlling the fee and the curvature - they suffer from invariance and cannot adapt to quickly changing market conditions. This characteristic may cause traders to stay away during high slippage conditions brought about by intractable market movements. We propose an RL framework to optimize the fees collected on an AMM protocol. In particular, we develop a Q-Learning Agent for Market Making Protocols (QLAMMP) that learns the optimal fee rates and leverage coefficients for a given AMM protocol and maximizes the expected fee collected under a range of different market conditions. We show that QLAMMP is consistently able to outperform its static counterparts under all the simulated test conditions.

READ FULL TEXT

page 1

page 4

page 7

page 8

research
01/20/2023

About constant-product automated market makers

Constant-product market making functions were first introduced by Hayden...
research
06/11/2020

DeFi Protocols for Loanable Funds: Interest Rates, Liquidity and Market Efficiency

We coin the term *Protocols for Loanable Funds (PLFs)* to refer to proto...
research
11/29/2017

The Art of Crypto Currencies: A Comprehensive Analysis of Popular Crypto Currencies

Crypto Currencies have recently gained enormous popularity amongst the g...
research
12/20/2022

Efficient Liquidity Providing via Margin Liquidity

The limit order book mechanism has been the core trading mechanism of th...
research
06/02/2021

Maximizing Extractable Value from Automated Market Makers

Automated Market Makers (AMMs) are decentralized applications that allow...
research
06/21/2021

Improving security for users of decentralized exchanges through multiparty computation

Decentralized cryptocurrency exchanges offer compelling security benefit...
research
02/22/2021

A theory of Automated Market Makers in DeFi

Automated market makers (AMMs) are one of the most prominent decentraliz...

Please sign up or login with your details

Forgot password? Click here to reset