Solved

Database design for stock buy and sell

Posted on 2011-09-19
3
644 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB 6.0 printer how to align 6 58
topping3 challenge 14 70
Homework Help 5 72
C# application error "Parameter Is Not Valid". 3 79
This is an explanation of a simple data model to help parse a JSON feed
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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…

910 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

23 Experts available now in Live!

Get 1:1 Help Now