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, predictoor_v0.1] Create basic dashboard for Predictoors #1325

Closed
5 tasks done
KatunaNorbert opened this issue Jul 1, 2024 · 3 comments · Fixed by #1326
Closed
5 tasks done

[analytics, predictoor_v0.1] Create basic dashboard for Predictoors #1325

KatunaNorbert opened this issue Jul 1, 2024 · 3 comments · Fixed by #1326
Assignees
Labels
Type: Enhancement New feature or request

Comments

@KatunaNorbert
Copy link
Member

KatunaNorbert commented Jul 1, 2024

Target
Create a simple analytics dashboard for predictoors using the chain data from the lake
Super epic issue can be found here
UI should follow the layout from here

To do:

  • Create basic empty dash app that could be started from command line and opens a browser window

  • Display all the feeds and predictoor addresses, enable selection, and store them in state

  • Display following charts for a given list of feeds and predictoor addresses:

  • Profit ( staked amount - payout amount)

  • Accuracy ( how accuracy evolved over the time, similar to what we have in simulations )

  • Costs( staked amount )

  • Write tests for used functions and dash elements

  • Update readme

As source data for charts use payouts table

@calina-c
Copy link
Contributor

calina-c commented Jul 2, 2024

I'm wondering if all these dashboards should be merged at some point. I am counting:

  • the sim plots dashboard
  • the arima dashboard
  • the lake description dashboard
  • now the predictoor dashboard would be the 4th.

Is there no logical overlap that warrants unification. between some of these?

@KatunaNorbert KatunaNorbert changed the title [analytics, predictoor] Create basic dashboard for Predictoors [analytics, predictoor_v0.1] Create basic dashboard for Predictoors Jul 2, 2024
@kdetry kdetry self-assigned this Jul 2, 2024
@KatunaNorbert
Copy link
Member Author

Is there no logical overlap that warrants unification. between some of these?

I don't see much overlapping between this, maybe something between predictoor dashboard and sim dashboard

@KatunaNorbert
Copy link
Member Author

KatunaNorbert commented Jul 3, 2024

The scope of this issue is to create the most basic dashboard for Predictoors, while trying to encapsulate the most valuable data from the lake and the goal has been reached:
Screenshot 2024-07-03 at 10 01 29

As you probably think looking at the UI there are multiple updates we can do to make the data easier to read and search, but we will handle all of that in the next version

For the scope of shipping the v0.1 let's just handle the minimal enhancements without updating the layout and components. A few a can think of are:

  • Plots legend updates: the same legend is shown for each plot, we only show it once and win some space. Also to make it easier to follow, instead of feed address display the feed pair + timeframe, so legend will be 0x012 - BTC/USDT-5m
  • Make tables searchable. It's hard for now to find a specific predictoor address so we could have a quick win by making table searchable if the component allows us
  • Handle no data found in lake. When no data is found in lake or there is an issue with ppss the app should display a message describing the issue and not break
  • The X axis of the plots, which is the slots value is hard to follow. Find another way to display it, maybe using date format or just better way to display the slot value than 1.7199M like simply 1719900

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

Successfully merging a pull request may close this issue.

3 participants