API publique fournie par coincheck pour obtenir des informations sur la monnaie virtuelle, qui est un sujet brûlant récemment. J'ai créé un outil pour enregistrer au format csv.
https://gist.github.com/namakemono/aba4bae86aa89fc56b35f9ecfa9cd934
J'espère que cela aide.
--Téléscripteur
python coincheck.py --save_to_dir /tmp
==> coincheck_order_books_2017-05-26.csv <==
datetime,order_type,price,amount
2017-05-26 09:37:00,bids,302609.0,1.7
2017-05-26 09:37:00,bids,302608.0,0.91896872
2017-05-26 09:37:00,bids,302607.0,1.0
2017-05-26 09:37:00,bids,302600.0,1.0
2017-05-26 09:37:00,bids,302365.0,0.27724783
2017-05-26 09:37:00,bids,302000.0,6.00910455
2017-05-26 09:37:00,bids,301810.0,4.25611537
2017-05-26 09:37:00,bids,301800.0,1.0
2017-05-26 09:37:00,bids,301767.0,0.05847437
==> coincheck_rate_2017-05-26.csv <==
datetime,pair,rate
2017-05-26 08:49:01,btc_jpy,302587.5
2017-05-26 08:49:01,eth_jpy,22678.60935638
2017-05-26 08:49:01,etc_jpy,2061.2865675
2017-05-26 08:49:01,dao_jpy,226.78630538
2017-05-26 08:49:01,lsk_jpy,170.17823588
2017-05-26 08:49:01,fct_jpy,1807.948209
2017-05-26 08:49:01,xmr_jpy,5275.7583045
2017-05-26 08:49:01,rep_jpy,3206.00533875
2017-05-26 08:49:01,xrp_jpy,35.73558375
==> coincheck_ticker_2017-05-26.csv <==
datetime,last,bid,ask,high,low,volume,timestamp
2017-05-26 09:10:00,301814,302702,302996,335973,230255,27238.46130438,1495789795
2017-05-26 09:13:00,302460,302314,302460,335973,230255,27236.96192468,1495789977
2017-05-26 09:16:00,302204,302003,302204,335973,230255,27239.3630376,1495790156
2017-05-26 09:19:00,302370,302153,302363,335973,230255,27246.89351123,1495790335
2017-05-26 09:22:00,302811,302679,302807,335973,230255,27261.04811664,1495790515
2017-05-26 09:25:00,302779,303167,303238,335973,230255,27300.46158307,1495790697
2017-05-26 09:28:02,303518,303518,303637,335973,230255,27304.2766997,1495790875
2017-05-26 09:31:02,303426,303159,303424,335973,230255,27331.07795757,1495791058
2017-05-26 09:34:02,303591,303419,303685,335973,230255,27320.81268638,1495791234
==> coincheck_trades_2017-05-26.csv <==
id,datetime,amount,rate,order_type,created_at
5918218,2017-05-26 09:37:00,0.0002946,302959,buy,2017-05-26T09:36:54.000Z
5918217,2017-05-26 09:37:00,0.0377054,302765,buy,2017-05-26T09:36:54.000Z
5918216,2017-05-26 09:37:00,0.0000946,302858,sell,2017-05-26T09:36:54.000Z
5918215,2017-05-26 09:37:00,0.0399054,302858,sell,2017-05-26T09:36:52.000Z
5918214,2017-05-26 09:37:00,0.0000946,302859,sell,2017-05-26T09:36:52.000Z
5918213,2017-05-26 09:37:00,0.0099054,302859,sell,2017-05-26T09:36:52.000Z
5918212,2017-05-26 09:37:00,0.0000946,302860,sell,2017-05-26T09:36:52.000Z
5918211,2017-05-26 09:37:00,0.0218,302860,sell,2017-05-26T09:36:51.000Z
5918210,2017-05-26 09:37:00,0.05,302860,sell,2017-05-26T09:36:51.000Z
Recommended Posts