Clustering Uniswap v3 traders from their activity on multiple liquidity pools, via novel graph embeddings
-
Published:2024-01-30
Issue:
Volume:
Page:
-
ISSN:2524-6984
-
Container-title:Digital Finance
-
language:en
-
Short-container-title:Digit Finance
Author:
Miori Deborah,Cucuringu Mihai
Abstract
AbstractUniswap is a Constant Product Market Maker built around liquidity pools, where pairs of tokens are exchanged subject to a fee that is proportional to the size of transactions. At the time of writing, there exist more than 6000 pools associated with Uniswap v3, implying that empirical investigations on the full ecosystem can easily become computationally expensive. We propose a systematic workflow to extract a tractable sub-universe of liquidity pools, where the interconnection among such pools is maximised to capture broader dynamics within the ecosystem. The resultant set of 34 pools is then used to cluster market participants according to their liquidity consumption behaviour over such environments, for the time window January–June 2022. Introducing a novel approach, we proceed to represent each liquidity taker by a suitably constructed transaction graph. The graph is a fully connected network where nodes are the liquidity taker’s executed transactions on the 34 pools of reference, and edges contain weights encoding the time elapsed between any two transactions. We then extend the NLP-inspired graph2vec algorithm to the weighted undirected setting, and employ it to obtain an embedding of the set of graphs representing market participants. This embedding allows us to extract seven clusters of liquidity takers, with equivalent behavioural patterns that can be interpreted in terms of trading attributes, i.e. preference for exotic assets over stablecoins, frequency of activity, tolerance for higher trading fees.
Funder
Engineering and Physical Sciences Research Council
Publisher
Springer Science and Business Media LLC
Subject
General Engineering
Reference37 articles.
1. Adams, H. (2020) Uniswap whitepaper. https://hackmd.io/@HaydenAdams/HJ9jLsfTz. 2. Adams, H., Zinsmeister, N., Salem, M., Keefer, R., & Robinson, D. (2021). Uniswap v3 core. Tech.
rep., Uniswap, Tech. Rep. 3. Adams, H., Zinsmeister, N., & Robinson, D. (2020). Uniswap v2 core. https://uniswap.org/whitepaper.pdf. 4. Angeris, G., Evans, A., Chitra, T., & Boyd, S. (2022). Optimal routing for constant function market makers. In: Proceedings of the 23rd ACM conference on economics and computation, EC’22 (pp. 115–128). New York, NY, USA, Association for Computing Machinery. 5. Angeris, G., Kao, H.-T., Chiang, R., Noyes, C., & Chitra, T. (2019). An analysis of Uniswap markets.
|
|