Hello, So I am testing an algorithm with IBKR (I have the subscriptions bought for this), and my code returns this error, seems like it is not able to retrieve the options chain data?
Printed error of the python code
*\[EMA WARNING\] 2026-01-05 13:54:02 NY | Finalized 1-min bars STALE (age=14762s). LastFinalBar=2026-01-05 09:48:00 Close=687.05 | EMA3=687.2454 EMA10=687.2931 (useRTH=1, src=TRADES, SPY\_mid≈688.57)*
*\[EMA LIVE\] 2026-01-05 13:54:02 NY | LastFinalBar=2026-01-05 09:48:00 Close=687.05 | EMA3=687.2454 EMA10=687.2931 (useRTH=1, src=TRADES, SPY\_mid≈688.57)*
*\[qualify\] FAIL after 3 tries: secType=OPT sym=SPY exp=20260105 right=P strike=687.0 exch=SMART err=('timeout', 'no response in 20.0s')*
**And in another occasion showed this:**
*\[EMA LIVE\] 2026-01-05 14:22:02 NY | LastFinalBar=2026-01-05 14:20:00 Close=688.34 | EMA3=688.3305 EMA10=688.3367 (useRTH=1, src=TRADES, SPY\_mid≈688.35)*
*\[ENTRY ema\_cross\] -> bull (EMA3=688.3403 EMA10=688.3391)*
*\[enter\] no premium*
Does anyone know or have been through this and fixed it? I can share more data to help troubleshoot this. Thanks!