几种简单的方式获取数字货币实时信息

所有方法均需要FQ获取,推荐使用蓝灯lantern。

百度网盘分享地址:https://pan.baidu.com/s/1ZvBCLOueSeQRihRXtCGEBA

密码:bdgu

一、通过google sheet和cryptofinance插件(无需额外下载安装软件,无需写代码)

参考:https://cryptofinance.jbuty.com/docs/getting-started-with-cryptofinance/#how-to-install

步骤:

1. 打开google sheet创建新的电子表格(没有google账号的需要注册)

2.点击插件,搜索:cryptofinance 并添加

3.在一个表格中输入:

  =CRYPTOFINANCE("COINMARKETCAP")  

4.其他更详细的用法请参考链接,可选择不同的交易所信息,不同的货币种类,时间和需要的数据

扫描二维码关注公众号,回复: 3019872 查看本文章

二、通过交易所的api调取数据

各大交易所api均可以直接获取数据:okex、bitfinex、

 okex:

url = 'https://www.okex.com/api/v1/kline.do?symbol=btc_usdt&type=30min

猜你喜欢

转载自www.cnblogs.com/timotong/p/9573573.html
今日推荐