Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从谷歌获取道琼斯指数的数据。我已经尝试了很多东西,但它们似乎不起作用。
require(quantmod) getSymbols(".DJI",src = "google") getSymbols("^DJI",src = "google") getSymbols("INDEXDJX:.DJI",src = "google")
错误是“HTTP:404 Not Found”。这意味着getSymbols道琼斯指数不存在页面使用(对于标准普尔 500 指数和纳斯达克综合指数也不存在)。如果 Google 不提供数据,quantmod 将无能为力……
getSymbols