timewave-computer / valence-services

Other
3 stars 0 forks source link

[EPIC] Make business metrics easily accessible for the Rebalancer #40

Open uditvira opened 5 months ago

uditvira commented 5 months ago

We need the certain information easily accessible to give us an insight about how the rebalancer is doing (e.g., do we have sufficient market making capacity)

Summary of information we need

This information should be easily accessible for non technical people on the team. Ideally, this can be scripted up and available as a JSON. We can build a UI around this in the future


Tasks

stiiifff commented 5 months ago

Some basic metrics:

maximusdm1 commented 5 months ago

Questions:

  1. For these, is it by auction or by account? "When did the last rebalancing occur, When will the next rebalancing occur, What was the volume in the last rebalancing"

  2. Is this metric the amount of capital we were short in order for our market making to handle the full amount? "From the last rebalancing, how much was successfully auctioned off vs. how much was returned back to the users"

Requests

  1. [high priority] If the answer to #2 above is "yes", can we trigger some sort of automatic alert if it is ever greater than 0 so that I can respond quickly?

  2. [medium low priority] would be great to have churn metrics. how much capital has remained in the system, how much as left the system, and how much is net-new.

uditvira commented 5 months ago

Discussed with @maximusdm1 on a call:

Art3miX commented 4 months ago

This should be a milestone rather then a single issue, we have separate parts to this issue, and separate uses for those parts.

stiiifff commented 4 months ago

Agreed. I suggest to keep this issue as is though (and leave it in "On hold" ) state, and to link to it from newly created finer-grained ones.

uditvira commented 3 months ago

Revising this:

Updated this above

stiiifff commented 2 months ago

@elenamik @Art3miX to sync and define what remains to be done for this issue (please update the issue once you've synced).