Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayaarbi/codealpha_stock_trading_platform
A Java-based console application simulating a stock trading platform. Features include market data visualization, buying/selling stocks, and portfolio tracking. Ideal for learning basic stock trading concepts and Java programming.
https://github.com/ayaarbi/codealpha_stock_trading_platform
Last synced: about 1 month ago
JSON representation
A Java-based console application simulating a stock trading platform. Features include market data visualization, buying/selling stocks, and portfolio tracking. Ideal for learning basic stock trading concepts and Java programming.
- Host: GitHub
- URL: https://github.com/ayaarbi/codealpha_stock_trading_platform
- Owner: ayaarbi
- License: cc0-1.0
- Created: 2024-06-17T11:34:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-17T11:39:19.000Z (7 months ago)
- Last Synced: 2024-06-17T13:01:28.763Z (7 months ago)
- Language: Java
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeAlpha Stock Trading Platform
Welcome to the CodeAlpha **Stock Trading Platform** project! This is a Java console application for the **CodeAlpha internship** designed to simulate a stock trading environment. It provides basic functionalities such as viewing market data, buying and selling stocks, and tracking the performance of a portfolio.
## Features
- **View Market Data:** Display current stock prices for various stocks.
- **Buy Stock:** Purchase stocks and add them to your portfolio.
- **Sell Stock:** Sell stocks from your portfolio.
- **View Portfolio:** Display the stocks in your portfolio along with their current value and profit/loss.
- **Compute Performance:** Calculate the total value and profit/loss of your portfolio.## Example Usage
Upon running the application, you will be presented with a menu:
- **Option 1:** View current market data for available stocks.
- **Option 2:** Buy a stock by entering the stock name and quantity.
- **Option 3:** Sell a stock from your portfolio by entering the stock name and quantity.
- **Option 4:** View the stocks in your portfolio, including their current value and profit/loss.
- **Option 5:** Exit the application.