InteractiveBrokers API: an instrument's market state?

312 views Asked by At

I try to find a way to receive the current market state and changes to the market state of a tradeable instrument through IB's API.

For example, I try to get a notification when TSLA moves from market-closed to pre-opening auction and then to the regular trading session, likewise during the day.

The only bit I found so far is https://interactivebrokers.github.io/tws-api/tick_types.html#halted - which gives me a "market halted" indication. That's not what I look for, markets can also go into an auction state throughout a trading session.

I can't find any reference to market states in IB's API. Any solution anyone?

Thanks a lot

0

There are 0 answers