Skip to content

Price data update #82

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

Merged
merged 2 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,19 @@ page](https://blockchain-technology-lab.github.io/tokenomics-decentralization/se
### Price information

The directory `price_data/` contains information about the supported ledgers'
market price. Each file in this folder is named `<project_name>.csv` (for the
market price. Each file in this folder is named `<ledger>-USD.csv` (for the
corresponding ledger). The csv file has no header and each line contains two
comma-separated values:
(i) a day (in the form YYYY-MM-DD);
(ii) the USD market price of the token on the set day.
(ii) the USD market price of the token on the set day (specifically its opening price).

All price information is currently obtained from CoinGecko.

To contribute price information you can either update an existing file, by
adding entries for days where data is missing, or create a new file for a
newly-supported ledger and add historical price data.


## Add metrics

To add a new metric, you should do the following steps.
Expand Down
5 changes: 2 additions & 3 deletions docs/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,5 @@ There are also three command line arguments that can be used to customize the da

## Historical prices

The historical market prices (available in `price_data`) were collected from
[CoinMarketCap](https://coinmarketcap.com/) and
[Statista](https://www.statista.com/).
The historical market prices for all coins (available under `price_data`) were collected from
[CoinGecko](https://www.coingecko.com/).
Loading
Loading