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.
- Host: GitHub
- URL: https://github.com/eftekin/stock-portfolio-tracker
- Owner: eftekin
- License: mit
- Created: 2023-09-01T00:38:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-01T00:42:22.000Z (almost 3 years ago)
- Last Synced: 2024-05-11T05:55:40.935Z (about 2 years ago)
- Topics: stock-market, stocks-app
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Stock Portfolio Tracker

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
- Clone the repository:
git clone https://github.com/eftekin/Stock-Portfolio-Tracker.git
- Install the required Python packages:
pip install yfinance
- Open the
main.pyfile and customize thestockslist with your own stock symbols and quantities. - 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.