Skip to content

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

License

Notifications You must be signed in to change notification settings

eftekin/stock-portfolio-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages