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

From: ivan popivanov <ivan.popivanov_at_hotmail.com>
Date: Sat, 05 Jun 2010 20:27:53 -0400

Try getSymbols("RCOM.NS", from="1900-01-01") instead.

It looks like google has removed the ability to download csv (not much business providing it;)). In any case, Yahoo historical prices go way back than googles. For instance, getSymbols("^DJI", from="1900-01-01") ; head(get("DJI")) shows the first date as 1928!

Hope this helps,
Ivan

> Date: Sat, 5 Jun 2010 23:46:37 +0530
> From: veepsirtt_at_gmail.com
> To: r-help@r-project.org
> Subject: [R] How to get the closing price from the the GOOGLE FINANCE site for NSEINDIA stocks
>
> 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
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
                                               


        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 06 Jun 2010 - 06:34:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 06 Jun 2010 - 06:40:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive