[R-SIG-Finance] quantmod: getFinancials error

Jeff Ryan jeff.a.ryan at gmail.com
Thu Mar 19 22:23:30 CET 2009

Hi Andy,

getFin screen-scrapes google.  It is pretty reliable, but not perfect.

The problem here is that there is no quarterly data on the site for
ANAT, so the function just fails.

see: http://www.google.com/finance?fstype=ci&q=NASDAQ:ANAT

I'll see if I can figure out a solution, but it may be more of a
one-off hack than really a solution.

See what you can come up with to solve this, and please share your successes!


On Thu, Mar 19, 2009 at 4:09 PM, Andy Zhu <andyzhu35 at yahoo.com> wrote:
> ANAT is a valid ticker in google finance.
> However, the following code generates error in quantmod: getFinancials
>> stock='ANAT';
>> getFinancials(Symbol=stock, src='google');
> Error in getFinancials(Symbol = stock, src = "google") :
>   subscript out of bounds
> what is wrong here?
> Thanks in advance.
>        [[alternative HTML version deleted]]
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.

Jeffrey Ryan
jeffrey.ryan at insightalgo.com

ia: insight algorithmics

More information about the R-SIG-Finance mailing list