New answers tagged

0 votes

PSet 9 Sell handles valid sale expected to find "56.00" in page

Found the line that was wrong: quantity_held = db.execute("SELECT quantity FROM transaction_history WHERE user_id = ? AND symbol = ? GROUP BY symbol", user_id, symbol) Should have read: ...
faarn's user avatar
  • 13
1 vote

PSet 9 Sell handles valid sale expected to find "56.00" in page

You have some fundamental problems in your code. You should have your database queries wrapped in a try catch to handle exceptions in their execution. In your HTML the section for the row in database ...
UpAndAdam's user avatar
  • 1,311

Top 50 recent answers are included