{"title":"分散式交易所风险最小化的多步骤方法","authors":"Daniele Maria Di Nosse, Federico Gatta","doi":"arxiv-2406.07200","DOIUrl":null,"url":null,"abstract":"Decentralized Exchanges are becoming even more predominant in today's\nfinance. Driven by the need to study this phenomenon from an academic\nperspective, the SIAG/FME Code Quest 2023 was announced. Specifically,\nparticipating teams were asked to implement, in Python, the basic functions of\nan Automated Market Maker and a liquidity provision strategy in an Automated\nMarket Maker to minimize the Conditional Value at Risk, a critical measure of\ninvestment risk. As the competition's winning team, we highlight our approach\nin this work. In particular, as the dependence of the final return on the\ninitial wealth distribution is highly non-linear, we cannot use standard ad-hoc\napproaches. Additionally, classical minimization techniques would require a\nsignificant computational load due to the cost of the target function. For\nthese reasons, we propose a three-step approach. In the first step, the target\nfunction is approximated by a Kernel Ridge Regression. Then, the approximating\nfunction is minimized. In the final step, the previously discovered minimum is\nutilized as the starting point for directly optimizing the desired target\nfunction. By using this procedure, we can both reduce the computational\ncomplexity and increase the accuracy of the solution. Finally, the overall\ncomputational load is further reduced thanks to an algorithmic trick concerning\nthe returns simulation and the usage of Cython.","PeriodicalId":501128,"journal":{"name":"arXiv - QuantFin - Risk Management","volume":"111 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Multi-step Approach for Minimizing Risk in Decentralized Exchanges\",\"authors\":\"Daniele Maria Di Nosse, Federico Gatta\",\"doi\":\"arxiv-2406.07200\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Decentralized Exchanges are becoming even more predominant in today's\\nfinance. Driven by the need to study this phenomenon from an academic\\nperspective, the SIAG/FME Code Quest 2023 was announced. Specifically,\\nparticipating teams were asked to implement, in Python, the basic functions of\\nan Automated Market Maker and a liquidity provision strategy in an Automated\\nMarket Maker to minimize the Conditional Value at Risk, a critical measure of\\ninvestment risk. As the competition's winning team, we highlight our approach\\nin this work. In particular, as the dependence of the final return on the\\ninitial wealth distribution is highly non-linear, we cannot use standard ad-hoc\\napproaches. Additionally, classical minimization techniques would require a\\nsignificant computational load due to the cost of the target function. For\\nthese reasons, we propose a three-step approach. In the first step, the target\\nfunction is approximated by a Kernel Ridge Regression. Then, the approximating\\nfunction is minimized. In the final step, the previously discovered minimum is\\nutilized as the starting point for directly optimizing the desired target\\nfunction. By using this procedure, we can both reduce the computational\\ncomplexity and increase the accuracy of the solution. Finally, the overall\\ncomputational load is further reduced thanks to an algorithmic trick concerning\\nthe returns simulation and the usage of Cython.\",\"PeriodicalId\":501128,\"journal\":{\"name\":\"arXiv - QuantFin - Risk Management\",\"volume\":\"111 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-06-11\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - QuantFin - Risk Management\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2406.07200\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - QuantFin - Risk Management","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.07200","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A Multi-step Approach for Minimizing Risk in Decentralized Exchanges
Decentralized Exchanges are becoming even more predominant in today's
finance. Driven by the need to study this phenomenon from an academic
perspective, the SIAG/FME Code Quest 2023 was announced. Specifically,
participating teams were asked to implement, in Python, the basic functions of
an Automated Market Maker and a liquidity provision strategy in an Automated
Market Maker to minimize the Conditional Value at Risk, a critical measure of
investment risk. As the competition's winning team, we highlight our approach
in this work. In particular, as the dependence of the final return on the
initial wealth distribution is highly non-linear, we cannot use standard ad-hoc
approaches. Additionally, classical minimization techniques would require a
significant computational load due to the cost of the target function. For
these reasons, we propose a three-step approach. In the first step, the target
function is approximated by a Kernel Ridge Regression. Then, the approximating
function is minimized. In the final step, the previously discovered minimum is
utilized as the starting point for directly optimizing the desired target
function. By using this procedure, we can both reduce the computational
complexity and increase the accuracy of the solution. Finally, the overall
computational load is further reduced thanks to an algorithmic trick concerning
the returns simulation and the usage of Cython.