Skip to content

Website where users can create an account, buy, and sell imaginary stocks

Notifications You must be signed in to change notification settings

jlu90/CS50-Finance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS50-Finance

NOTE: This project was completed as part of Harvard's CS50 on EdX. Requirements for this project can be found here.

Description: Website where users can create an account, buy, and sell imaginary stocks.

For this project, I implemented the following functionality:

  1. register: Allows a user to "register" on the site. The username and password are submitted via Flask and stored in a sqlite 3 database
  2. quote: Allows a user to look up the price of a stock using the symbol
  3. buy: Allows a user to buy the imaginary stock; Purchased stocks are saved to the database and money balance is updated
  4. index: Displays an HTML summary table of the user's current funds and stocks
  5. sell: Allows a user to sell stocks; Sold stocks are removed from the database and the money balance is updated
  6. history: Displays an HTML table showing the transaction history for the user

All code outside of the above functions was provided by CS50.

About

Website where users can create an account, buy, and sell imaginary stocks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published