This project aims to forecast the closing prices and directions of stock movements for AAPL and AMZN. I used AutoRegressive (AR) models with different lags and external variables such as trading volume, sentiment derived from Twitter data, and the S&P 500 index.
AutoRegressive (AR) Model:
Each model is tested using the following external variables:
The results are summarized in the table below. An interactive plot of the results can be found here.
The project demonstrates how different models and external factors can influence stock price predictions. The AR models with external variables such as trading volume and sentiment provide different levels of accuracy, highlighting the importance of selecting appropriate inputs for financial forecasting.
You can find the full code and data on my GitHub repository.
For more information or inquiries about this project, please contact
me at:
westling01@gmail.com