New answers tagged interactive-brokers
In order to aggregate the 5-min bars, you need to add code within your ibEventRealTimeData function that remembers the previous values (possibly using a global or persistent variable) and appends the new data to it. If you do not need realtime info, you could make a single request for 5-min historical data. But here too, IB sends the results in separate ...
Top 50 recent answers are included