A menu-driven stock portfolio tracker developed using Python during the CodeAlpha Python Programming Internship.
Ahmed Nadeem
CodeAlpha Python Programming Internship
- Includes American and Pakistani stocks
- Adds stocks using symbols or company names
- Accepts share quantities and buying prices
- Calculates total investment
- Displays current portfolio value
- Calculates profit or loss
- Displays percentage return
- Updates current stock prices
- Supports selling shares
- Shows portfolio totals in PKR and USD
- Python dictionaries
- Functions
- Loops
- Conditional statements
- User input and output
- Input validation
- Arithmetic calculations
- Currency conversion
python StockPortfolioTracker.py
All stock prices and exchange rates are manually assumed for this internship.