Stock Market Transactions Assignment Help

Stock Market Transactions Assignment Help

Stock Market Transactions Assignment Help Write an Android application holding the activity Main Activity to display the XML user interface Main UI showing any greeting message of your choice to the screen. Delay the display of this message reasonably so the user can get the time to read it; and then, the Main Activity will callautomatically the activity Pick Investor Act at the end of this delay to displaythe XML user interface Pick Investor UI. This interface will showsome check boxes for prompting the user to select either name Maria, Tony or both.These names identify investors that do stock market transactions on regular basis. This user interface will also show the buttons Exit and Return. Once the activity Pick Stock Market Transactions Assignment HelpInvestor Actis done, user will click the button Return to return the selected names to the activity Main Activity.In this case, the user interface will show the investor names rather than the greeting message nowtogether with the buttons Exit and Continue.

The user will click now the button Continue to call the activity Pick Comp Trans Act holding the user interface Pick Comp Trans UI to process the selected investors, one at a time,as follows:

  • Initialize the individual portfolio by using the corresponding Initial Portfolio Table data below. Notice that, in addition to the given transactions and shares in the portfolio, the portfolio (initial) cash amount available for doing next transactions is $2000.00. Once the initial portfolio is set, it will eventually become the portfolio (see the Portfolio sample table below) for this investor so the application will edit it at the end of every transaction.In this regard the individual portfolio will be initialized only once per session; however, it will be updatedat the end of every transaction at runtime.
  • Theactivity Pick Comp TransAct will display the user interface Pick Comp Trans UIusingany layout of type GridLayout of your choice showing the investor name, two groups of radio buttons together with the buttons Exit and DoTransaction to the screen.
  • The first group of radio buttons will display this list of company names Company 1, Company 2 and Company 3. The investor willselect exactly one name from this list. The second group of radio buttons will display this list of transaction choices: (S)ell, (B)uy and (P)ortfolio.The investor will also select exactly one transaction from this list.
  • Keep in mind thatexactly one company is selected and exactly one transaction S, B or P will apply to this company.Thereafter, the user will click the button DoTransaction to call the activity DoTransAct to display the XML user interface DoTransUI to the screen. By using this interface, the application will then process the selected transaction for this selected company, as follows:
  1. If (S)ell is selected, display the Portfolioof this investor by appending an empty transaction row to this table so the user will fill it in, as follows:
  • Type in the transaction number by incrementing the current one by 1.
  • Enter the company name and type in the letterS as the transaction type.
  • Any selltransaction willsell all shares of the company in the portfolio.
  • Type in the sell price (1<=valid_sell_price <= 10) per share.
  • Compute the totalvalue to fill in the Total column of the table using the formula total=Qty*sell_price where Qty is the quantity or total number of shares of this company in the portfolio.
  • Validate this sell transaction. If valid, update the portfolio cash amount of money available for next transactions; and then, save this row of data to the portfolio. Otherwise, display a dialog box showing an adequate error message for helping the user to fix any mistake upon to this transaction is successfully done.
  1. If (B)uy is checked, display the Portfolioof this investor by appending an empty transaction row of data to this table so the user will fill it in, as follows:
  • Type in the transaction number by incrementing the current one by 1.
  • Enter the company name and type in the letter B as the transaction type.
  • Type inboth the buy quantity (20<=valid_buy_qty<=50) and the buy price (1<=valid_buy_price<= 10) per share.
  • Compute the total value to fill in the Total column of the table using the formula total=buy_qty*buy_price.
  • Validate the transaction. If valid (by also ensuring that there is enough money left for buying these shares), update the portfolio cash amount of money available for next transactions; and then, save this row of data to the portfolio. Otherwise, display a dialog box showing an adequate error message for helping the user to fix any mistake upon to this transaction is successfully done.
  1. If (P)ortfolio is checked, display an adequate user interface showing the Portfolio of this investor similar to the Portfolio (sample table)below for Maria. Notice that, students will design this user interface using the layouts TableLayout and TableRow, first.
  • Once the transaction is successfully done, display a dialog box prompting the user to do another transaction for the current investor. If yes, display the user interface PickCompTransUI as described on step 2 so the user can repeat this process by selecting any company together with any new transaction for the current investor. Otherwise, go to step 1 to repeat this process for the next investor, if any.

If no more transactions to process for the current investor and all investors were processed successfully, the user will click the button Exit to terminate the execution of this application. In fact, any user interface showing the button Exit on this application will allow the user to click on it to terminate the execution of the application.

Investor name: Tony             Initial Portfolio table

Transaction numberCompany nameTransaction typeQuantityUnit priceTotal
1Company 1B805.00400
2Company 2B509.00450
Cash amount available in portfolio1000

Investor name: Maria                       Initial Portfolio table

Transaction numberCompany nameTransaction typeQuantityUnit priceTotal
1Company 2B509.00450
2Company 3B705.00350
Cashamount available in portfolio2000

Investor name: Maria                       Portfolio(sample table)

Transaction numberCompany nameTransaction typeQuantityUnit priceTotal
1Company 2B509.00450
2Company 3B1005.00500
3Company 2S5010.00500
4Company 1B502.00100
Cashamount available in portfolio1800

Grading will consider

  1. (3 marks) Good programming practices including event-driven programming, user-defined Java interface, packages and classes (declaring private and protected members), multiple activities, appropriate user-interface design usingembedded layouts (including these layouts GridLayout, TableLayouts and TableRow)holding the widgets as described on these handouts.
  2. (3 marks) Appropriate use of the programming language including the use of meaningful names, appropriate use of functions and methods by passing parameters, appropriate use of the conditional statements and loops, etc.
    Notice that students must use the given names appearing on this document in bold such as the activity names (ex: PickCompTransAct) and the XML file names (ex: PickCompTransUI).

 

David Marks

Dear sir/Ma'am

Our dedication and hard work towards developing quality content has made us competent to provide excellent services to the clients as per their needs. We ensure plagiarism free writing obeying academic integrity and honesty making us a dedicated team towards developing original content helping students to ensure high grades. Our services are hassle free, timely yet at an affordable rate driving clients to avail it for a longer period of time making them loyal and satisfied towards us.

Services we offer:
Essay writing
Report writing
Assignment writing
Reflective writing
Proposal writing
Dissertation writing
Thesis writing
CDR writing
Annotated bibliography
PowerPoint presentation
Article/book review
Why us?
Plagiarism free original content
On-time services maintaining deadlines
Experienced writers
Plagiarism and Grammarly report
Dedicate Team Leaders and Quality Checkers
Subjects we cover:
Marketing management
Human resource management
Literature
Law
Finance
Accounts
Economics
Nursing
Sociology
Environmental science
Business studies
Political science
History
Journalism and Masscommunication
Geography

Declaration: Working with us will give you the opportunity to avail divergent range of academic services at affordable rates in assistance with the dedicated team having members from different disciplines holding high degrees in their respective domains. We are experienced in developing B-plan, writing dissertations and theses having employed highly qualified and experienced writers.

You can reach us at-
Email:- ozpaperhelp@gmail.com
https://www.ozpaperhelp.com/
https://www.cheapassignmenthelp.co.uk
https://www.freeassignmenthelp.com
https://cheapassignmenthelp.blogspot.com/
Thanks
Oz Paper Help

https://www.ozpaperhelp.com/
1 Step 1
GET INSTANT ASSIGNMENT HELP
keyboard_arrow_leftPrevious
Nextkeyboard_arrow_right