This project creates an account management system which manages a stock portfolio account and a bank account. An abstract base class has two derived classes: StockAccount and BankAccount. Both account shares a common initial balance of $10,000 available in the bank account. This balance keeps changing as the transactions go on. The doubly-linked list data structure is used to store the portfolio stock information in the StockAccount.
The program is written in C++. This program is able to perform:
Stock Portfolio Account:
- Display the price of a stock
- Display the current portfolio
- Buy shares
- Sell shares
- View a graph for the portfolio value
- View transaction history
Bank Account:
- View account balance
- Deposit money
- Withdraw money
- Print out history