Now remember that the pool constant k grows over time. The growth is proportional to the turnover of the pool and to the fees charged so we can write k' = k * (1 + t * f) where t is the turnover as a fraction of pool assets, and f is the liquidity fee (0.3% in Uniswap v2)
-
Show this thread
-
Using that in the expression for the P&L, expanding in powers of tf and simplifying, we get P&L = √(kp) * [tf - r^2/4] = x * (tf - r^2/4)
1 reply 1 retweet 5 likesShow this thread -
Taking an expectation on both sides and dividing through by x to get a return, we get E(return) = E(tf) - sigma^2/4. If you have estimates for the turnover in the pool and the realized volatility, this tells your your expected return for providing liquidity over one time period.
1 reply 1 retweet 8 likesShow this thread -
If you set that expected return to zero you get an "implied volatility" of sigma = 2 * √E(tf). Unlike option implied volatility you can't observe this directly (only indirectly in the form of time-series averages of pool turnover) but you /can/ compare it to your estimate ...
1 reply 2 retweets 8 likesShow this thread -
... of realized volatility to determine whether providing liquidity in the pool is likely to be profitable or not. You can also calculate the "gamma" for the pool which tells you (a) how sensitive your P&L will be to price jumps and ...
1 reply 1 retweet 9 likesShow this thread -
... (b) how often you need to adjust your futures position to remain market neutral.
1 reply 1 retweet 6 likesShow this thread -
Some extensions to this - 1. In some liquidity pools you receive governance tokens for participating, which increase the yield (assuming you sell them) 2. You may pay or receive funding fees on the futures position, which should be added/subtracted from the liquidity fee yield
1 reply 1 retweet 8 likesShow this thread -
3. It costs money to adjust your futures hedge so you shouldn't re-hedge too frequently, there is probably an interesting avenue of research for "optimal delta hedging" in liquidity pools.
2 replies 1 retweet 16 likesShow this thread -
Ugh - I wanted to shout out another account that did a thread about viewing liquidity pool stakes as covered calls and trading liquidity tokens as options, but I can't find it now. If someone could please link it that would be very helpful!
7 replies 1 retweet 20 likesShow this thread -
Replying to @macrocephalopod
Not the blog you’re looking for, but you can generalize the options interpretation past just Uniswap to general CFMMs (Curve, Balancer, etc.); see the appendix ofhttps://arxiv.org/abs/2012.08040
2 replies 0 retweets 6 likes
Nice, just glanced at it but it looks like the more mathematical, much better thought through version of what I’m doing here.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.