之前我用它来获取收盘价/要价:
library("quantmod")
getQuote(Symbols = symbols,
src = "yahoo",
what=yahooQF(c("Bid","Ask", "Volume")))
现在我收到错误:
Error in .yahooSession(TRUE) : unable to get yahoo crumb
> packageVersion('quantmod')
[1] ‘0.4.24’
阅读 this 看来雅虎!不再是
quantmod
的选项。
src = "av" 不返回出价/要价信息。 Tiingo
也没有是否有针对 R 用户每天少于 10 个报价的出价/要价信息的免费解决方案?
quantmod
运行后再次工作:
remotes::install_github("ethanbsmith/quantmod@fix_404_handle_getquote_gdpr_errors")