How to get Dow Jones Index (DJI) data from Google?

I am trying to get data for the Dow Jones index from google. I tried a few things, but they don't seem to work.

require(quantmod)
getSymbols(".DJI",src = "google")
getSymbols("^DJI",src = "google")
getSymbols("INDEXDJX:.DJI",src = "google")
+5
source share
1 answer

Error: "HTTP: 404 Not Found". This means that there is no page for the Dow Jones index getSymbolsthat does not exist for the S & P500 and Nasdaq Composite). Nothing can be done there by a quantometer if Google does not provide data ...

+3
source

All Articles