Research Article
Open access
Published on 26 November 2024
Download pdf
Liu,X. (2024). Research on Auto Regressive Integrated Moving Average model in predicting the rise and fall of stocks. Applied and Computational Engineering,97,119-126.
Export citation

Research on Auto Regressive Integrated Moving Average model in predicting the rise and fall of stocks

Xinyi Liu *,1,
  • 1 School of Nottingham-Ningbo, NUBs, Ningbo, China, ZIP Code: 315000

* Author to whom correspondence should be addressed.

https://doi.org/10.54254/2755-2721/97/20241455

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.

Keywords

ARIMA model, data, Python code, predict, stock.

[1]. 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).

[2]. Hochreiter, S. & Schmidhuber, J., 1997. Long short-term memory. Neural Computation, 9(8), pp. 1735-1780.

[3]. 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).

[4]. 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.

[5]. 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.

[6]. Vaswani, A., et al., 2017. Attention is all you need. In Advances in Neural Information Processing Systems (pp. 5998-6008).

[7]. Tay, Y., Dehghani, M. and Bahri, D., 2020. Efficient transformers: A survey. arXiv preprint arXiv:2009.06732.

[8]. Box, G.E.P., Jenkins, G.M. and Reinsel, G.C., 2015. Time series analysis: forecasting and control. John Wiley and Sons.

Cite this article

Liu,X. (2024). Research on Auto Regressive Integrated Moving Average model in predicting the rise and fall of stocks. Applied and Computational Engineering,97,119-126.

Data availability

The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.

Disclaimer/Publisher's Note

The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of EWA Publishing and/or the editor(s). EWA Publishing and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

About volume

Volume title: Proceedings of the 2nd International Conference on Machine Learning and Automation

Conference website: https://2024.confmla.org/
ISBN:978-1-83558-673-0(Print) / 978-1-83558-674-7(Online)
Conference date: 21 November 2024
Editor:Mustafa ISTANBULLU
Series: Applied and Computational Engineering
Volume number: Vol.97
ISSN:2755-2721(Print) / 2755-273X(Online)

© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license. Authors who publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See Open access policy for details).