【发布时间】:2020-02-20 02:12:09
【问题描述】:
library(quantmod)
例如:
> getSymbols("BRK.B",from="2010-01-01",to="2020-02-17")
会给我一个错误:
Warning: BRK.B download failed; trying again.
Error in getSymbols.yahoo(Symbols = "BRK.B", env = <environment>, verbose = FALSE, :
Unable to import “BRK.B”.
BRK.B download failed after two attempts. Error message:
HTTP error 404.
我不知道为什么它不包含伯克希尔哈撒韦。
但我的问题是,我在哪里可以获得函数 getSymbols 将返回过去 5 年左右数据的完整股票代码列表?
【问题讨论】: