Jev, At a quick glance this seems excellent since I last saw max dama's stuff he started with some years ago. Now with windows 7's 64 bit system is there allot of changes needed? Can i just use your code as is?
Thanks! Really nice! Some modification should be done to make it more flexible. I for example introduced a loop to acquire more data.
Anyhow, great program!
I am trying to connect IB API on Matlab. I am able to connect to tws but when I try to get historical data I am getting following error in this command:
obj.tws.reqHistoricalDataEx(RequestID,Contract,EndDate,Duration,BarSize,’BID’,1,1);
Historical Market Data Service error message:Starting time must occur before ending time
EndDate = ’20110412 12:00:00′;
Duration = ’7200 S’;
BarSize = ’15 secs’;
Can you please figure out and let me know about the solution?
regards
prashant