1 00:00:00,000 --> 00:00:00,600 2 00:00:00,600 --> 00:00:02,190 SPEAKER 1: We're almost done. 3 00:00:02,190 --> 00:00:04,590 The next thing to do is to implement history. 4 00:00:04,590 --> 00:00:09,180 Now, the implementation of history will depend on your implementation of buy 5 00:00:09,180 --> 00:00:10,500 and sell. 6 00:00:10,500 --> 00:00:12,250 What you need to do for history is to show 7 00:00:12,250 --> 00:00:17,490 a chronology of the user's interactions, whether a stock was bought or sold, 8 00:00:17,490 --> 00:00:21,720 that stock symbol, and the price that it was sold or bought at, 9 00:00:21,720 --> 00:00:24,090 and the number of shares that were bought or sold-- 10 00:00:24,090 --> 00:00:28,390 as well as the time and date at which the transaction occurred. 11 00:00:28,390 --> 00:00:30,330 So this means that all of this information 12 00:00:30,330 --> 00:00:36,390 must be contained within whatever table structures you set up in your database. 13 00:00:36,390 --> 00:00:39,150 Regardless of the number of tables you have, 14 00:00:39,150 --> 00:00:42,120 you'll definitely want one template for history, 15 00:00:42,120 --> 00:00:46,420 and then edit the route within application.py. 16 00:00:46,420 --> 00:00:47,530