Skip to content

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

@uditvira

Description

@uditvira

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

  • Number of accounts (separated out by active and inactive/paused) - This is done
  • Total amount being managed in valence accounts - We decided not to calculate the total value, instead we can just calculate the aggregate balances of each individual denom across all accounts
  • When did the last rebalancing occur - The purpose of this is to ensure that the rebalancer is running each day. We can monitor this on Slack now thanks to the slackbot
  • When will the next rebalancing occur - It occurs at midnight UTC
  • What was the volume in the last rebalancing - This is coming through in the slackbot
  • From the last rebalancing, how much was successfully auctioned off vs. how much was returned back to the users due to lack of market making activity We decided to remove this, given our mm contract is successfully running and the arb bot is about to be functional
  • For each auction, what was the price of the last successful bid - Missing, will be fixed soon
  • For each auction, how does the price of the last successful bid compare to prices on a CEX - This is handled by the front end

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions