Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeAlpha Stock Trading Platform

Description

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.

Features

  • 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

OOP Concepts Used

The project uses Object-Oriented Programming through separate classes:

  • Stock - Stores stock information
  • User - Manages user information and balance
  • Transaction - Records buy and sell transactions
  • Portfolio - Tracks the user's stock holdings
  • StockTradingPlatform - Main application and menu system

Technologies Used

  • Java
  • ArrayList
  • HashMap
  • Scanner
  • Object-Oriented Programming
  • Loops
  • Conditional Statements

How to Run

Compile the program:

javac *.java

About

A Java console-based stock trading platform that simulates buying and selling stocks, portfolio management, balance tracking, and transaction history using Object-Oriented Programming.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages