1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-01 07:45:40 +01:00
docs/data-farming/apys.md

38 lines
1.7 KiB
Markdown
Raw Normal View History

2023-11-05 11:07:32 +01:00
---
description: >-
From emissions, estimate APYs
---
# APYs
2023-11-06 07:00:41 +01:00
<figure><img src="../.gitbook/assets/gif/many-penguins.gif" alt=""><figcaption><p>Multiply, and multiply again. And again.</p></figcaption></figure>
2023-11-06 13:18:45 +01:00
**This page** is about APYs. There's also [estimates of APY vs time](apys-plot.md) and [a guide to estimating APYs](apys-guide.md).
2023-11-05 11:07:32 +01:00
# About APYs
2023-11-06 12:07:19 +01:00
### Source of Rewards
2023-11-05 11:07:32 +01:00
2023-11-06 12:07:19 +01:00
Rewards are earned by users that participate in one or more Data Farming streams. Passive DF allows passive holding of veOCEAN; Active DF streams require more work from the user.
2023-11-05 11:07:32 +01:00
2023-11-06 12:07:19 +01:00
Historically, annual percentage yields (APYs) are 5-15%. See for yourself: in [DF app](https://df.oceandao.org/activerewards) and scroll down to "Data Farming History".
2023-11-05 11:07:32 +01:00
2023-11-06 12:07:19 +01:00
You can do your own APY estimations. In Passive DF, APY is highly dependent on the locked amount *and* duration of lock. In other DF streams, there are other factors.
2023-11-05 11:07:32 +01:00
2023-11-06 12:07:19 +01:00
### Definition of Yield, WPY, APY
2023-11-05 11:07:32 +01:00
2023-11-06 12:07:19 +01:00
A **yield** is the relative gain in value compared to the amount you started with. Specifically:
2023-11-05 11:07:32 +01:00
2023-11-06 12:07:19 +01:00
`yield = (start amount + gained amount) / (start amount) - 1.0`
For example, if you start with 1000 OCEAN and earn 5 OCEAN:
`yield = (1000 + 5) / (1000) - 1.0 = 0.005`
We can express yield as a percentage simply by multiplying by 100 (%). For example, yield of `0.005` in percentage is `0.005 * 100% = 0.5%`.
2023-11-05 11:07:32 +01:00
2023-11-06 12:07:19 +01:00
The yield for one week is **Weekly Percentage Yield**, or **WPY**. For example, if you started with 1000 OCEAN and earned 5 OCEAN from DF, in one week, then your WPY = 0.005 = 0.5%.
2023-11-05 11:07:32 +01:00
2023-11-07 09:20:16 +01:00
The yield for one year is **Annual Percentage Yield**, or **APY**. APY can be estimated from WPYs. Assuming no compounding, `APY = WPY*52`. We drill deeper in the [guide to estimate APYs](apys-guide.md).
2023-11-05 11:07:32 +01:00