bitshares-core icon indicating copy to clipboard operation
bitshares-core copied to clipboard

Network Value to Transactions Ratio Data Collection and Visualization

Open ryanRfox opened this issue 7 years ago • 5 comments
trafficstars

User Story As an interested party I want to collect and display daily active use and the value of operations within the BitShares Platform so that I may make proper comparisons to other industry entities.

Impacts

  • [X] Other: External perception

Additional Context Reference Material: Network Value to Transactions Ratio

BitShares currently implements a plugin for Elasticsearch and Kibana may be used for visualization. The need is to extract the data in a usable format for further analysis. Scenarios include:

  • Total number of active users (daily, monthly) performing various operations (transfer, order create/cancel/fill, etc.)
  • Total value contained within various operations (transfer, order create/cancel/fill, etc.) in time series (daily, monthly)
    • Note "value" should be based on BTS to ensure consistent aggregation and comparison
    • For market pairs not containing BTS, a conversion is likely needed

Note: This is note "Core" work, but important to the community. Any solution must be provide with the MIT license.

CORE TEAM TASK LIST

  • [ ] Evaluate / Prioritize Feature Request
  • [ ] Refine User Stories / Requirements
  • [ ] Define Test Cases
  • [ ] Design / Develop Solution
  • [ ] Perform QA/Testing
  • [ ] Update Documentation

ryanRfox avatar Sep 28 '18 21:09 ryanRfox

Those information could be visualized in Kibana:

Limitations of Kibana:

  • The BTS amounts should be divided by the asset precision. This information is not in ES.
  • To get the BTS amount for other operations than transfers it will require additional computation on top of elasticsearch extraction;
  • On transfers only the user that triggers the transfer is counted, the "reciever" is not counted as an active user, in order to do that additional computation is required;
  • It's not possible to display nicely operation type names in Kibana (only the internal number), additional computation is required;
  • Any conversion of pairs is impossible in Kibana/ES as it requires information not in ES

The Bitshares Explorer API could be updated to serve those datas in a REST/Json usable format. Then the open-explorer could be updated to display it.

Zapata avatar Sep 28 '18 23:09 Zapata

I think this is more a feature request for https://github.com/bitshares/bitshares.org repository.

abitmore avatar Sep 29 '18 09:09 abitmore

I think it can be a good idea if we make some of this data available at https://github.com/oxarbitrage/bitshares-explorer-api and then bitshares.org, open-explorer and others can have it.

oxarbitrage avatar Sep 29 '18 11:09 oxarbitrage

bitshares europe has a few things in the works that maybprovide what you are looking for .. let me deploy it more publicly so you can see what i am talking about

xeroc avatar Mar 02 '19 19:03 xeroc

@oxarbitrage and I are working with Flipside Crypto to build a schema which will describe our blockchain data. You may learn more about their offerings here: https://docs.flipsidecrypto.com/

ryanRfox avatar May 17 '19 15:05 ryanRfox