Using machine learning to predict Apple Inc.’s stock returns and develop a hedging strategy for investors
Abstract
This report aims at investigating the relationship between the returns of Apple Inc. and the market returns by using the machine learning model. Nine months of historical financial data for Apple and market was utilized as the training data set, predicting the return of Apple in future three months. Within this research, my findings suggest that there is a significantly positive correlation between Apple’s returns and the market returns, which indicates that it is acceptable to forecast Apple’s performance through the market index, and any market fluctuation tends to have a pronounced impact on Apple. Based on the effective analysis of Apple’s future returns, we can propose valid hedging strategies for investors to eliminate risks from both upward and downward price trends.
References
- Pagano, M.S. and Schwartz, R.A. (2003). A closing call’s impact on market quality at Euronext Paris. Journal of Financial Economics, 68(3), pp.439–484. doi:https://doi.org/10.1016/s0304-405x(03)00073-4.
- Yoshua Bengio and Yves Grandvalet (2004). No Unbiased Estimator of the Variance of K-Fold Cross-Validation. Journal of Machine Learning Research, 5, pp.1089–1105.
- Bates, S.S., Hastie, T. and Tibshirani, R. (2021). Cross-validation: what does it estimate and how well does it do it? Journal of the American Statistical Association, pp.1–22. doi:https://doi.org/10.1080/01621459.2023.2197686.
- COCHRANE, J.H. (2011). Presidential Address: Discount Rates. The Journal of Finance, [online] 66(4), pp.1047–1108. doi:https://doi.org/10.1111/j.1540-6261.2011.01671.x.
- Chai, T. and Draxler, R.R. (2014). Root mean square error (RMSE) or mean absolute error (MAE)? Geoscientific Model Development Discussions, 7(1), pp.1525–1534. doi:https://doi.org/10.5194/gmdd-7-1525-2014.
- Fama, E.F. and French, K.R. (1988). Dividend yields and expected stock returns. Journal of Financial Economics, 22(1), pp.3–25. doi:https://doi.org/10.1016/0304-405x(88)90020-7.
- Engle, R.F., Ghysels, E. and Sohn, B. (2013). Stock Market Volatility and Macroeconomic Fundamentals. Review of Economics and Statistics, 95(3), pp.776–797. doi:https://doi.org/10.1162/rest_a_00300.