How APY is calculated
How APY is calculated
The APY on Yield Oracle is measured, not promised. It comes from what stakers were actually allocated in recent rounds.
No round has closed with rewards yet, so there is no APY to show. Here is exactly how the number will be made.
The daily rate
Each closed round is one UTC day. Its rate is the SOL allocated to stakers in that round, valued at the SOL price when the round closed, divided by the average dollar value that was staked and earning during the round.
Average value staked
A round's total weight is the sum of every eligible stake's dollar minutes. Divided by the minutes the site counted in that round, it gives the average dollar value that was earning. Stakes that were paused by the requirement are not in it.
APY and APR
daily rate = rewards in USD / average value earning APR = mean daily rate over the last 7 rounds x 365 APY = (1 + mean daily rate) ^ 365, minus 1
The APY assumes the SOL you earn each day keeps earning at the same rate. The APR does not. The site shows both where it has room.
A worked example
A round allocates 2 SOL to stakers and SOL is at $150, so the stakers earned $300. Stakes worth $60,000 on average were earning. The daily rate is 300 / 60,000 = 0.5%. The APR is 0.5% x 365 = 182.5%. The APY is 1.005 to the power of 365, minus 1, which is 517.5%.
What moves it
- More trading of $ORACLE means more creator rewards and a higher rate.
- More value staked means the same rewards are split more thinly.
- The price of SOL moves the dollar value of the rewards.
- The prices of the staked coins move the dollar value staked.
A pool's APY
Every stake is paid by the same rule, a dollar staked is a dollar staked, so a pool's APY only differs from the protocol's when some of its stakers were paused by the requirement or joined part way through a round.
Before the first round
No closed round, no APY. The site shows 0% and says why, rather than a projection.