Closed jrhea closed 3 months ago
after some rigorous economic analysis I have determined the next sDai rate move will be lower
rule of thumb for LP loss: your_loss_as_a_percentage = Δrate * arb_trade_size / liquidity
let's verify that empirically
intuition:
checks out
formula
effective_spot_price = trade.base_proceeds / trade.bond_amount
effective_interest_rate = (1 - effective_spot_price) / effective_spot_price
arb_return = variable_rate - effective_interest_rate
lp_return = variable_rate - arb_return * arb_base_proceeds / lp_liquidity
should we: pinch off this issue with #s 1-2 and start a new issue with the remaining questions, along with some new ones like:
or just change the deadline to something like Apr. 5?
@jrhea do you mean comparing sDai vs. Uniswap or LPing in an sDai Hyperdrive pool vs. Uniswap?
remaining for #2: summarize impact of low initialization at 5% going to high rates vs. high initialization at 15% going to low rates
summarizing remaining #s:
Ask @jalextowle about the min share reserves for dai and steth and update @wakamex's rule of thumb analysis:
Rule of thumb for estimating a timestretch APR's reasonable rate discovery: ts_apr *4. For example, if ts_apr=5% then price discovery is smooth (linear) until ~20%.
The minimum share reserves is 10e18 for DAI and 1e15 for ETH
Using those minimums works (10e18 for DAI and 1e15 for ETH), with the following recommendations: time stretch of 5% works well for rates up to 15-20% even with low liquidity time stretch of 10% works well for rates up to 40% even with low liquidity time stretch of 20% works well for rates up to 80-100% even with low liquidity I'd probably still want to re-run some analysis for some instances, but this should cover the majority of cases
With the DSR moving from 5% to 15%, we need to decide how to configure this yield source. We don't want to do anything cute like configure it to 5% and initialize it to 15%.
1) factory would prevent this 2) spearbit found an issue that leads to insolvency if this were to be allowed. a fix was applied, but we should still keep this in mind: https://github.com/spearbit-audits/review-element-february/issues/51
Things to consider: 1) how long do we expect the DSR to stay at 15%? This will require a time stretch that allows for more slippage. 2) if the DSR were to move back down to 5%, how much would LPs lose? 3) how much volume could the pool support at a 15% slippage? 4) if the pool was configured with a time stretch of 5%, then the variable moves to 15% - would the pool support this? What would happen to available liquidity as the shorts that pushed the rate to 15% mature. In other words, lets plot idle liquidity and share adjustment 5) Re-run fuzz tests configured for 15%