Lookup sometimes returns None for actual stocks (the ones I have tried are NFLX, GOOG, and FB). Sometimes lookup works successfully and my code correctly executes updating the database. However, sometimes when I buy/sell/return to index, these companies return back None from Lookup().
I edited helpers.py's lookup function to print UH OH UH OH, if the program enters into the if statement that is only executed if the stock does not exist!
https://i.stack.imgur.com/k1ovo.png
What is happenning??? It get's annoying to stop halfway through testing my code by an error from lookup!