forked from 0xjohnny8848/checkonchain.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
print_checkonchain_charts.py
47 lines (38 loc) · 1.38 KB
/
print_checkonchain_charts.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
from checkonchain.btconchain.btc_add_metrics import *
import os
# Print Public Charts = 1
# Print Private charts = 0
public = 0
# BITCOIN
os.chdir(os.path.dirname(__file__)) # reset dir to this file
os.chdir('../btconchain/charts')
import checkonchain.btconchain.charts.btc_charts_plotting
# DECRED
os.chdir(os.path.dirname(__file__)) # reset dir to this file
os.chdir('../dcronchain/charts')
import checkonchain.dcronchain.charts.dcr_charts_plotting
# MONERO
os.chdir(os.path.dirname(__file__)) # reset dir to this file
os.chdir('../xmronchain')
import checkonchain.xmronchain.xmr_charts
# ALTCOINS
os.chdir(os.path.dirname(__file__)) # reset dir to this file
os.chdir('../altonchain')
import checkonchain.altonchain.alt_add_metrics
# STABLECOINS
os.chdir(os.path.dirname(__file__)) # reset dir to this file
os.chdir('../stableonchain')
import checkonchain.stableonchain.charts.stable_charts_plotting
# Print Research Paper Charts
os.chdir(os.path.dirname(__file__)) # reset dir to this file
os.chdir('../dcronchain/charts')
import checkonchain.dcronchain.charts.chart_dcr_unforgeablecostliness
import checkonchain.dcronchain.charts.chart_dcr_useradoption
# Print Last Valid Timestamp
df = btc_add_metrics().btc_coin()
i = df.apply(pd.Series.last_valid_index)['date']
print("")
print("")
print("LAST VALID TIMESTAMP")
print(df.loc[i, 'date'])
print('CHECKONCHAIN CHART PRODUCTION COMPLETE!')