Abstract:

The system will consist of 2 parts:
1)    Exchange Server
2)    Broker System

Exchange Server
The server will be developed to handle multiple buy and sell equity orders of different companies from different users. These orders will be executed either at limit price or market price.
The server sends an affirmative message when an order execution is successfully complete. It also publishes the stock prices at regular intervals.

Broker System
It will be a web portal which will offer basic trading services to end users such as buying and selling stocks. The system will enable users to view and track their portfolio and make changes to it. The broker system lies in between the end user and exchange server thus acting as the facilitator of trade.

The exchange server and the broker system will connect to each other through a middleware. The middleware will mostly be a message based queue, that will enable both the systems to communicate with each other.

High-Level Architecture-

Exchange server-
1)    Java based server application
2)    Middleware for receiving orders and sending confirmations (eg IBM MQ)
3)    Database (Oracle/MySQL)

Broker System-
1)    Web-site designed for end users, acting as an interface to trading services
2)    Broker Server system running on Java
3)    Website and broker system interact over HTTPS
4)    Middleware for interacting with the exchange server
5)    Database