[R] problem with quantmod package
R. Michael Weylandt
michael.weylandt at gmail.com
Tue Oct 18 15:19:44 CEST 2011
I believe it's because they are not made available for download as a csv file.
Compare:
https://www.google.com/finance/historical?q=NSE:TCS
with
https://www.google.com/finance/historical?q=NASDAQ:AAPL
You'll see that for AAPL, there is an option to export prices on the
right hand side: that's what getSymbol() takes advantage of.
Why it exists I don't know, but it probably has to do with how much
google is willing to pay for licensing to foreign exchanges.
You could perhaps write something to read the price table that google
shows or if you find the data available elsewhere on a csv, I'm sure
the package authors would be willing to add another method for
getSymbols.
Michael
On Tue, Oct 18, 2011 at 1:07 AM, ATANU <ata.sonu at gmail.com> wrote:
> i am using quantmod package.it get stock quotes from google finanace. but
> unfortunately i am not able to get the quotations of some stocks(e.g.
> NSE:TCS,NSE:SAIL ) through the "getSymbol" command of this package although
> they are available in the google finance website. anyone please help me.
> thanks in advance.....
>
> --
> View this message in context: http://r.789695.n4.nabble.com/problem-with-quantmod-package-tp3914263p3914263.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>
More information about the R-help
mailing list