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

Martin Keller-Ressel mkeller at fam.tuwien.ac.at
Mon Sep 5 10:55:51 CEST 2005


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?

best regards,

Martin Keller-Ressel


On Mon, 05 Sep 2005 06:29:50 -0000, Ajay Narottam Shah  
<ajayshah at mayin.org> wrote:

> I just installed the newest tseries package. I get one wrong error  
> message:
>
>> 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