New answers tagged quote
I explored this further and following that the following works: require("RCurl") STOCKS <- paste("AAPL", "BIDU", "AMAZ", collapse=",") STRING <- paste0("http://finance.google.com/finance/info?client=ig&q=INDU,IXIC,DRRX,", paste0(STOCKS, collapse=",")) TEMP <- getURL(STRING) Then, one needs to do some editing (a combination of strsplit and ...
As you note, that yields open / high / low / close / volume. Is it also possible to obtain the most recent trade?
R is very useful for downloading data from Yahoo/Google . Here is an example for downloading from Google Finance : library(quantmod) getSymbols("DRRX;AAPL;AMZN", from="2014-01-01", to="2014-11-20", src='google') Just adjust the from and to dates as needed. This will download the OHLCV data from google finance to your R global environment.
Top 50 recent answers are included