-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Feat/update data respone #4701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Feat/update data respone #4701
Conversation
|
The moneyfi adapter exports: |
|
@TuanTwendee we don't accept cumulative fees/revenue, it's calculated field, based on the dailyFees and dailyRevenue, |
|
@TuanTwendee and please work on the latest file from the main branch, as you are reverting many changes i did in last PR |
|
Sure, I will update it. Thank you for letting me know! |
Can you please give me your calculation so I can compare it with my system to make sure the data is correct? |
This PR adds cumulative fee and cumulative revenue metrics using the MoneyFi statistics API.
Cumulative Fees = claimed_moneyfi_revenue * 5
Cumulative Revenue = claimed_moneyfi_revenue
Data is taken from:
https://api.moneyfi.fund/statistics
Specifically, I want to better understand how the following values are calculated and interpreted:
Fees (Annualized)
Fees 30d / 7d / 24h
Cumulative Fees
Revenue (Annualized)
Revenue 30d / 7d / 24h
Cumulative Revenue
I want to confirm the exact definitions so that the adapter output aligns perfectly with what the dashboard expects. Thank you!