Description:
The Problem
I want a console program that manages a stock portfolio. Here's what makes up a portfolio:
Portfolio: The entire portfolio
Owner: The owner of the portfolio
Stock: The description of an individual stock
Transaction: Record of a purchase or sale of shares of a stock
The owner has a name and social security number. The portfolio should only have one owner, but the
portfolio may have several stocks. Each stock has a company name (for example, International
Business Machines), a ticker symbol (IBM), and the current market value for each share. There may
be several transactions for each stock. Each transaction has a date, whether it is a purchase or sale, the number of shares involved, and the price for each share. Each of these can be represented as a self-contained object, with well defined data and operations.
Some of these objects contain other objects. The portfolio contains an owner, a collection of stocks,
and perhaps some additional information. A stock contains not only its description, but also a list of the transactions which have occurred. The objects are independent of each other, for example, the owner
object doesn&'t know about transactions, and the transactions don&'t know about the stock which they
represent.
The program should:
- Purchase shares of a particular stock
- Sell shares of a particular stock
- Set the current market value of a stock
- List the total value of the portfolio
- List the stocks in the portfolio with their cost and current value
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
Using only standard C++, it should compile with either Visual Studio or g++ and run on Linux or Windows.
Must be 100% finished and received by buyer on:
Apr 12, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|