What IBKR subscription do I need , I have
US Equities and Options
Futures Bundle
Runtime Error: No security definition has been found for the request. Origin: [Id=15] Subscribe: SPX 250620P05920000 (OPT SPX USD Smart 20250619 5920 P)
2025-06-02 19:17:45 : Runtime Error: No security definition has been found for the request. Origin: [Id=15] Subscribe: SPX 250620P05920000 (OPT SPX USD Smart 20250619 5920 P): StackTrace: No security definition has been found for the request. Origin: [Id=15] Subscribe: SPX 250620P05920000 (OPT SPX USD Smart 20250619 5920 P)
I have this code -
regular option SPX contracts
self.spx = self.add_index("SPX", Resolution.MINUTE)
self.spx_options = self.add_index_option("SPX")
self.spx_options.set_filter(lambda u: (u.strikes(0, 1).expiration(0, 45)))
# weekly option SPX contracts
spxw = self.add_index_option("SPX", "SPXW")
# set our strike/expiry filter for this option chain
spxw.set_filter(lambda u: (u.strikes(0, 1)
# single week ahead since there are many SPXW contracts and we want to preserve performance
.expiration(0, 45)
.include_weeklys()))
self.spxw_option = spxw.symbol
self.spx = self.add_index("SPX", Resolution.MINUTE)
self.spx_option = self.add_index_option("SPX","SPXW", Resolution.MINUTE)
self.spx_option.set_filter(-13, 13, TimeSpan.from_days(0), TimeSpan.from_days(45))
Mia Alissi
Here’s a detailed response for Manoj:
1. Why your current IBKR subscriptions are not enough for SPX options in QuantConnect (QC) live trading:
While you have the “US Equities and Options” and “Futures Bundle,” SPX options (including weeklies, i.e., SPXW) are index options on the S&P 500, not equity options. They require specific index data permissions. The “US Equities and Options” alone does not grant you access to real-time SPX or SPXW market data.
2. Which IBKR subscriptions you specifically need to trade and receive live SPX option data:
To successfully live trade SPX and SPXW options on QuantConnect through Interactive Brokers, you need BOTH:
Without both, IBKR will reject option requests for index options with “No security definition has been found for the request.”
3. Notes on entitlement activation:
4. Code review and API usage:
Your QuantConnect logic for adding SPX and SPXW as separate index option universes is correct. Example:
Advice: Don’t mix direct SPX and SPXW within the same
add_index_option()
call. Maintain them as separate universes as above.5. Further steps:
If you’ve subscribed to both data bundles and waited at least 24 hours (and still get that error), check that SPX market data is visible in IB Gateway/TWS for your account. If not, contact IBKR support to verify if the bundles are correctly enabled and assigned. You may also consult the QuantConnect forums for persistent cases.
Summary:
You are missing the CME S&P Index data bundle for live SPX option prices. After adding, wait 24 hours, confirm assignment, and use separate
add_index_option()
for SPX and SPXW. If issues persist, contact IBKR.Sources: Interactive Brokers - QuantConnect.com, Universes - QuantConnect.com
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Alexandre Catarino
Manoj Kandlikar ,
Thank you for your patience.
The error message is not due to your data subscriptions.
It means that this contract was not found in Interactive Brokers' database.
For live trading issues, please open a support ticket.
Best regards,
Alex
Manoj Kandlikar
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!