Stock Trading Platform is a Java console-based application developed as part of the CodeAlpha Java Programming Internship.
The application simulates a basic stock trading environment where users can view market data, buy and sell stocks, manage their balance, track transactions, and monitor their portfolio.
- View available stocks and market prices
- Buy stocks
- Sell stocks
- Track available balance
- Track owned stocks
- View portfolio value
- View transaction history
- Prevent selling more shares than owned
- Console-based user interface
The project uses Object-Oriented Programming through separate classes:
Stock- Stores stock informationUser- Manages user information and balanceTransaction- Records buy and sell transactionsPortfolio- Tracks the user's stock holdingsStockTradingPlatform- Main application and menu system
- Java
- ArrayList
- HashMap
- Scanner
- Object-Oriented Programming
- Loops
- Conditional Statements
Compile the program:
javac *.java