[R-sig-finance] Bug report for get.hist.quote()
Ajay Narottam Shah
ajayshah at mayin.org
Mon Sep 5 09:51:15 CEST 2005
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)
--
Ajay Shah Consultant
ajayshah at mayin.org Department of Economic Affairs
http://www.mayin.org/ajayshah Ministry of Finance, New Delhi
More information about the R-sig-finance
mailing list