ranaroussi / ezibpy

ezIBpy, a Pythonic Client for Interactive Brokers API
Apache License 2.0
324 stars 116 forks source link

Custom callback on requestHistoricalData() #22

Closed 0x0Koda closed 5 years ago

0x0Koda commented 6 years ago

Is there a callback once this function finishes running, i'm downloading in batches of 50 and i would like to know when the last symbol is downloaded so i can start the next batch.

ranaroussi commented 5 years ago

Yep!

handleHistoricalData is the callback event and it has a completed=True or completed=False flag