Using an sqlite3 database, users can register an account name and password which gets hashed in the database.
To purchase stock, the user just navigates to the "buy" page, inputs the stock symbol, and the amount of shares they want to purchase.
Users can also look up their transaction history.
When the user purchases or sells a stock, the transaction information, such as the price, quantity, and timestamp, gets saved in the database.
This is the information displayed when the user navigates to the 'history' page.