Submitted:
06 February 2025
Posted:
06 February 2025
Read the latest preprint version here
Abstract
Keywords:
I. Introduction
a) Development of Robust Prediction Models
b) Comparative Analysis of Methods
c) Practical System Implementation
d) Trading Strategy Optimization
II. Related Work
A. Deep Learning Approaches with LSTM
B. Time Series Analysis with ARIMA
C. Linear Regression Approaches and Variants
D. Hybrid and Comparative Approaches
III. Data Collection and Processing
A. Dataset Description and Selection
B. Data Preprocessing Methodology
1) Linear Regression Preprocessing
2) ARIMA Time Series Transformation
3) LSTM Sequential Data Processing
C. Quality Control and Validation
IV. Methodology
A. Algorithm Selection and Design
B. Model Selection Rationale
C. Comparative Framework
V. Experiments
A. Linear Regression Experiments
B. LSTM Model Optimization
C. ARIMA Model Performance
D. Comparative Analysis
E. Discussion and Implications
VI. Conclusion
References
- W. Jiang, “Applications of deep learning in stock market prediction: Recent progress,” Expert Systems with Applications, vol. 184, p. 115537, 2021. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0957417421009441.
- H. Yan and H. Ouyang, “Financial time series prediction based on deep learning,” Wireless Personal Communications, vol. 102, pp. 683–700, 2018.
- W. Long, Z. Lu, and L. Cui, “Deep learning-based feature engineering for stock price movement prediction,” Knowledge-Based Systems, vol. 164, pp. 163–173, 2019. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0950705118305264.
- N. Huck, “Pairs selection and outranking: An application to the s&p 100 index,” European Journal of Operational Research, vol. 196, no. 2, pp. 819–825, 2009. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0377221708003160.
- Y. Wang, Q. Li, Z. Huang, and J. Li, “Ean: Event attention network for stock price trend prediction based on sentimental embedding,” in Proceedings of the 10th ACM conference on web science, 2019, pp. 311–320.
- Z. Ke, J. Xu, Z. Zhang, Y. Cheng, and W. Wu, “A consolidated volatility prediction with back propagation neural network and genetic algorithm,” arXiv preprint arXiv:2412.07223, 2024.
- Q. Yu, Z. Ke, G. Xiong, Y. Cheng, and X. Guo, “Identifying money laundering risks in digital asset transactions based on ai algorithms,” 2025.
- Z. Zhang, X. Li, Y. Cheng, Z. Chen, and Q. Liu, “Credit risk identification in supply chains using generative adversarial networks,” 2025. [Online]. Available: https://arxiv.org/abs/2501.10348.
- S. Hochreiter, “Long short-term memory,” Neural Computation MIT-Press, 1997.
- A. Sherstinsky, “Fundamentals of recurrent neural network (rnn) and long short-term memory (lstm) network,” Physica D: Nonlinear Phenomena, vol. 404, p. 132306, 2020. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0167278919305974.
- K. Greff, R. K. Srivastava, J. Koutník, B. R. Steunebrink, and J. Schmidhuber, “Lstm: A search space odyssey,” IEEE Transactions on Neural Networks and Learning Systems, vol. 28, no. 10, pp. 2222–2232, 2017.
- Z. Fathali, Z. Kodia, and L. Ben Said, “Stock market prediction of nifty 50 index applying machine learning techniques,” Applied Artificial Intelligence, vol. 36, no. 1, p. 2111134, 2022.
- M. A. Hossain, R. Karim, R. Thulasiram, N. D. B. Bruce, and Y. Wang, “Hybrid deep learning model for stock price prediction,” in 2018 IEEE Symposium Series on Computational Intelligence (SSCI), 2018, pp. 1837–1844.
- G. E. Box, G. M. Jenkins, G. C. Reinsel, and G. M. Ljung, Time series analysis: forecasting and control. John Wiley & Sons, 2015.
- A. A. Ariyo, A. O. Adewumi, and C. K. Ayo, “Stock price prediction using the arima model,” in 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, 2014, pp. 106–112.
- J.-J. Wang, J.-Z. Wang, Z.-G. Zhang, and S.-P. Guo, “Stock index forecasting based on a hybrid model,” Omega, vol. 40, no. 6, pp. 758–766, 2012, special Issue on Forecasting in Management Science. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0305048311001435.
- G. Zhang, “Time series forecasting using a hybrid arima and neural network model,” Neurocomputing, vol. 50, pp. 159–175, 2003. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0925231201007020.
- D. Bhuriya, G. Kaushal, A. Sharma, and U. Singh, “Stock market predication using a linear regression,” in 2017 International conference of Electronics, Communication and Aerospace Technology (ICECA), vol. 2, 2017, pp. 510–513.
- L.-C. Cheng, Y.-H. Huang, and M.-E. Wu, “Applied attention-based lstm neural networks in stock prediction,” in 2018 IEEE International Conference on Big Data (Big Data), 2018, pp. 4716–4718.
- S. Chen and L. Ge, “Exploring the attention mechanism in lstm-based hong kong stock price movement prediction,” Quantitative Finance, vol. 19, no. 9, pp. 1507–1515, 2019.
- L. Chen, Y. Chi, Y. Guan, and J. Fan, “A hybrid attention-based emd-lstm model for financial time series prediction,” in 2019 2nd International Conference on Artificial Intelligence and Big Data (ICAIBD), 2019, pp. 113–118.
- S. Siami-Namini, N. Tavakoli, and A. Siami Namin, “A comparison of arima and lstm in forecasting time series,” in 2018 17th IEEE International Conference on Machine Learning and Applications (ICMLA), 2018, pp. 1394–1401.











| Stock | All Attributes MSE | Close Price MSE | Range-Normalized Improvement | Trading Volume Range |
|---|---|---|---|---|
| AAPL | 63.150 | 40.243 | 36.27% | 2.5M-8.9M |
| KO | 2.722 | 2.717 | 0.18% | 0.8M-2.1M |
| NVDA | 625.501 | 602.997 | 13.60% | 1.2M-5.4M |
| PFE | 8.727 | 9.464 | -8.45% | 1.5M-4.2M |
| TSLA | 18432.795 | 17195.716 | 6.71% | 3.2M-12.5M |
| Stock | LSTM-64 MSE | LSTM-128 MSE | LSTM-256 MSE | Trading Volume Range |
|---|---|---|---|---|
| AAPL | 5.349 | 8.198 | 9.168 | 0.82 |
| KO | 0.179 | 0.117 | 1.179 | 0.31 |
| NVDA | 20.250 | 29.444 | 48.793 | 0.89 |
| PFE | 0.748 | 0.882 | 1.192 | 0.54 |
| TSLA | 741.964 | 744.730 | 1131.923 | 0.93 |
| Stock | Steps=20 MSE | Steps=25 MSE | Steps=30 MSE | Optimal Configuration |
|---|---|---|---|---|
| AAPL | 7.236 | 8.193 | 8.198 | 20 |
| KO | 0.186 | 0.176 | 1.117 | 30 |
| NVDA | 39.688 | 16.504 | 29.444 | 25 |
| PFE | 0.869 | 0.931 | 0.882 | 20 |
| TSLA | 653.083 | 1004.143 | 744.73 | 25 |
| Stock | ARIMA(1,1,1) MSE | ARIMA(2,1,2) MSE | Improvement Factor | Price Volatility Index |
|---|---|---|---|---|
| AAPL | 0.0004 | 0.002 | 5.19x | 0.42 |
| KO | 0.004 | 0.008 | 1.73x | 0.18 |
| NVDA | 1.210 | 6.866 | 5.67x | 0.56 |
| PFE | 0.024 | 0.032 | 1.33x | 0.24 |
| TSLA | 0.172 | 48.672 | 281.54x | 0.89 |
| Stock | LR MSE | ARIMA MSE | LSTM MSE |
|---|---|---|---|
| AAPL | 40.243 | 0.0004 | 5.349 |
| KO | 2.717 | 0.004 | 0.117 |
| NVDA | 602.997 | 1.210 | 16.504 |
| PFE | 9.464 | 0.024 | 0.748 |
| TSLA | 17195.716 | 0.172 | 653.038 |
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 MDPI and/or the editor(s). MDPI 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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).