[R] How to get the closing price from the the GOOGLE FINANCE site for NSEINDIA stocks

Velappan Periasamy veepsirtt at gmail.com
Sat Jun 5 20:16:37 CEST 2010


Sir,
 How to get the closing price from this link
http://www.google.com/finance/historical?q=NSE:RCOM

I installed quantmod
getSymbols('NSE:RCOM',src='google')

  gives me this error**********************

Error in download.file(paste(google.URL, "q=", Symbols.name, "&startdate=",  :
  cannot open URL
'http://finance.google.com/finance/historical?q=NSE:RCOM&startdate=Jan+01,+2007&enddate=Jun+05,+2010&output=csv'
Calls: getSymbols -> do.call -> getSymbols.google -> download.file
In addition: Warning message:
In download.file(paste(google.URL, "q=", Symbols.name, "&startdate=",  :
  cannot open: HTTP status was '404 Not Found'

Could someone please give me the correct statement.
thanks



More information about the R-help mailing list