|
BusinessRequirements
Business Requirements of Stockapp.
1. Let us assume that we have 10 users - webuser1 to webuser10. 2. Each user has $100000 with him for investing. 3. He can invest in any number of stocks and he can purchase any quantity. 4. Let us say he invests in MSFT (Microsoft). The price today is $23.52. If he buys 100 shares, he spends $2352. So his remaining cash is $100000 - 2352. We have to build front end screens to do the following: 1. Buy stocks It will show his cash balance and present a textbox where he can enter a stock ticker. He should also enter a quantity. The program checks his cash balance and if he has money to buy, it does the transaction and then shows the results. 2. Sell stocks It will show all the stocks he has in his possession and he can sell any quantity. The results screen should show the results of the transaction. 3. View portfolio It should show all stocks , quanitites and amounts and show how much cash he has as well. |