Optimal Rebalancing in Dynamic AMMs

Matthew Willetts, Christian Harrington
{"title":"Optimal Rebalancing in Dynamic AMMs","authors":"Matthew Willetts, Christian Harrington","doi":"arxiv-2403.18737","DOIUrl":null,"url":null,"abstract":"Dynamic AMM pools, as found in Temporal Function Market Making, rebalance\ntheir holdings to a new desired ratio (e.g. moving from being 50-50 between two\nassets to being 90-10 in favour of one of them) by introducing an arbitrage\nopportunity that disappears when their holdings are in line with their target.\nStructuring this arbitrage opportunity reduces to the problem of choosing the\nsequence of portfolio weights the pool exposes to the market via its trading\nfunction. Linear interpolation from start weights to end weights has been used\nto reduce the cost paid by pools to arbitrageurs to rebalance. Here we obtain\nthe $\\textit{optimal}$ interpolation in the limit of small weight changes\n(which has the downside of requiring a call to a transcendental function) and\nthen obtain a cheap-to-compute approximation to that optimal approach that\ngives almost the same performance improvement. We then demonstrate this method\non a range of market backtests, including simulating pool performance when\ntrading fees are present, finding that the new approximately-optimal method of\nchanging weights gives robust increases in pool performance. For a BTC-ETH-DAI\npool from July 2022 to June 2023, the increases of pool P\\&L from\napproximately-optimal weight changes is $\\sim25\\%$ for a range of different\nstrategies and trading fees.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-03-27","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-2403.18737","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Dynamic AMM pools, as found in Temporal Function Market Making, rebalance their holdings to a new desired ratio (e.g. moving from being 50-50 between two assets to being 90-10 in favour of one of them) by introducing an arbitrage opportunity that disappears when their holdings are in line with their target. Structuring this arbitrage opportunity reduces to the problem of choosing the sequence of portfolio weights the pool exposes to the market via its trading function. Linear interpolation from start weights to end weights has been used to reduce the cost paid by pools to arbitrageurs to rebalance. Here we obtain the $\textit{optimal}$ interpolation in the limit of small weight changes (which has the downside of requiring a call to a transcendental function) and then obtain a cheap-to-compute approximation to that optimal approach that gives almost the same performance improvement. We then demonstrate this method on a range of market backtests, including simulating pool performance when trading fees are present, finding that the new approximately-optimal method of changing weights gives robust increases in pool performance. For a BTC-ETH-DAI pool from July 2022 to June 2023, the increases of pool P\&L from approximately-optimal weight changes is $\sim25\%$ for a range of different strategies and trading fees.
动态 AMM 中的最优再平衡
动态 AMM 资金池(如在 "时间函数做市 "中发现的那样)通过引入套利机会将其持有的资产重新平衡到一个新的理想比例(例如,从两个资产各占一半变为其中一个资产占 90-10),当其持有的资产与目标一致时,套利机会就会消失。从起始权重到终止权重的线性插值被用来减少资金池向套利者支付的再平衡成本。在这里,我们获得了在权重变化较小的情况下的$textit{optimal}$插值法(其缺点是需要调用一个超越函数),然后获得了该最优方法的一个计算成本较低的近似值,该近似值能带来几乎相同的性能提升。然后,我们在一系列市场回溯测试中演示了这种方法,包括模拟存在交易费用时的资金池表现,发现新的近似最优的权重变化方法可以稳健地提高资金池表现。对于从 2022 年 7 月到 2023 年 6 月的 BTC-ETH-DAI 池,在一系列不同策略和交易费用下,近似最优权重变化带来的池 P&L 增长为 $\sim25\%$。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信