IDEAS home Printed from https://ideas.repec.org/a/spr/digfin/v6y2024i1d10.1007_s42521-024-00105-4.html
   My bibliography  Save this article

Clustering Uniswap v3 traders from their activity on multiple liquidity pools, via novel graph embeddings

Author

Listed:
  • Deborah Miori

    (University of Oxford
    Oxford-Man Institute of Quantitative Finance)

  • Mihai Cucuringu

    (University of Oxford
    University of Oxford
    The Alan Turing Institute
    Oxford-Man Institute of Quantitative Finance)

Abstract

Uniswap 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.

Suggested Citation

  • Deborah Miori & Mihai Cucuringu, 2024. "Clustering Uniswap v3 traders from their activity on multiple liquidity pools, via novel graph embeddings," Digital Finance, Springer, vol. 6(1), pages 113-143, March.
  • Handle: RePEc:spr:digfin:v:6:y:2024:i:1:d:10.1007_s42521-024-00105-4
    DOI: 10.1007/s42521-024-00105-4
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s42521-024-00105-4
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s42521-024-00105-4?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    More about this item

    Keywords

    Clustering; Decentralised finance; Network analysis; NLP; Uniswap v3;
    All these keywords.

    JEL classification:

    • C0 - Mathematical and Quantitative Methods - - General
    • C6 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling
    • C8 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:digfin:v:6:y:2024:i:1:d:10.1007_s42521-024-00105-4. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.