Solved

Database design for stock buy and sell

Posted on 2011-09-19
3
622 Views
Last Modified: 2013-11-12
Hi,
I am in the process of designing a database (for effecient) trading of Stocks which come in XML file format.

The purpose is that the Operator looks at the screen and he is prompted if there  is a price difference for each feed coming in for a particular product.  The system highlights the operator that there is price didfference and he may buy or sell looking at the difference. for that particular PRODUCT.

Has anyone done database design for this particular scenario. I am looking for help regarding this. Could you pls share the tables for this.  all the operator needs is to trade looking at the screen.  
0
Comment
Question by:sai0824
3 Comments
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 250 total points
ID: 36857828
I do not have a specific design already made for a stock exchange, but if you share what you have, i.e., your thoughts, I can help guide you a bit. The keys will be understanding the separation of duties within the design. There are pieces that should be in the database, others in the presentation layer, and others business logic. Especially if you are expecting the heavy load of a normal stock exchange, you want to ensure to account for the speed and magnitude of transactions. Keep it simple.
0
 
LVL 21

Assisted Solution

by:developmentguru
developmentguru earned 250 total points
ID: 36860233
 The design of the database will revolve around your requirements.  I don't know if there is any simpler way to put it.  I, as well as other experts, can help you to flesh out the requirements.  Once that starts happening I normally find that the design easily follows.

  First you mention that you have "Stocks which come in XML file format".  Where do they come from?  Can you give us the definition of the allowable XML format in use?  Or, is this another piece of the puzzle that has yet to be written?  If it is, you will need to let us know why XML and how you envision the parts of the system communicating.

  I have been a part of designing very large trading systems in the past.  One thing I can tell you is that the end user should not be forced to dredge through endless volumes of stocks.  The system should be able to follow a set of rules (set up by the user) that will allow the system to bring stock opportunities to the user's attention.

  The ball is in your court now.  The original question was FAR too vague a place to start.  While we can offer you advice on some of what you might want to incorporate in your design, you must make the decisions yourself.  Once you have, and included us in the ideas you have, we will be able to help with the design.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now