Research on Auto Regressive Integrated Moving Average model in predicting the rise and fall of stocks
Abstract
The development of the stock market has been characterised by a lack of dynamism, particularly in the context of an economic slowdown, policy adjustments and global uncertainties. As a result, corporate earnings have declined, stock demand has decreased, stock prices have fallen and investors are uncertain about the future. The following article aims to demonstrate the construction of an autoregressive integrated moving average (ARIMA) model using the Python programming language, the utilization of the CSI 300 index data from 2012 to 2022 sourced from the Kaggle website, the prediction of its fluctuations, the generation of a line graph, and a comparison with the actual trend. In the final stage of the analysis, four diagnostic graphs will be deployed to ascertain the suitability of the model. The results show that the ARIMA model effectively forecasts stock trends, with the predicted upward and downward trends following 2022 largely aligning with the actual trends and overlapping the two lines. Investors can use this model to determine the best investment direction and reduce the risk of failure.
References
- Martin, W., 2024. Here's Why Global Stock Markets Are on the Slide. Markets Insider. Available at: https://markets.businessinsider.com (Accessed: 15 August 2024).
- Hochreiter, S. & Schmidhuber, J., 1997. Long short-term memory. Neural Computation, 9(8), pp. 1735-1780.
- Sutskever, I., Vinyals, O. and Le, Q.V., 2014. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems (pp. 3104-3112).
- Graves, A., Mohamed, A.-r. and Hinton, G., 2013. Speech recognition with deep recurrent neural networks. In 2013 IEEE International Conference on Acoustics, Speech and Signal Processing (pp. 6645-6649). IEEE.
- Chung, J., Gulcehre, C., Cho, K. and Bengio, Y., 2014. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555.
- Vaswani, A., et al., 2017. Attention is all you need. In Advances in Neural Information Processing Systems (pp. 5998-6008).
- Tay, Y., Dehghani, M. and Bahri, D., 2020. Efficient transformers: A survey. arXiv preprint arXiv:2009.06732.
- Box, G.E.P., Jenkins, G.M. and Reinsel, G.C., 2015. Time series analysis: forecasting and control. John Wiley and Sons.