Hi everyone,

I keep running into this weird symbol issue, I am not sure where it comes from. I am using optionSymbol for sell order function which is a static value but somehow this error still occurs.

self.Sell(OptionStrategies.BullPutSpread(self.optionSymbol,
shortContractInfo.strike, longContractInfo.strike, shortContractInfo.expiry), np.floor(qty))

 

BACKTEST: 

https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_d617cccff6c4e3c77a928e68fe3b7257.html