Project (use only java language please)
Go to finance.yahoo.com. Download data for a stock of your choice.
Data download: type in the stock symbol, then go to historical data, select starting date and end date (01/01/2006 to 12/31/2016).
save ot as a csv file (comma separated values)
Questions:
Use Adjusted close for all computations
Q1: Compute the 20 days moving average: avg(n) = avg(n-1)*factor + close of today*(1-factor)
Q2: Compute the standard deviation at each day.