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?
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!