Skip to content
Back to formatted view

Raw Message

Message-ID: <971536df0907012101h12ec7bb8v713918f263887781@mail.gmail.com>
Date: 2009-07-02T04:01:57Z
From: Gabor Grothendieck
Subject: Earliest available data on yahoo to download
In-Reply-To: <ad1ead5f0907011904oaefb74es6fcf69303c342481@mail.gmail.com>

The zoo vignette has an example of get.hist.quote from tseries, not
getSymbols from quantmod.

On Wed, Jul 1, 2009 at 10:04 PM, R_help Help<rhelpacc at gmail.com> wrote:
> Sorry when I said xts I meant quantmod. Please see my code below. If
> you ever use quantmod getSymbols, the code below should be clear to
> you. Another package was tseries. Somehow zoo vignette has an example
> on it. So I just called it zoo. Regardless of which, the problem is
> the same. Thanks.
>
>> getSymbols("JPM",start="2006-01-01")
> [1] "JPM"
>> head(JPM)
> ? ? ? ? ? JPM.Open JPM.High JPM.Low JPM.Close JPM.Volume JPM.Adjusted
> 2007-01-03 ? ?48.00 ? ?48.37 ? 47.59 ? ? 48.07 ? 14244700 ? ? ? ?44.71
> 2007-01-04 ? ?48.05 ? ?48.55 ? 47.75 ? ? 48.19 ? ?9471500 ? ? ? ?44.82
> 2007-01-05 ? ?48.17 ? ?48.25 ? 47.63 ? ? 47.79 ? 10760500 ? ? ? ?44.45
> 2007-01-08 ? ?47.57 ? ?48.06 ? 47.32 ? ? 47.95 ? ?8239200 ? ? ? ?44.60
> 2007-01-09 ? ?47.90 ? ?48.11 ? 47.36 ? ? 47.75 ? ?9276700 ? ? ? ?44.41
> 2007-01-10 ? ?47.47 ? ?48.12 ? 47.44 ? ? 48.10 ? 15597000 ? ? ? ?44.74
>
>
> On Wed, Jul 1, 2009 at 9:53 PM, 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.
>