[R] Download stock prices

Matthew Keller mckellercran at gmail.com
Mon Feb 5 05:06:46 CET 2007

Hi Mihai,

You might check out the Rmetrics bundle, available on the cran
website. I've used its fBasics library to download stock prices. Try
the yahooImport() function and the keystats() function for downloading
specific stock prices. I had to fiddle with the keystats function to
get it to work properly, but I wrote to the writer of the library and
it may have been fixed by now.

Best of luck,


On 2/4/07, Mihai Nica <mihainica at yahoo.com> wrote:
> gReetings:
> Is there any way to download a (or a sample of a) crossection of stock market prices? Or is it possible to use get.hist.quote with a *wild card*?
> Thanks,
> mihai
> Mihai Nica
> 170 East Griffith St. G5
> Jackson, MS 39201
> 601-914-0361
> ____________________________________________________________________________________
> 8:00? 8:25? 8:40? Find a flick in no time
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-help at stat.math.ethz.ch 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.

Matthew C Keller
Postdoctoral Fellow
Virginia Institute for Psychiatric and Behavioral Genetics

More information about the R-help mailing list