APY Calculations
We display APY projections based on different timeframes: 7d, 30d, and 90d. If a vault is new, the displayed timeframe will reflect the period from its launch date to today.
For example, the APY is calculated using the current PPS (Price Per Share) compared to the PPS from 30 days ago. This means the displayed APY reflects a strategy's performance over the past month.
While APY is based on historical performance and not guaranteed, it provides a clear insight into what depositors earned during that timeframe.
startValue = share price at starting date
endValue = share price today
grossReturn = (endValue - startValue) / startValue
grossAPY = (1 + grossReturn) ** (365 / daysElapsed) - 1
netReturn = grossReturn * (1 - vaultPerformanceFee)
netAPY = (1 + netReturn) ** (365 / daysElapsed) - 1;
Last updated