¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

TWS API | Options market data request issue.


 

Hello!?
I'm trying?to request option chain and subscribe market data, to get prices for options on a given STK contract.

I do
client().reqMarketDataType(DELAYED);
client().reqContractDetails(requestId, stkOptionContract);
at this moment I have a number of Put\Call contracts,?
then I try?
client().reqMktData(nextReqId(), optionContract, "", false, false, null);
for each option contract.?

Aaand after that I keep getting this message?| 10197 | No market data during competing live session,
In very rare cases I could get data, but mostly errors and nothing (like 95% of requests failed).
I don't have any other device with TWS, or accounts. Only one I?logged in from this computer.
I'm using a paper account for development, and I don't have any subscriptions to IB, could that be a problem?

Still STK market data arrives as it should for any number of requests.?

Thanks!

Join [email protected] to automatically receive all group messages.