A web application to manage and track your stock market portfolio. Buy and sell stocks, view your portfolio's current value, and track transaction history.
- Portfolio Overview: View your stock portfolio's current value.
- Buy and Sell Stocks: Easily buy and sell stocks, updating your portfolio in real-time.
- Transaction History: Track all your stock transactions with details like symbol, price, and quantity.
- Stock Quote Lookup: Get real-time stock quotes by entering a stock symbol.
- Flask: Web framework for building the application.
- SQLite: Database to store user and stock information.
- CS50 Library: Used for database operations.
- HTML, CSS, Bootstrap: Frontend design and styling.
- Python: Core language for application logic.
- Werkzeug: Password hashing and security.
- Yahoo Finance API: Used to fetch real-time stock quotes.
- Clone the repository:
git clone https://github.com/yourusername/stock-portfolio-tracker.git
- Install dependencies:
pip install -r requirements.txt
- Set up the database:
flask initdb
- Configure API key: Obtain a Yahoo Finance API key and set it as an environment variable
API_KEY
. - Run the application:
flask run