Pool Yield
This document describes how pool yield is calculated in the Cauldron user interface. See also Aggregated Pool APY.
Pool Yield
Pool Yield is calculated as follows
Where K is the CPMM formula of a Cauldron liquidity pool.
Yield is collected by increasing K with every trade. The constant product is squared in the yield formula to get a more accurate representation of the yield. The CPMM formula (K = x * y) creates a non-linear relationship between the liquidity pool size and the impact of liquidity provision on asset prices and trading.
APY
Pool APY is calculated as follows:
where annualization factor is
and days elapsed is
The annualization factor (\(\frac{365.25}{\text{days elapsed}}\)) scales the yield to an annual basis, compensating for shorter active periods by calculating how much yield would accumulate if the observed rate continued over a full year.