Stock Price Prediction for JPMorgan Chase & Co
Predicted the stock price of JPMorgan Chase & Co at 12/31/2019. Performed Time Series, Linear Regression and Random Forest Regression models.
Due to the complications of the date change, I used the beginning of 2020 (01/01/2020) to predict the stock price at the end of 2019 (12/31/2019). Since the variables that formed the model are interest rate, GDP, unemployment rate, CPI, etc., which can hardly change in one day, I believe these data would not interfere much for my final prediction.
Furthermore, because most of my indicators are recorded monthly, I used interpolation to better fit the model. Since all of them are rates, I applied the same number to the entire month/quarter.
The datasets I used are as followings:
- Historical Stock Price - source: Yahoo Finance
- GDP - source: fred.stlouisfed.org
- Interest Rate - source: fred.stlouisfed.org
- Inflation Rate - source: fred.stlouisfed.org
- Unemployment Rate - source: fred.stlouisfed.org
- Consumer Interest - source: fred.stlouisfed.org
During the process, I noticed that some of the variables have very strong correlations, in order to avoid multicollinearities, I only used interest rate, unemployment rate, and GPD.
Code
Please see the Jupyter Notebook for details.