This project is a simple Stock Portfolio Tracker developed using Python as part of the CodeAlpha Python Programming Internship.
The program allows users to select stocks, enter quantities, calculate individual investments, and display the total investment value using predefined stock prices.
CodeAlpha_StockPortfolioTracker/
│
├── stock_portfolio.py
└── README.md
python stock_portfolio.py
If the command does not work, try:
py stock_portfolio.py
STOCK PORTFOLIO TRACKER
Available Stocks:
AAPL - $180
TSLA - $250
GOOGL - $150
MSFT - $400
AMZN - $180
Enter stock name: AAPL
Enter quantity: 5
Stock added successfully!
Stock: AAPL
Price: $180
Quantity: 5
Investment: $900
Do you want to add another stock? (yes/no): no
PORTFOLIO SUMMARY
Stock: AAPL
Price: $180
Quantity: 5
Investment: $900
TOTAL INVESTMENT: $900
This project helped me understand dictionaries, lists, loops, user input, data validation, and calculating investment values using Python.
Ayushree Shrivastava
CodeAlpha - Python Programming Internship