Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在R中获取加密货币数据API时遇到问题_R_Time Series_Cryptocurrency_Tidyquant - Fatal编程技术网

在R中获取加密货币数据API时遇到问题

在R中获取加密货币数据API时遇到问题,r,time-series,cryptocurrency,tidyquant,R,Time Series,Cryptocurrency,Tidyquant,我已经为R尝试了两个cryptocurrency API包,命名为: coinmarketcapr软件包 riingo消息“Invalid token”确实让它看起来像是API密钥的问题。你确定你把它写对了吗?你的钥匙是最新的吗? > riingo_crypto_latest("btcusd", resample_frequency = "10min", base_currency = NULL) Request failed [401]. Retr

我已经为R尝试了两个cryptocurrency API包,命名为:

  • coinmarketcapr软件包
  • riingo消息“Invalid token”确实让它看起来像是API密钥的问题。你确定你把它写对了吗?你的钥匙是最新的吗?
    > riingo_crypto_latest("btcusd", resample_frequency = "10min", base_currency = NULL)
    Request failed [401]. Retrying in 1.6 seconds...
    Request failed [401]. Retrying in 1.5 seconds...
    Error: There was an error, but riingo isn't sure why. See Tiingo msg for details.
    Tiingo msg) Invalid token.