Lean.Brokerages.InteractiveBrokers icon indicating copy to clipboard operation
Lean.Brokerages.InteractiveBrokers copied to clipboard

Error validating request.-'bO'

Open AlexCatarino opened this issue 5 months ago • 0 comments

Runtime Error: Error validating request.-'bO' : cause - When the local symbol field is empty, please fill the following fields (right, strike, expiry). Origin: [Id=656] Subscribe: ES20M25 250620C05945000 (FOP ES USD CME 20250620 0 C) Stack Trace: Error validating request.-'bO' : cause - When the local symbol field is empty, please fill the following fields (right, strike, expiry). Origin: [Id=656] Subscribe: ES20M25 250620C05945000 (FOP ES USD CME 20250620 0 C)

Unable to confirm with this:

# region imports
from AlgorithmImports import *
# endregion
class CryingYellowBarracuda(QCAlgorithm):
    def initialize(self):
        self.set_start_date(2023, 12, 19)
        es = Symbol.create_future("ES", Market.CME, datetime(2025,6,20))
        fop = Symbol.create_option(es, es.id.market, OptionStyle.EUROPEAN, OptionRight.CALL, 5945, es.id.date)
        self.add_future_option_contract(fop)

need to wait for the next contract.

AlexCatarino avatar Jun 20 '25 21:06 AlexCatarino