Yield Yak Improves Farm APY Calculation

Published on: 05.01.2022

Yield Yak calculates APY figures based on historical results. Yield Yak calculates yield differently to most defi applications. The usual method for displaying APY is an estimate based on rewards emissions and current reward price irrespective of any other factors.

Yield Yak uses historical data to show returns considering all other factors, including fees and slippage. Using the actual returns provides a more complete indicator of performance than simple estimates with current prices and reward emissions. Yield Yak APYs are impacted by many things, including:

1. Reward token emissions and prices

2. Deposit/withdrawal activity on underlying farms

3. Trade execution costs (vs market price)

4. Overall C-Chain activity for block-based rewards

5. Frequency of reinvestments as affected by gas costs (i.e. AVAX price and market gas prices) and community activity

6. Platform fees

Simple reward estimates do not take these factors into account which influence the actual returns achieved by users. YY is generally conservative with its published figures.

The downside of calculating rewards with historical data is that YY returns often do not match the reward estimates displayed on underlying farms. This tends to be a source of confusion for new users.

For example, if a reward token quickly doubles in price. YY displays the X% it achieved based on historical data whereas the underlying farm now displays 2X%.

This might also happen in case of a change to reward emissions, like this recent example:

APY calculations are a function of slope, which changes based on date range

The orange lines represent data for APY calculations. The dashed line uses the complete history of returns. The solid line uses more recent data, after an emission change. Different time ranges produce different results.

In the past, YY displayed APY based on a linear calculation using up to the 25 most recent data points. This means, it might take many hours or even days to reflect substantiative changes to returns on underlying farms.

Today’s release adds weight to the calculation, meaning that the most recent data points are considered more heavily in the calculation compared to less recent data. YY now reflects changes to underlying farm yields much faster while still taking a conservative approach to evaluating rewards based on actual performance.

The following formula shows the weighted calculation, where ROI is how much a given reinvest increased the value of deposits. For example, if a reinvest increased deposits from 100 to 101, ROI is 1%. APY is calculated as a function of the weighted result and time between reinvests.

Yield Yak’s Weighted Formula

“what this does is point out a sudden increase or decrease in APY faster. but still conservative if compared to the market.”
— SlowCheetah, Yak Dev

Yield Yak makes numbers go up. Ape into new autocompounder farms with quick releases and high yields. Swap on Yak for the best prices on trades with zero aggregator fees. Sit back and just earn, including big APYs on stablecoin farms.

SOURCE

https://yieldyak.medium.com/yield-yak-upgrades-farm-apy-calculations-d3fc247fbbf2

Market Stats:
BTC Dominance: 53.54%(+0.09%/24h)
ETH Dominance: 15.74%(+0.03%/24h)
Defi Market Cap: $86.13B(-11.57%/24h)
Total Market Cap: $2313.23B(-0.73%/24h)
Total Trading Volume 24h: $64.01B(-16.13%/24h)
ETH Market Cap: $364.42B
Defi to ETH Ratio: 23.63%
Defi Dominance: 3.54%
Altcoin Market Cap: $1074.83B
Altcoin Volume 24h: $38.58B
Total Cryptocurrencies: 29598
Active Cryptocurrencies: 9912
Active Market Pairs: 81928
Active Exchanges: 763
Total Exchanges: 8476
BTC: 62860.43$(0.1%/1H)
ETH: 3031.19$(0.12%/1H)
AVAX: 35.33$(-0.33%/1H)
BNB: 585.28$(0.19%/1H)
MATIC: 0.69$(-0.03%/1H)
FTM: 0.67$(0.14%/1H)
ADA: 0.44$(-0.03%/1H)
DOT: 7.08$(0.14%/1H)
UNI: 7.41$(-0.18%/1H)
CAKE: 2.63$(0.03%/1H)
SUSHI: 1.01$(-0.45%/1H)
ONE: 0.02$(-0.03%/1H)