Hello the attached algo, doesn't make any transactions because is not able to retrieve the option chain for the specific symbol. In the loop of the select_options() function, the line  if kvp.Key == key, never match because kvp.Key has an '?' before the stock symbol, so the chain does not retrieved for the required symbol.

The correct behaviour I suppose is that kvp.Key would be equal to 'AAPL', or 'NFLX' or 'GOOG' or 'TSLA' without the '?'. How this can be solved? It is a bug?