header-langage
简体中文
English
Tiếng Việt
Scan to Download the APP
Partnered With:

Have you made money after providing half-day liquidity?

Read this article in 10 Minutes
If the loss from volatility exceeds 200% of its average return, Uniswap's rebalancing will not remove enough volatility effects, and it is best to hold cash in this case.
Original title: "Is becoming an LP of Uniswap a loss or a gain?" 》
Original Source: Decentralized Chinese Community


This is a study on the circumstances under which it becomes a trading pair on Uniswap LP is a profitable state article.


The question is a bit of a mouthful, for example, you have 3 Ethereum, and you also have the equivalent value of USDT, then put the funds in the Is there more income in the wallet, or is it invested in the ETH trading pool on Uniswap to earn more fixed income?


Volatility loss is a financial mathematical term that describes the compound return of large investment losses. Here's how the term's inventor, Mark Spitznagel, explains it:


Radical Portfolio losses can destroy long-term compound annual growth rates (CAGR). It takes a long time to recover from a much lower starting point: lose 50%, and you need to do 100% to get back to where you were. In this case, I call this cost of converting the portfolio's average arithmetic return of +25% into zero CAGR (thus making the portfolio profit zero) a "volatility loss": it's an implicit Deceitful fees are additional costs that investors need to pay due to the negative impact of market fluctuations.



Uniswap LP "forced" to get rich


< h3>1 Question


On October 14, Charlie Noyes tweeted a message he and Dan Robinson's ongoing debate: What is the optimal fee for any Uniswap trading pair? Can this optimal fee achieve "no temporary loss" or even more than expected growth than an unrebalanced portfolio?


1.1 Basic Rules


Automated market maker AMM is a kind of go The centralized trading mechanism allows users to trade on-chain assets like USDC, ETH, etc.


Uniswap is the most popular AMM on Ethereum. Like most AMMs, Uniswap enables conversion between trading pairs by holding reserves of both assets. And reserves to determine the transaction price, so that the price is consistent with the market.


The person who provides liquidity for the "capital pool" is called "LP", and LP provides other users with liquid assets for transactions. LP needs to inject two kinds of assets at the same time, and bears the transaction risk in exchange for a part of Uniswap's proceeds.


1.2 Problem Setting


The problem is that the pool of funds is between funds and another Liquidity is provided between assets whose prices fluctuate randomly. A more brutal assumption is that almost all trades are arbitrage trades - which only happen when the price of the AMM exceeds the market level.


1.3 General situation


At first glance, this situation will become the LP of Uniswap Costly mistake.


Because the buying price required by the market maker is lower than the selling price, when the asset price does not move, the market maker directly makes a profit, and they get Buying and selling volumes were roughly balanced. These trades are often referred to as "uninformed" trades because they are not tied to short-term price movements.


On the other hand, market makers who buy before the price falls, or sell before it rises, lose money. Therefore, one of the counterparties that market makers fear most are arbitrageurs, who only trade when prices change. Every transaction of the arbitrageur is a pure profit for him, and a net loss for the market maker.


Since there are no unwitting transactions in Uniswap (virtually every transaction is an arbitrage transaction), LPs will obviously lose a lot.


It can even be doubted that for some potential price fluctuations, as Uniswap’s LP You will be stuck in the transaction.


In other words, every trade results in a loss of money in the pool.


2 Solution


If the volatility of an asset relative to its average return If it is high enough, then over time, LPs on Uniswap will have better returns than HODLers, even if only arbitrage transactions enter the market.


This is due to a phenomenon known as "volatility returns": Balanced, they have the potential to outperform any static portfolio. In this context, "rebalancing" refers to trading to bring the holdings in each asset back to a fixed 50/50.


So when they are arbitraged, the LP pays the market a fee to rebalance the portfolio for them. In this particular digital setup, this rebalancing is beneficial, and one can hope to do as much as possible. This means that LPs should set their fees (determining the price exposure at which rebalancing occurs) as low as possible and not zero.


This is great news for Uniswap, as it means that even in a situation where arbitrage transactions dominate, low fees still make sense, making Uniswap remains competitive as on-chain order books grow and start offering tighter spreads.


That said, it is worth emphasizing that these results apply to very specific stylized numerical settings involving assumptions similar to those of the Black-Scholes option pricing model. The assumptions are very similar.


2.1 Comparison Standard


We compare the "asymptotic wealth growth rate" of different strategies To evaluate them, these "progressive wealth growth rates" measure how quickly they increase (or depreciate) in value over a long period of time.


We compare all strategies to a "non-rebalanced portfolio" which is half in cash and half in risky assets form and remain unchanged. This means that, in a worst-case scenario, when risky assets lose all their value, the "non-rebalanced portfolio" will consist almost entirely of cash, with zero growth rate in the long run. On the other hand, if the risk asset grows exponentially, it will quickly dominate the "non-rebalanced portfolio" and thus grow at the same rate as the risk asset.


It is worth noting that both assets can share the same "asymptotic growth rate of wealth" , but there is also a large difference in performance. For example, if the growth rate of risky assets is zero, then the value of Uniswap with zero fees will always be lower than that of "non-rebalanced portfolio", but because neither is expected to compound growth or loss over time, the value of both Wealth growth rates will all be zero.


2.2 Fluctuation resistance



Swing resistance for 50% How Losses/75% Gains Work


To understand these results, it is important to first understand the concept of volatility resistance. Assume that each year our risky asset price either falls 75% or rises 50%, with equal probability of both happening.


In any given year, if we invest $100, the "expected value" is 50/2+175/2=$112.5. If just buy and hold, the portfolio is expected to grow 12.5% annually - which seems like a good deal.


Unfortunately, in the real world, our profits don't actually materialize. If we buy and hold this combination, we end up losing everything. This is because, over time, increased wealth comes with huge losses.


If you lose 50% in the first year and gain 75% in the second year, at the end of the second year The balance will only be 50%*175%=87.5%. Similarly, if the profit is 75% in the first year and the loss is 50% in the second year, the balance at the end of the second year is still 175%*50%=87.5%. Over time, the internal rate of return under the law of large numbers will be -12.5% annualized and will inevitably go bankrupt.


2.3 What's going on?


You may find the above conclusions strange or even wrong.


Actually, expected value is a theoretical quantity used to measure what would happen if we replicated a given "gambling" behavior "simultaneously". But in fact, each "gamble" is carried out sequentially, and the results will be formed over time.


Bringing in the numbers, when we gamble over and over with a "-50%/+75%" win rate, reinvesting our money each time, The expected value grows dramatically, mainly because there are only a few paths that go exactly right, leading to astronomical returns. But over time, those paths make up a smaller and smaller proportion of all possible paths, and the odds that we actually see one of them materialize shrink to zero.


2.4 The value of rebalancing


In the face of volatility, even though the expected value may be positive For investment decisions, it is also necessary to reserve part of the funds. In this way, when something goes wrong, the loss can be reduced, which will bring compound benefits in the long run.


When the price rises, close some of your positions to lock in profits in case the price falls again. When prices are falling, it is sometimes necessary to buy low for an anticipated future return.


In some cases, the best strategy is to continually adjust the portfolio so that a fixed percentage of wealth is invested in each position, such as half cash, half of risk assets. But it's not always the best balance, generally speaking, the more risky assets you want in your portfolio, the higher their returns relative to their volatility.


The benefits of rebalancing long-term wealth growth can be huge, and can mean the difference between profitability and bankruptcy. This is the result even if the price of each rebalancing transaction is unfavorable and causes an instantaneous loss.


2.5 Alchemy



Fees start from 0%


In the above setup, more frequent rebalancing at minimal cost would benefit LP. Therefore, the fee needs to be set to >0% to reduce price volatility and trigger rebalancing. But when the fee is exactly = 0%, all the benefits of rebalancing disappear, and there is a high probability that LP will be worse off than when holding a non-rebalanced portfolio.


Uniswap uses a "constant product" invariant, which means that in the absence of fees, the product of reserve balances must remain constant for each transaction. This article is denoted as Rα Rβ=C, although readers already familiar with Uniswap may be more accustomed to x*y=k.


However, it turns out that this C has to be incremental in order for rebalancing to provide us with wealth growth. In the case of free, C will remain unchanged, and there will be no engine for wealth growth.


A non-0% fee implemented in Uniswap or the previous setup ensures that C increases with every trade. C increases over time, meaning that the reserve balance is not only growing, but also balanced, providing a benefit.


3 Mathematics


To sum up, it is now possible to accurately answer the question raised by Charlie Noyes question. To repeat, they're looking at wealth growth rates for AMMs like Uniswap that charge 1−γ percent fees and form a market between cash and an asset whose price follows a geometric Brownian motion Variations in the form of , with parameters μ (offset) and σ (volatility).


3.1 Growth rate of LP assets




3.2 Optimal cost and excess return


if and only if μ> ;0 and




Becoming an LP than holding a non-rebalanced portfolio of half cash and half tokens There are more benefits.


In this case LPs should set their fees to the lowest possible value instead of 0% and their asset growth rate will be around μ /2 - σ²/8.


3.3 Explanation


Since "geometric Brownian motion" simulates compound growth, they also Affected by fluctuation resistance, the asset growth rate of GBM can be expressed mathematically as -σ²/2:


G=μ-σ²/2


This means in scope


< img src="https://image.theblockbeats.com/upload/2020-12-06/bc10b2aa98498223b5184a938e2d0f8c5d0d8f50.png">

Inside, the LP on Uniswap corresponds to the asset growth rate of - µ < G < µ/3.


This result shows that rebalancing can offset some of the effects of underlying asset volatility.


On the other hand, if the average return without the volatility effect is positive:


If The loss caused by volatility exceeds 200% of its average return, and Uniswap's rebalancing will not remove enough volatility effects. In this case, it is best to hold cash.


If the loss from volatility is less than 66% of its average return, it will not be worth the cost of rebalancing through Uniswap to offset the impact of volatility Yes, it's best to just hold on to assets at this point.


To this extent, becoming an LP of Uniswap can generate income.


Original link



Welcome to join the official BlockBeats community:

Telegram Subscription Group: https://t.me/theblockbeats

Telegram Discussion Group: https://t.me/BlockBeats_App

Official Twitter Account: https://twitter.com/BlockBeatsAsia

举报 Correction/Report
Choose Library
Add Library
Cancel
Finish
Add Library
Visible to myself only
Public
Save
Correction/Report
Submit