I get an error in the request to /login:
Exception raised in application: RuntimeError: no such table: stock [SQL: 'SELECT symbol, SUM(shares) FROM stock WHERE userid = 18 GROUP BY symbol'] (Background on this error at: http://sqlalche.me/e/e3q8)
This is the code for the index:
def index():
variableXXX = db.execute("SELECT symbol, SUM(shares) FROM Stock WHERE userid = :userid GROUP BY symbol", userid=session["user_id"])
Many thanks!