{"title":"Closed-form solutions for generic N-token AMM arbitrage","authors":"Matthew Willetts, Christian Harrington","doi":"arxiv-2402.06731","DOIUrl":null,"url":null,"abstract":"Convex optimisation has provided a mechanism to determine arbitrage trades on\nautomated market markets (AMMs) since almost their inception. Here we outline\ngeneric closed-form solutions for $N$-token geometric mean market maker pool\narbitrage, that in simulation (with synthetic and historic data) provide better\narbitrage opportunities than convex optimisers and is able to capitalise on\nthose opportunities sooner. Furthermore, the intrinsic parallelism of the\nproposed approach (unlike convex optimisation) offers the ability to scale on\nGPUs, opening up a new approach to AMM modelling by offering an alternative to\nnumerical-solver-based methods. The lower computational cost of running this\nnew mechanism can also enable on-chain arbitrage bots for multi-asset pools.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":"7 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - QuantFin - Trading and Market Microstructure","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2402.06731","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Convex optimisation has provided a mechanism to determine arbitrage trades on
automated market markets (AMMs) since almost their inception. Here we outline
generic closed-form solutions for $N$-token geometric mean market maker pool
arbitrage, that in simulation (with synthetic and historic data) provide better
arbitrage opportunities than convex optimisers and is able to capitalise on
those opportunities sooner. Furthermore, the intrinsic parallelism of the
proposed approach (unlike convex optimisation) offers the ability to scale on
GPUs, opening up a new approach to AMM modelling by offering an alternative to
numerical-solver-based methods. The lower computational cost of running this
new mechanism can also enable on-chain arbitrage bots for multi-asset pools.