Retrieving QQQ call option IV from API
Hi all!
I am currently using IB Gateway API and attempting to retrieve market data for an ATM call option for QQQ, expiring tomorrow. I keep getting an error that suggests my market subscriptions are preventing me from pulling the data. Here are my current data subscriptions, I am subscribed to OPRA live data as well as NASDAQ exchange data, so not sure what else I need to add, if any:
Here is my code and the error I am getting (targetContract here is an Option object):
Is this the best way to go about retrieving options contract data (in particular IV) and if so is this simply a market data subscription issue? Thanks for any help, new to all of this so battling the learning curve as we speak
Posted Dec 29, 2025, 3:02 AM UTC
01