Write a program in java that will analyze stock data - 63451

Request Posted by
jmebert14

jmebert14

Rating : No Rating
Earned: $0
Request Detail
Price: $20
  • From: Computer Science, Programming
  • Due on: Fri 09 May, 2014 (02:28am)
  • Asked on: Fri 09 May, 2014
  • Due date has passed, but you can still Post Solution.
Description

Write a program in java that will analyze stock data and purchase stock with the user's specific risk and investment.

User will select risk from a GUI, high, medium or low and input the total investment they want to invest.

The program will then find the average closing stock price from the last 3 months, then divide the average from the most recent stock price. If the result is over 1 then the program will purchase the stock and display to the user the stock purchased and the amount of shares purchase which is the investment total divided by the stock price. Data file is attached

 

Example of the data to use(highlighted):

 

Date, Open, High, Low, Close, Volume, Adj Close

2014-05-07,72.71,72.83,71.53,72.18,2802700,72.18

2014-05-06,72.99,73.17,72.21,72.25,2278100,72.25

2014-05-05,72.67,73.43,72.26,73.29,2327800,73.29

Attachments
stockdata.txt
stockdata.txt
Please Login or Register to Submit the Solution for the Request