[R-SIG-Finance] how do you use get.hist.quote() to obtain dividend

Josh Ulrich josh.m.ulrich at gmail.com
Mon Jan 5 03:59:30 CET 2009


Hi Andrew,

You can use TTR's functionality to get both split and dividend
information from Yahoo Finance.

x <- getYahooData("SPY", type='split', quiet=TRUE)

Best,
Josh
--
http://quantemplation.blogspot.com



On Sun, Jan 4, 2009 at 7:31 PM, Andrew Yee <yee at post.harvard.edu> wrote:
> Apologies if this is a newbie question, but I've been able to use
> get.hist.quote() to obtain quote information.
>
> However, is there a way to use this function to obtain dividend distribution
> information?  Or is there a function for doing this?
>
> Thanks,
> Andrew
>
>        [[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.
>



More information about the R-SIG-Finance mailing list