Interactive Brokers historical bars python example

I'm writing some code to get historical bar data from the IB through their API.

I've been using the resources at: https://interactivebrokers.github.io/tws-api/historical_bars.html

The problem is that in the example code, there is a datatype "BarData" that is never defined anywhere that I can find. Does anyone know how/where this needs to be defined? Is it supposed to be defined in "ibapi.client" or "ibapi.wrapper"?

Help?

Submitted October 14, 2020 at 08:28AM by sigma_noise
via https://ift.tt/2T0qJ1b

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s