APR vs. APY

Annual Percentage Rate (APR)

Refers to the simple interest accrued from a particular investment over a 1 year period.

Annual Percentage Yield (APY)

Refers to the compounded interest accrued from a particular investment over a 1 year period. APY reflects more accurately the expected yearly returns of that investment. To achieve APY from APR for now, you need to manually compound your earnings daily on FarmHero.
Basically,
APY=Math.Pow(1+APR/365,365)1APY = Math. Pow(1+APR/365, 365) - 1
Learn About Simple Interest and Compound Interest
Investopedia
Last modified 5mo ago