An open API service indexing awesome lists of open source software.

https://github.com/eftekin/stock-portfolio-tracker

📈 Track and calculate the total value of your stock portfolio with this simple Python application using real-time stock prices from Yahoo Finance.
https://github.com/eftekin/stock-portfolio-tracker

stock-market stocks-app

Last synced: over 1 year ago
JSON representation

📈 Track and calculate the total value of your stock portfolio with this simple Python application using real-time stock prices from Yahoo Finance.

Awesome Lists containing this project

README

          

Stock Portfolio Tracker

Python Version

This project is a simple Python application designed to help users track their stock portfolios and calculate the total value of their investments.

Features


  • 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.

Getting Started


  1. Clone the repository:

git clone https://github.com/eftekin/Stock-Portfolio-Tracker.git


  1. Install the required Python packages:

pip install yfinance


  1. Open the main.py file and customize the stocks list with your own stock symbols and quantities.

  2. Run the application:

python main.py

Example Output



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

Contributing

Contributions are welcome! If you have any ideas, improvements, or bug fixes, feel free to submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.