Skip to content
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

[Analytics] Extend plot_predictoor_income.py #623

Closed
8 tasks done
idiom-bytes opened this issue Feb 15, 2024 · 1 comment
Closed
8 tasks done

[Analytics] Extend plot_predictoor_income.py #623

idiom-bytes opened this issue Feb 15, 2024 · 1 comment
Labels
Type: Enhancement New feature or request

Comments

@idiom-bytes
Copy link
Member

idiom-bytes commented Feb 15, 2024

Motivation

We want to extend the plots generated to obtain insights into predictoor_income
The goal here is to simply serve the data from the lake, to the dashboard with very few calculations.

We're going to now create the remaining 2x plots
image

DoD

  • extend plot_predictoor_income.py to render two additional plots revenue and expenses
  • revenue will break down revenue by type (stake, df, etc...)
  • expenses will break down losses as a result of guessing incorrectly (for now... no fees, etc..)
  • to complete these plots, review the bronze_predictions table to improve how we estimate losses, and improve data enrichment.
  • plot should support multiple user addresses (user_ids), and feeds (contract_ids) that sum/show the total.
  • tests should cover both single and multiple user addresses as a filter
  • tests should cover both single and multiple feeds as a filter
  • verify that basic plot is rendering as expected
@idiom-bytes
Copy link
Member Author

Tracking outstanding items in #1299 and closing issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant