How APR is calculated
The total APR is combined by the LP fee APR.
LP fee
Theoretically speaking, given a price range and liquidity user about to add, we can estimate the expected future 7 days fee as following
: Fee amount accrued in the user specified price range in last 7 days
: Current liquidity in the user specified price range
: Liquidity user want to add to the price range
Fee in range
For , we use the historical trading volume data, fee tier and historical price data to estimate the price in range
: Fee tier
: Total trading volume of last 7 days
: Duration, measured in seconds, of prices staying within the price range in the past 7 days
: 7 days measured in seconds
Last updated