Lean.Brokerages.InteractiveBrokers
Lean.Brokerages.InteractiveBrokers copied to clipboard
Error validating request.-'bO'
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.