MultiversX Tracker is Live!

In-depth analysis for impermanent loss of uniswap V2

Etherum Reddit

More / Etherum Reddit 161 Views

In-depth analysis for impermanent loss of uniswap V2

Let’s take the ETH-USDT fund pool as an example to quantitatively analyze the risk of AMM. Suppose that the market maker deposits x0 ETH and y0 USDT into the fund pool at the price of P0, and the market maker’s assets will become xn ETH and yn USDT at the price of Pn. There are the following five market-making groups:

  1. . Group 1 who want to hold USDT for a long time participate in market making, hoping to convert into USDT to maintain positive returns;Under the xyk AMM model, its rate of return = yn/y0 -1 = (Pn/P0)^.5 -1 for the market-making group without considering the fee income.

Figure 1 Mining profit and loss of market maker group 1

2) Group 2 who want to hold ETH for a long time participate in market making, hoping to convert it into ETH to maintain a positive income;

Under the xyk AMM, its rate of return = xn/x0 -1 =(P0/Pn)^.5 -1 for the group 2 without considering the fee income.

Figure 2 Mining profit and loss of market maker group 2

3). Group 3 who want to hold both ETH and USDT for a long time participate in market making, hoping to convert into USDT to maintain a positive return;

its rate of return = 2yn/(x0*Pn + y0)-1=2*(P0Pn)^.5/(Pn+P0) -1 for the group 3 without considering the fee income.

https://preview.redd.it/3hwrmpv3ys291.png?700&format=png&auto=webp&s=c9f9ecec3a0ce3cdd42ec7e33556fd83e3ea0527

Figure 3 Mining profit and loss of market maker group 3

4). Group 4 who want to hold both ETH and USDT for a long time participate in market making, hoping to convert into ETH to maintain a positive return;

its rate of return = 2yn/(x0*Pn + y0)-1=2*(P0Pn)⁰.5/(Pn+P0) -1 for the group 4 without considering the fee income.

https://preview.redd.it/oyqhqjq5ys291.png?700&format=png&auto=webp&s=62bcca59cb0f3a304a6b35c7527cd88207640c8e

Figure 4 Mining profit and loss of market maker group 4

5). Group 5 sushiswap single-sided solution: depositing ETH, borrowing equivalent SIL, and returning SIL when withdrawing.

its rate of return = (2xn - (y0)/Pn))/x0 -1= 2(P0/Pn)^.5 — P0/Pn -1, for the group 5 without considering the fee income.

However, the sushiswap single-sided solution not only cannot hedge impermanent losses, but the market maker’s assets will have the risk of returning to zero.when the price falls by 75%.

https://preview.redd.it/vu5gh2z7ys291.png?700&format=png&auto=webp&s=cac8501d4c107e9d7c144c2539ba74e88dc9d271

Based on the quantitative analysis of the above five groups, the profit and loss of automatic market makers is related to price. Group 1 bears the risk of price falling, group 2 bears the risk of price rising, and groups 3 and 4 face losses whether price rising or falling which is known as impermanent loss in the industry.

https://x3finance.medium.com/in-depth-analysis-for-impermanent-losses-ac948e5bb892

submitted by /u/x3finance
[link] [comments]

Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
💰 Install these recommended apps:
💲 SocialGood - 100% Crypto Back on Everyday Shopping
💲 xPortal - The DeFi For The Next Billion
💲 CryptoTab Browser - Lightweight, fast, and ready to mine!
💰 Register on these recommended exchanges:
🟡 Binance🟡 Bitfinex🟡 Bitmart🟡 Bittrex🟡 Bitget
🟡 CoinEx🟡 Crypto.com🟡 Gate.io🟡 Huobi🟡 Kucoin.



Comments