Question
Draw the entity-relationship diagram to represent the information below. Consider the following partial specification of entities in a stock broker system.The objective is to model
Draw the entity-relationship diagram to represent the information below.
Consider the following partial specification of entities in a stock broker system.The objective is to model a database to maintain the information about stock market as described below. In the end, we want all tables in the database to be normalised, and you should ensure that all of the information described can be represented.We need to represent information about companies for which shares are negotiated. Each company is identified by a unique company code in the system. Examples of this kind of information include name, address, phone, etc. In addition, share prices of each company at every 5 minutes must also be recorded. This information is updated automatically from a live feed from the London Stock Market and is kept in the database for an arbitrary period. It is used to determine the latest prices of the shares used in the negotiations. The information is also used to draw statistical graphs about the evolution of the prices of each company.The purchase and selling of shares is done by stock brokers. As for the companies, information about names, addresses and phones of all stock brokers used in the system must also be kept. Shares for a given company can be sold/purchased from several stock brokers and a stock broker might sell/purchase shares for many companies. The information about which stock broker deals with which company must be recorded for reference.A transaction is the event of selling/purchasing shares of a company to/from a customer by a stock broker in a given moment in time. The price used in the transaction is the latest price of the share of a company at the time the transaction is agreed. Details of transactions must be recorded. A broker has a balance of shares of companies he can negotiate. Details of the update of this balance are not relevant here. However, some record of the balance must be kept in the system.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started