I need 1 minute historical data for NSE futures going back say 6 months. I am not even sure if I can do this with Interactive Brokers and IBrokers. This is what I did,
t = twsFUT(conId = "125220543", symbol="AXISBANK",exch="NSE",expiry="20130627",currency="INR",include_expired="1")
Now this is the June expiry future on AXISBANK. What is the command to get one minute data for this contract for say the month of may?
I used
x <- reqHistoricalData(tws, t, bar="1 min",dur="25 D",endDateTime = '20130607 15:00:00')
and got the error
Historical Market Data Service error message:Starting time must occur before ending time
I guess I don't really understand the parameters of the reqHistoricalData function. What does bar mean? What does dur mean? What does endDateTime mean? And in which time zone do I get the data?
Please help.
t = twsFUT(conId = "125220543", symbol="AXISBANK",exch="NSE",expiry="20130627",currency="INR",include_expired="1")
Now this is the June expiry future on AXISBANK. What is the command to get one minute data for this contract for say the month of may?
I used
x <- reqHistoricalData(tws, t, bar="1 min",dur="25 D",endDateTime = '20130607 15:00:00')
and got the error
Historical Market Data Service error message:Starting time must occur before ending time
I guess I don't really understand the parameters of the reqHistoricalData function. What does bar mean? What does dur mean? What does endDateTime mean? And in which time zone do I get the data?
Please help.
