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

Adrian Trapletti a.trapletti at swissonline.ch
Mon Sep 5 12:44:27 CEST 2005


>
>
>Message: 1
>Date: Mon, 5 Sep 2005 11:59:50 +0530
>From: Ajay Narottam Shah <ajayshah at mayin.org>
>Subject: [R-sig-finance] Bug report for get.hist.quote()
>To: r-sig-finance <r-sig-finance at stat.math.ethz.ch>
>Message-ID: <20050905062950.GS350 at lubyanka.local>
>Content-Type: text/plain; charset=us-ascii
>
>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)
>
>
> -- Ajay Shah Consultant ajayshah at mayin.org Department of Economic 
> Affairs http://www.mayin.org/ajayshah Ministry of Finance, New Delhi
>
This is not a real bug, just a bit an unclear error message for this 
kind of situation. Retry with

start="1990-01-01", end="1990-12-31" 

for example.I will improve the error message. Thx for the report.

Best regards
Adrian



More information about the R-sig-finance mailing list