Skip to content

Commit 81346fd

Browse files
USD threshold (#61)
* Add usd cent threshold * Add test for usd threshold * Use correct denominations * Fix tests * Remove cardano price data
1 parent e6f210b commit 81346fd

File tree

10 files changed

+570
-25
lines changed

10 files changed

+570
-25
lines changed

config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ ledgers:
1515
- bitcoin
1616
- bitcoin_cash
1717
- dogecoin
18-
- ethereum
19-
- litecoin
18+
- ethereum
19+
- litecoin
2020
- tezos
2121

2222
# Execution flags
@@ -32,6 +32,7 @@ analyze_flags:
3232
top_limit_value: 0
3333
exclude_contract_addresses: false
3434
exclude_below_fees: false
35+
exclude_below_usd_cent: true
3536

3637
# Plot flags
3738
plot_parameters:
@@ -40,8 +41,8 @@ plot_parameters:
4041
- bitcoin
4142
- bitcoin_cash
4243
- dogecoin
43-
- ethereum
44-
- litecoin
44+
- ethereum
45+
- litecoin
4546
- tezos
4647
metrics:
4748
- hhi

price_data/bitcoin-USD.csv

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
2013-04-01,135.3
2+
2013-05-01,127.98
3+
2013-06-01,95.39
4+
2013-07-01,110.34
5+
2013-08-01,137.76
6+
2013-09-01,131.65
7+
2013-10-01,203.88
8+
2013-11-01,1127.45
9+
2013-12-01,755.16
10+
2014-01-01,817.93
11+
2014-02-01,567.2
12+
2014-03-01,457.4
13+
2014-04-01,445
14+
2014-05-01,620.5
15+
2014-06-01,637.75
16+
2014-07-01,583.18
17+
2014-08-01,480.03
18+
2014-09-01,387.35
19+
2014-10-01,336.59
20+
2014-11-01,376.47
21+
2014-12-01,317.38
22+
2015-01-01,218.02
23+
2015-02-01,253.6
24+
2015-03-01,243.27
25+
2015-04-01,236.22
26+
2015-05-01,229.68
27+
2015-06-01,262.41
28+
2015-07-01,283.68
29+
2015-08-01,230.08
30+
2015-09-01,236.05
31+
2015-10-01,312.28
32+
2015-11-01,378.26
33+
2015-12-01,431.14
34+
2016-01-01,364.35
35+
2016-02-01,436.92
36+
2016-03-01,415.37
37+
2016-04-01,447.9
38+
2016-05-01,531.41
39+
2016-06-01,671.62
40+
2016-07-01,623.75
41+
2016-08-01,571.76
42+
2016-09-01,608.26
43+
2016-10-01,698.58
44+
2016-11-01,742.36
45+
2016-12-01,966.57
46+
2017-01-01,968.27
47+
2017-02-01,1190.33
48+
2017-03-01,1078.27
49+
2017-04-01,1349.89
50+
2017-05-01,2329.08
51+
2017-06-01,2490.75
52+
2017-07-01,2871.37
53+
2017-08-01,4702.94
54+
2017-09-01,4297.79
55+
2017-10-01,6368.65
56+
2017-11-01,10406.19
57+
2017-12-01,14839.59
58+
2018-01-01,9989.69
59+
2018-02-01,10709.39
60+
2018-03-01,6897.27
61+
2018-04-01,9325.63
62+
2018-05-01,7380.85
63+
2018-06-01,6182.26
64+
2018-07-01,8185.92
65+
2018-08-01,7024.15
66+
2018-09-01,6606.07
67+
2018-10-01,6331.78
68+
2018-11-01,4279.48
69+
2018-12-01,3809.73
70+
2019-01-01,3457.88
71+
2019-02-01,3813.38
72+
2019-03-01,4103.86
73+
2019-04-01,5199.76
74+
2019-05-01,8310.89
75+
2019-06-01,11972.56
76+
2019-07-01,9568.44
77+
2019-08-01,9588.99
78+
2019-09-01,8064.38
79+
2019-10-01,9171.87
80+
2019-11-01,7720.87
81+
2019-12-01,7240.43
82+
2020-01-01,9509.81
83+
2020-02-01,8717.33
84+
2020-03-01,6403.14
85+
2020-04-01,8744.43
86+
2020-05-01,9662.71
87+
2020-06-01,9185.17
88+
2020-07-01,11116.31
89+
2020-08-01,11701
90+
2020-09-01,10837.52
91+
2020-10-01,13537.17
92+
2020-11-01,18169.95
93+
2020-12-01,28837.29
94+
2021-01-01,34199.52
95+
2021-02-01,46653.53
96+
2021-03-01,58668.63
97+
2021-04-01,53596.7
98+
2021-05-01,35714.75
99+
2021-06-01,35968.99
100+
2021-07-01,41936.26
101+
2021-08-01,47124.25
102+
2021-09-01,41587.67
103+
2021-10-01,61837.26
104+
2021-11-01,57848.77
105+
2021-12-01,47191.87
106+
2022-01-01,37983.15
107+
2022-02-01,37803.59
108+
2022-03-01,47063.37
109+
2022-04-01,38650.55
110+
2022-05-01,31740.94
111+
2022-06-01,20108.53
112+
2022-07-01,23653.46
113+
2022-08-01,19805.35
114+
2022-09-01,19563.77
115+
2022-10-01,20623.87
116+
2022-11-01,16441.98
117+
2022-12-01,16604.02
118+
2023-01-01,22840.39
119+
2023-02-01,23518.12
120+
2023-03-01,28041.12
121+
2023-04-01,29217.94
122+
2023-05-01,27713.91
123+
2023-06-01,27245.47

price_data/bitcoin_cash-USD.csv

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
2017-08-01,585.4
2+
2017-09-01,430.46
3+
2017-10-01,439.91
4+
2017-11-01,1420.75
5+
2017-12-01,2537.08
6+
2018-01-01,1453.64
7+
2018-02-01,1241.94
8+
2018-03-01,701.96
9+
2018-04-01,1433.17
10+
2018-05-01,983.22
11+
2018-06-01,715.01
12+
2018-07-01,816.56
13+
2018-08-01,540.4
14+
2018-09-01,538.22
15+
2018-10-01,423.66
16+
2018-11-01,181.07
17+
2018-12-01,160.7
18+
2019-01-01,117.64
19+
2019-02-01,131.11
20+
2019-03-01,166.99
21+
2019-04-01,233.14
22+
2019-05-01,424.52
23+
2019-06-01,443.57
24+
2019-07-01,317.72
25+
2019-08-01,279.65
26+
2019-09-01,218.19
27+
2019-10-01,289.16
28+
2019-11-01,223.8
29+
2019-12-01,208.29
30+
2020-01-01,393.18
31+
2020-02-01,315.47
32+
2020-03-01,220.47
33+
2020-04-01,257.52
34+
2020-05-01,251.4
35+
2020-06-01,225.11
36+
2020-07-01,292.48
37+
2020-08-01,278.46
38+
2020-09-01,228.88
39+
2020-10-01,261.75
40+
2020-11-01,285.06
41+
2020-12-01,359.12
42+
2021-01-01,412.99
43+
2021-02-01,489.45
44+
2021-03-01,524.46
45+
2021-04-01,880.47
46+
2021-05-01,662.56
47+
2021-06-01,524.64
48+
2021-07-01,552.64
49+
2021-08-01,632.55
50+
2021-09-01,485.33
51+
2021-10-01,584.17
52+
2021-11-01,574.81
53+
2021-12-01,431.24
54+
2022-01-01,291.7
55+
2022-02-01,304.81
56+
2022-03-01,379.95
57+
2022-04-01,294.63
58+
2022-05-01,196
59+
2022-06-01,104.5
60+
2022-07-01,144.67
61+
2022-08-01,114.63
62+
2022-09-01,116.79
63+
2022-10-01,116.19
64+
2022-11-01,110.93
65+
2022-12-01,96.46
66+
2023-01-01,130.5
67+
2023-02-01,134.73
68+
2023-03-01,121.12
69+
2023-04-01,119.61
70+
2023-05-01,114.17

price_data/ethereum-USD.csv

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
2015-08-01,1.35
2+
2015-09-01,0.73
3+
2015-10-01,0.91
4+
2015-11-01,0.87
5+
2015-12-01,0.94
6+
2016-01-01,2.3
7+
2016-02-01,6.31
8+
2016-03-01,11.35
9+
2016-04-01,8.89
10+
2016-05-01,14.01
11+
2016-06-01,13.34
12+
2016-07-01,11.87
13+
2016-08-01,11.5
14+
2016-09-01,13.19
15+
2016-10-01,10.88
16+
2016-11-01,8.65
17+
2016-12-01,8.01
18+
2017-01-01,10.68
19+
2017-02-01,15.7
20+
2017-03-01,49.96
21+
2017-04-01,79.8
22+
2017-05-01,231.37
23+
2017-06-01,284.69
24+
2017-07-01,203.29
25+
2017-08-01,382.93
26+
2017-09-01,297.27
27+
2017-10-01,303.54
28+
2017-11-01,454.16
29+
2017-12-01,774.7
30+
2018-01-01,1058.1
31+
2018-02-01,869.26
32+
2018-03-01,395.33
33+
2018-04-01,680.12
34+
2018-05-01,555.35
35+
2018-06-01,432.51
36+
2018-07-01,458.08
37+
2018-08-01,285.1
38+
2018-09-01,231.74
39+
2018-10-01,197.45
40+
2018-11-01,117.71
41+
2018-12-01,137.63
42+
2019-01-01,108.27
43+
2019-02-01,134.85
44+
2019-03-01,142.29
45+
2019-04-01,154.08
46+
2019-05-01,255.38
47+
2019-06-01,321.43
48+
2019-07-01,209.65
49+
2019-08-01,168.67
50+
2019-09-01,169.69
51+
2019-10-01,183.13
52+
2019-11-01,154.26
53+
2019-12-01,131.46
54+
2020-01-01,184.73
55+
2020-02-01,227.71
56+
2020-03-01,132.36
57+
2020-04-01,215.55
58+
2020-05-01,242.71
59+
2020-06-01,228.21
60+
2020-07-01,334.74
61+
2020-08-01,428.3
62+
2020-09-01,359.43
63+
2020-10-01,382.9
64+
2020-11-01,574.75
65+
2020-12-01,752.86
66+
2021-01-01,1372.43
67+
2021-02-01,1480.13
68+
2021-03-01,1840.29
69+
2021-04-01,2757.5
70+
2021-05-01,2395.85
71+
2021-06-01,2169.4
72+
2021-07-01,2462.4
73+
2021-08-01,3232.73
74+
2021-09-01,2855.61
75+
2021-10-01,4324.61
76+
2021-11-01,4444.53
77+
2021-12-01,3714.95
78+
2022-01-01,2610.18
79+
2022-02-01,2629.48
80+
2022-03-01,3383.79
81+
2022-04-01,2817.49
82+
2022-05-01,1995.94
83+
2022-06-01,1098.91
84+
2022-07-01,1696.79
85+
2022-08-01,1525.4
86+
2022-09-01,1335.74
87+
2022-10-01,1591.05
88+
2022-11-01,1216.94
89+
2022-12-01,1199.11
90+
2023-01-01,1568.65
91+
2023-02-01,1633.98
92+
2023-03-01,1792.91
93+
2023-04-01,1905.27
94+
2023-05-01,1901.08

0 commit comments

Comments
 (0)