[R-SIG-Finance] [R-sig-finance] Downloading data from Yahoo

Josh Ulrich josh.m.ulrich at gmail.com
Tue Apr 28 05:14:06 CEST 2009


"^GE" is not a valid ticker symbol; use "GE" instead.

> getSymbols("GE", src="yahoo", from = from.dat, to = to.dat)
[1] "GE"

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



On Mon, Apr 27, 2009 at 10:06 PM, megh <megh700004 at yahoo.com> wrote:
>
> Hi, I am having problem downloading quote from Yahoo (historical stock quotes
> from GE) using Quantmod package. I have following quote :
>
> from.dat <- as.Date("01/01/08", format="%m/%d/%y")
> to.dat <- as.Date("02/19/09", format="%m/%d/%y")
> getSymbols("^GE", src="yahoo", from = from.dat, to = to.dat)
>
> Error is :
> Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,
> :
>  cannot open URL
> 'http://chart.yahoo.com/table.csv?s=^GE&a=0&b=01&c=2008&d=1&e=19&f=2009&g=d&q=q&y=0&z=^GE&x=.csv'
> In addition: Warning message:
> In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  :
>  cannot open: HTTP status was '404 Not Found'
>
> Can anyone please point out that what is the wrong here? How can I download
> data from Yahoo efficiently?
>
> Regards,
> --
> View this message in context: http://www.nabble.com/Downloading-data-from-Yahoo-tp23269331p23269331.html
> Sent from the Rmetrics mailing list archive at Nabble.com.
>
> _______________________________________________
> 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