APR calculation
On the main website, you can see a list of vaults with APR numbers
Tetu has three types of vaults:

Vaults with 100% buybacks and pure TETU rewards

These types of vaults use all profit for buyback TETU tokens.
Users get rewards only in TETU tokens.
However sometimes you can see a low Autocompound APR - it is a specific fluctuation of some strategies and should not be count.
APR formula:
APR=RTVLD365APR = \frac{\frac{R} { TVL}}{D} * 365
Where
R: reward amount in USD = rewardsForFullPeriodUsd * periodRate
rewardsForFullPeriodUsd = vault.rewardRateForToken() * vault.duration() * Price
periodRate = (vault.periodFinishForToken() - now) / vault.duration()
TVL - Total Value Locked in USD
vault.underlyingBalanceWithInvestment() * underlyingPrice
D - reward duration in days
vault.duration() / (60 * 60 * 24)

Vaults with 99% autocompound

These types of vaults are marked with specific sign.
They use 99% of profit to buy underlying assets and redeposit it into the vault to increase value with time.
For understanding how it works you should know the mechanics of the Vault.
When you deposit into the Vault you get xToken - it is an interest-bearing token for this vault and a ticket for getting deposited assets back. xTETU is one of them but each Vault has an individual xToken (xNAME_OF_VAULT)
Each Vault has a Price Per Full Share (PPFS) - it is a ratio between underlying asset and xToken
When you deposit an asset you get xToken in this proportion.
For example, if you deposit 1000 USDC with PPFS 1.5 you will get ~666 xUSDC
If you withdraw your assets with 666 xUSDC and PPFS increased to 1.8 you will get ~1198 USDC
APR formula includes some period of work
We are getting two points of time
PPFSChange = endPPFS - startPPFS
Time = endTime - startTime
APR=PPFSChangeTimeYearSecondsAPR = {\frac{PPFSChange}{Time}} * YearSeconds
​On the UI we are showing an average value of APRs for the last 7 days (with 1 day step)
Autocompounded vaults can have claimable xTETU rewards - they will be shown together

Vaults with underlying vaults

Some vaults uses other vaults as underlying.
Currently dxTETU uses xTETU as underlying. TetuSwap vaults does something similar with two vaults connected to a swap pair.
We are showing underlying vaults APR as additional income.
It is a dedicated calculation - the main Vault can have individual autocompound APR + rewards APR

Vault Description

The description and income source of each vault can be checked by hovering the mouse over the APY.
Last modified 3mo ago