whats the respond for the reqRealTimeBars? i dont know what datatype is IB API returning to you, but in general i would store it into some array. Something like this:
1. making my own datatype as a class, for example RealTimeBar
2. making collection of RealTimeBars, like RTBCollection (extended...