-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Milestone
Description
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 activityWe 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
- Udit to summarize what the metrics we need and get sign off from everyone on the team
- Yan to make a decision about which Indexer to use
- Reece's https://github.com/Reecepbcups/interchain-indexer
- Subquery https://academy.subquery.network/indexer/quickstart/quickstart_chains/cosmos-neutron.html
- A secret third one?
- Yan to add Events or Queries in the Rebalancer and Auction code so that everything can be indexed
- Yan to create a basic API for the metrics we decided on for v0.0.1 - In progress
-
Udit to create a new issue for alerting on key metricsSuperseded because Yan has made the slackbot - Create slackbot
- Indexer - create transformers #66
Metadata
Metadata
Labels
No labels