Class Diagram for the Online Stock Brokerage System
Learn to create a class diagram for a stock brokerage system using the bottom-up approach.
In this lesson, we’ll identify and design the classes, abstract classes, and interfaces based on the requirements we have previously gathered from the interviewer in an online stock brokerage system.
Components of a stock brokerage system
We will design the online stock brokerage system using a bottom-up approach as mentioned.
Account
Account
: This abstract class stores a person’s account information. It has members like account ID, name, password, account status, address, email, and phone number. There can be two types of accounts: Admin
and Member
.
Member
: They can search the stock, place an order to buy or sell stocks, create an account, start a membership, add stocks to the wish list, add buying and selling limits, and perform transactions in many ways.
Admin
: They can block or unblock members, cancel their membership, and reset passwords.