Yield Yak Upgrades Farm APY Calculations

Yield Yak now displays faster updates to changing yield conditions, enabling users to make better decisions while using the platform.

Yield Yak displays returns from actual and recent performance

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:

  • Reward token emissions and prices
  • Deposit/withdrawal activity on underlying farms
  • Trade execution costs (vs market price)
  • Overall C-Chain activity for block-based rewards
  • Frequency of reinvestments as affected by gas costs (i.e. AVAX price and market gas prices) and community activity
  • 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 Drawbacks of Historical Data

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.

Adding Weight to Recent Returns

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

Feedback Welcome

Your feedback powers Yield Yak. Today’s change is initiated from community feedback.




Earn more yield. Tools for defi users on Avalanche.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Buddy.works Building Pipelines

Import Your Todoist Tasks Into Roam Research

Sideloadly — Cydia Impactor alternative ( Up to iOS 14 )

Kubernetes for dummies: Life of a Pod

What Java got better than C#

Monitoring Spring Boot Microservices

Modelling Time in Unity

How the Godfather of Cyberpunk would write software

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yield Yak

Yield Yak

Earn more yield. Tools for defi users on Avalanche.

More from Medium

Pangolin Introduces ‘Super Farms’ — The New Yield Farming Model Changing DeFi

Kassandra Humble Farmer Strategy

Yak Guides take you through how to leverage YAK as collateral and the Moremoney partnership

QiDao Weekly Updates — Week 34 (12/20–12/26/2021)