Skip to content

Commit a08cdbe

Browse files
committed
[docs] Describe price info contribution
1 parent cc59a77 commit a08cdbe

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/contribute.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,16 @@ list of dictionaries with the following information:
3737
To contribute mapping information you can either update an existing file, by
3838
changing and/or adding some entries, or create a new file for a newly-supported
3939
ledger.
40+
41+
### Price information
42+
43+
The directory `price_data/` contains information about the supported ledgers'
44+
market price. Each file in this folder is named `<project_name>.csv` (for the
45+
corresponding ledger). The csv file has no header and each line contains two
46+
comma-separated values:
47+
(i) a day (in the form YYYY-MM-DD);
48+
(ii) the USD market price of the token on the set day.
49+
50+
To contribute price information you can either update an existing file, by
51+
adding entries for days where data is missing, or create a new file for a
52+
newly-supported ledger and add historical price data.

0 commit comments

Comments
 (0)