[R] Bug report on get.hist.quote

Ajay Shah ajayshah at lubyanka.local
Wed Nov 2 12:08:54 CET 2005


> get.hist.quote(instrument="INR/USD", provider="oanda", start="2005-10-20")
trying URL 'http://www.oanda.com/convert/fxhistory?lang=en&date1=10%2F20%2F2005&date=11%2F01%2F2005&date_fmt=us&exch=INR&exch2=&expr=USD&expr2=&margin_fixed=0&&SUBMIT=Get+Table&format=ASCII&redirected=1'
Content type 'text/html' length unknown
opened URL
.......... ...
downloaded 13Kb

2005-10-20 2005-10-21 2005-10-22 2005-10-23 2005-10-24 2005-10-25 2005-10-26 
   0.02220    0.02218    0.02224    0.02224    0.02224    0.02219    0.02226 
2005-10-27 2005-10-28 2005-10-29 2005-10-30 2005-10-31 2005-11-01 
   0.02224    0.02225    0.02224    0.02224    0.02224    0.02221 


The answer is wrong. What is shown here is USD/INR, not INR/USD.




More information about the R-help mailing list