softwarespartan / IB4m

Interactive Brokers API for Matlab
GNU General Public License v2.0
62 stars 21 forks source link

Integrate new feature "Finding Earliest Data Point" #32

Closed Benvaulter closed 5 years ago

Benvaulter commented 5 years ago

Hi there,

when retrieving historical market data, it would be great to be able to use the new feature, which allows to identify the earliest data point for any given contract. Any chance to integrate this method? When checking the available methods of the eClientSocket, this method does not appear yet.

http://interactivebrokers.github.io/tws-api/head_timestamp.html

Many thanks in advance!

Benvaulter commented 5 years ago

actually, I realized that with the way the historical bar requests work, i.e. defining and end-date and then going back, you can simply specify a large lockback period and then everything should be taken care of. So I actually have all I need, no need to expose this new method.

Thank you so much for this incredible work Abel!