[R-sig-finance] Bug report for get.hist.quote()

Martin Keller-Ressel mkeller at fam.tuwien.ac.at
Mon Sep 5 11:15:26 CEST 2005


Sorry for my rash reply... you are right this is a bug.

regards,
Martin Keller-Ressl


On Mon, 05 Sep 2005 07:51:15 -0000, Ajay Narottam Shah  
<ajayshah at mayin.org> wrote:

> On Mon, Sep 05, 2005 at 08:55:51AM -0000, Martin Keller-Ressel wrote:
>> Why should this be a bug?? The error message clearly says what the  
>> problem
>> is:
>> "time period is too big (maximum 2000 days can be downloaded)"
>> I dont know whether this restriction is due to the data provider or to  
>> the
>> package,
>> but why not try a shorter time period or download the data in chunks?
>
> My dates were: From 1 Jan 1900 till 31 Jan 1900. So it's not 2000 days.
>
>> >>x <- get.hist.quote(instrument = "GBP/USD", provider = "oanda",
>> >>start="1900-01-01", end="1900-12-31")
>> >trying URL
>> >'http://www.oanda.com/convert/fxhistory?lang=en&date1=01%2F01%2F1900&date=12%2F31%2F1900&date_fmt=us&exch=GBP&exch2=&expr=USD&expr2=&margin_fixed=0&&SUBMIT=Get+Table&format=ASCII&redirected=1'
>> >Content type 'text/html' length unknown
>> >opened URL
>> >.......... .
>> >downloaded 11Kb
>> >
>> >Error in get.hist.quote(instrument = "GBP/USD", provider = "oanda",
>> >start = "1900-01-01",  :
>> >        time period is too big (maximum 2000 days can be downloaded)
>



-- 
Martin Keller-Ressel
Research Unit of Financial and Actuarial Mathematics
TU Vienna



More information about the R-sig-finance mailing list