[R-SIG-Finance] Earliest available data on yahoo to download

Sean Carmody seancarmody at gmail.com
Thu Jul 2 04:01:32 CEST 2009


Assuming you are using quantmod, try the from argument. For example:

getSymbols("^AORD", from="2000-01-01")

will retrieve data going back to 2000 from yahoo while

getSymbols("^AORD")

defaults to just retrieving data from the last two years.

Sean.

On Thu, Jul 2, 2009 at 11:53 AM, Joshua Ulrich<josh.m.ulrich at gmail.com> wrote:
> It would really help if you provided reproducible code, especially
> since neither zoo or xts have methods to access Yahoo data.
>
> Best,
> Josh
> --
> http://www.fosstrading.com
>
>
>
> On Wed, Jul 1, 2009 at 8:47 PM, R_help Help<rhelpacc at gmail.com> wrote:
>> Hi - I used xts and zoo to try to download stock data from yahoo. I
>> set the start date to 2005-01-01. I got only portion starting from
>> 2007-01-03. However, if I got to yahoo and manually click to download
>> historical data it will give me everything. So is this a known problem
>> with xts and zoo? Or is it a problem with yahoo? Is there anyway
>> around? Thank you in advance.
>>
>> ads
>>
>> _______________________________________________
>> 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.
>>
>
> _______________________________________________
> 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.
>



-- 
Sean Carmody

The Stubborn Mule
http://www.stubbornmule.net
http://twitter.com/seancarmody



More information about the R-SIG-Finance mailing list