This project is a simple Python application designed to help users track their stock portfolios and calculate the total value of their investments.
- Add multiple stocks to your portfolio along with the quantity of shares.
- Fetch real-time stock prices using the Yahoo Finance API.
- Calculate the total value of your portfolio based on current stock prices.
- Easily extendable for adding more functionality.
- Clone the repository:
git clone https://github.com/eftekin/Stock-Portfolio-Tracker.git
- Install the required Python packages:
pip install yfinance
- Open the
main.py
file and customize thestocks
list with your own stock symbols and quantities. - Run the application:
python main.py
Portfolio Status:
Holding 3 shares of AAPL, Total value: 563.61
Holding 5 shares of GOOG, Total value: 686.75
Holding 2 shares of TSLA, Total value: 516.16
Total portfolio value: 1766.52
Contributions are welcome! If you have any ideas, improvements, or bug fixes, feel free to submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.