Re: [R-SIG-Finance] problem with getting Historical data for futures using I Brokers package

2011-06-14 Thread G See
You probably need to specify an endDateTime since it has been expired every day for the last 5 days! ;-) This works: WPRO - reqHistoricalData(tws, t, bar=1 min,dur=5 D, endDateTime='20110501 15:00:00') On Tue, Jun 14, 2011 at 9:36 AM, G See gsee...@gmail.com wrote: Sorry, the file has

Re: [R-SIG-Finance] problem with getting Historical data for futures using I Brokers package

2011-06-14 Thread Gautam Garg
It worked ! Thanks a lot . :) On Tue, Jun 14, 2011 at 8:15 PM, G See gsee...@gmail.com wrote: You probably need to specify an endDateTime since it has been expired every day for the last 5 days! ;-) This works: WPRO - reqHistoricalData(tws, t, bar=1 min,dur=5 D, endDateTime='20110501

Re: [R-SIG-Finance] problem with getting Historical data for futures using I Brokers package

2011-06-13 Thread Enrico Schumann
-sig-finance@r-project.org Betreff: [R-SIG-Finance] problem with getting Historical data for futures using I Brokers package Hi , I am trying to get historical data for futures using I brokers package. I am able to do so with the expiry dates which are yet to come but not for the dates

Re: [R-SIG-Finance] problem with getting Historical data for futures using I Brokers package

2011-06-13 Thread Gautam Garg
Thanks that helped but now it is giving another error. here is the code: t-twsFUT(symbol=WPRO,exch=NSE,expiry=201105,currency=INR,include_expired = '1') WPRO - reqHistoricalData(tws,t ,file=Wipro.csv ,bar=1 min, dur=5 D) TWS Message: 2 -1 2104 Market data farm connection is OK:hkfarm