加密货币的AlphaVantager不起作用

时间:2018-10-18 01:07:14

标签: r alphavantage

我正在使用R包AlphaVantager访问AlphaVantage API。

当我尝试获取Cryptocurrency数据时,出现R错误。 例如,此代码导致错误: av_get(av_fun = "CURRENCY_EXCHANGE_RATE", from_currency = "BTC", to_currency = "USD")

但是,这与https://www.alphavantage.co/documentation/#crypto-exchange中提供的API文档一致。

其他查询(可能更旧)可以正常工作,例如: av_get(symbol = "ADS", av_fun = "TIME_SERIES_INTRADAY", interval = "15min")

这是错误文本,对我来说似乎很奇怪,因为它显示了查询的一些结果。

错误:list(1. From_Currency Code =“ BTC”,2. From_Currency Name =“比特币”,3. To_Currency Code =“美元”,4. To_Currency Name =“美元”,{ {1}} =“ 6571.51000000”,5. Exchange Rate =“ 2018-10-18 00:52:04”,6. Last Refreshed =“ UTC”)。使用的API参数:symbol = NULL,function = CURRENCY_EXCHANGE_RATE,from_currency = BTC,to_currency = USD,apikey = HIDDEN_FOR_YOUR_SAFETY

0 个答案:

没有答案