-
Improving DeFi Accessibility through Efficient Liquidity Provisioning with Deep Reinforcement Learning
Authors:
Haonan Xu,
Alessio Brini
Abstract:
This paper applies deep reinforcement learning (DRL) to optimize liquidity provisioning in Uniswap v3, a decentralized finance (DeFi) protocol implementing an automated market maker (AMM) model with concentrated liquidity. We model the liquidity provision task as a Markov Decision Process (MDP) and train an active liquidity provider (LP) agent using the Proximal Policy Optimization (PPO) algorithm…
▽ More
This paper applies deep reinforcement learning (DRL) to optimize liquidity provisioning in Uniswap v3, a decentralized finance (DeFi) protocol implementing an automated market maker (AMM) model with concentrated liquidity. We model the liquidity provision task as a Markov Decision Process (MDP) and train an active liquidity provider (LP) agent using the Proximal Policy Optimization (PPO) algorithm. The agent dynamically adjusts liquidity positions by using information about price dynamics to balance fee maximization and impermanent loss mitigation. We use a rolling window approach for training and testing, reflecting realistic market conditions and regime shifts. This study compares the data-driven performance of the DRL-based strategy against common heuristics adopted by small retail LP actors that do not systematically modify their liquidity positions. By promoting more efficient liquidity management, this work aims to make DeFi markets more accessible and inclusive for a broader range of participants. Through a data-driven approach to liquidity management, this work seeks to contribute to the ongoing development of more efficient and user-friendly DeFi markets.
△ Less
Submitted 13 January, 2025;
originally announced January 2025.
-
A Comparison of Cryptocurrency Volatility-benchmarking New and Mature Asset Classes
Authors:
Alessio Brini,
Jimmie Lenz
Abstract:
The paper analyzes the cryptocurrency ecosystem at both the aggregate and individual levels to understand the factors that impact future volatility. The study uses high-frequency panel data from 2020 to 2022 to examine the relationship between several market volatility drivers, such as daily leverage, signed volatility and jumps. Several known autoregressive model specifications are estimated over…
▽ More
The paper analyzes the cryptocurrency ecosystem at both the aggregate and individual levels to understand the factors that impact future volatility. The study uses high-frequency panel data from 2020 to 2022 to examine the relationship between several market volatility drivers, such as daily leverage, signed volatility and jumps. Several known autoregressive model specifications are estimated over different market regimes, and results are compared to equity data as a reference benchmark of a more mature asset class. The panel estimations show that the positive market returns at the high-frequency level increase price volatility, contrary to what is expected from the classical financial literature. We attributed this effect to the price dynamics over the last year of the dataset (2022) by repeating the estimation on different time spans. Moreover, the positive signed volatility and negative daily leverage positively impact the cryptocurrencies' future volatility, unlike what emerges from the same study on a cross-section of stocks. This result signals a structural difference in a nascent cryptocurrency market that has to mature yet. Further individual-level analysis confirms the findings of the panel analysis and highlights that these effects are statistically significant and commonly shared among many components in the selected universe.
△ Less
Submitted 7 April, 2024;
originally announced April 2024.
-
SpotV2Net: Multivariate Intraday Spot Volatility Forecasting via Vol-of-Vol-Informed Graph Attention Networks
Authors:
Alessio Brini,
Giacomo Toscano
Abstract:
This paper introduces SpotV2Net, a multivariate intraday spot volatility forecasting model based on a Graph Attention Network architecture. SpotV2Net represents assets as nodes within a graph and includes non-parametric high-frequency Fourier estimates of the spot volatility and co-volatility as node features. Further, it incorporates Fourier estimates of the spot volatility of volatility and co-v…
▽ More
This paper introduces SpotV2Net, a multivariate intraday spot volatility forecasting model based on a Graph Attention Network architecture. SpotV2Net represents assets as nodes within a graph and includes non-parametric high-frequency Fourier estimates of the spot volatility and co-volatility as node features. Further, it incorporates Fourier estimates of the spot volatility of volatility and co-volatility of volatility as features for node edges, to capture spillover effects. We test the forecasting accuracy of SpotV2Net in an extensive empirical exercise, conducted with the components of the Dow Jones Industrial Average index. The results we obtain suggest that SpotV2Net yields statistically significant gains in forecasting accuracy, for both single-step and multi-step forecasts, compared to a panel heterogenous auto-regressive model and alternative machine-learning models. To interpret the forecasts produced by SpotV2Net, we employ GNNExplainer \citep{ying2019gnnexplainer}, a model-agnostic interpretability tool, and thereby uncover subgraphs that are critical to a node's predictions.
△ Less
Submitted 13 January, 2025; v1 submitted 11 January, 2024;
originally announced January 2024.
-
Deep Reinforcement Trading with Predictable Returns
Authors:
Alessio Brini,
Daniele Tantari
Abstract:
Classical portfolio optimization often requires forecasting asset returns and their corresponding variances in spite of the low signal-to-noise ratio provided in the financial markets. Modern deep reinforcement learning (DRL) offers a framework for optimizing sequential trader decisions but lacks theoretical guarantees of convergence. On the other hand, the performances on real financial trading p…
▽ More
Classical portfolio optimization often requires forecasting asset returns and their corresponding variances in spite of the low signal-to-noise ratio provided in the financial markets. Modern deep reinforcement learning (DRL) offers a framework for optimizing sequential trader decisions but lacks theoretical guarantees of convergence. On the other hand, the performances on real financial trading problems are strongly affected by the goodness of the signal used to predict returns. To disentangle the effects coming from return unpredictability from those coming from algorithm un-trainability, we investigate the performance of model-free DRL traders in a market environment with different known mean-reverting factors driving the dynamics. When the framework admits an exact dynamic programming solution, we can assess the limits and capabilities of different value-based algorithms to retrieve meaningful trading signals in a data-driven manner. We consider DRL agents that leverage classical strategies to increase their performances and we show that this approach guarantees flexibility, outperforming the benchmark strategy when the price dynamics is misspecified and some original assumptions on the market environment are violated with the presence of extreme events and volatility clustering.
△ Less
Submitted 17 May, 2023; v1 submitted 29 April, 2021;
originally announced April 2021.