I am trying to get the data for the Dow Jones Index from google.
I have tried a number of things but they do not seem to work.
require(quantmod)
getSymbols(".DJI",src = "google")
getSymbols("^DJI",src = "google")
getSymbols("INDEXDJX:.DJI",src = "google")
The error is “HTTP: 404 Not Found”. That means the page
getSymbolsuses doesn’t exist for the Dow Jones Index (it also does not exist for the S&P500 and the Nasdaq Composite). There’s nothing quantmod can do if Google doesn’t provide the data…