Skip to content

Commit 578c611

Browse files
Price data update (#82)
* Update price data * Update price source in docs
1 parent a54f4fb commit 578c611

9 files changed

+23681
-8300
lines changed

docs/contribute.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,19 @@ page](https://blockchain-technology-lab.github.io/tokenomics-decentralization/se
5050
### Price information
5151

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

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

65+
6366
## Add metrics
6467

6568
To add a new metric, you should do the following steps.

docs/data.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,5 @@ There are also three command line arguments that can be used to customize the da
197197

198198
## Historical prices
199199

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

0 commit comments

Comments
 (0)