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: 57.32%(-0.01%/24h)
ETH Dominance: 12.15%(-0.02%/24h)
Defi Market Cap: $115.5B(-2.20%/24h)
Total Market Cap: $3319.51B(-0.98%/24h)
Total Trading Volume 24h: $152.92B(+3.52%/24h)
ETH Market Cap: $403.64B
Defi to ETH Ratio: 28.61%
Defi Dominance: 3.33%
Altcoin Market Cap: $1416.86B
Altcoin Volume 24h: $99.73B
Total Cryptocurrencies: 32950
Active Cryptocurrencies: 10455
Active Market Pairs: 95097
Active Exchanges: 771
Total Exchanges: 9802
BTC: 96117.28$(0.33%/1H)
ETH: 3352.65$(0.71%/1H)
AVAX: 37.08$(0.68%/1H)
BNB: 677.76$(0.99%/1H)
MATIC: 0.48$(0.54%/1H)
FTM: 0.99$(0.73%/1H)
ADA: 0.9$(0.54%/1H)
DOT: 7.04$(0.99%/1H)
UNI: 13.88$(0.7%/1H)
CAKE: 2.42$(1.13%/1H)
SUSHI: 1.45$(0.44%/1H)
ONE: 0.03$(1.79%/1H)