yearn / yearn-exporter

Realtime and historical Yearn metrics
https://yearn.vision
MIT License
95 stars 146 forks source link

bug: net apr > gross apy #625

Open 0xBasically opened 1 year ago

0xBasically commented 1 year ago

how is it that net > gross, when net is gross - fees ?

0xBasically commented 1 year ago

At the moment we show gross apr and net apy. One is with compounding and one is without. Thus the calculation is not as simple as gross - fees. This can be seen here https://github.com/yearn/yearn-exporter/blob/master/yearn/apy/aero.py#L20 image Can be something we look to clarify / make more intuitive in the future.