A Financial Time Series Forecasting Model Using Quasi-Recurrent Neural Networks and the Crown Porcupine Optimizer for Stock Market Risk Prediction
Received: 12 July 2025 | Revised: 1 August 2025, 19 August 2025, 8 September 2025, 17 September 2025, 22 September 2025, and 27 September 2025 | Accepted: 28 September 2025 | Online: 8 December 2025
Corresponding author: Elvir Akhmetshin
Abstract
Stock is a financial product described by flexible trading, high risk, and high return, which is favored by many investors. Investors may obtain sufficient returns by precisely approximating stock price developments. However, a stock price is affected by several factors, such as market conditions, macroeconomic situation, major economic and social events, and managerial decisions of companies. As a result, Stock Price Prediction (SPP) has consistently attracted attention and is an important field of investigation. Currently, Machine Learning (ML) is extensively utilized in SPP, but considerably more appropriate techniques are suggested for the prediction of stock prices, as numerous investigations have proved that Deep Learning (DL) has better efficacy than other methods. The paper proposes a Financial Time Series Forecasting Using Quasi Recurrent Neural Network and Crown Porcupine Optimizer (FTSF-QRNNCPO) method, offering an intelligent framework for financial stock market price prediction to accurately assess market volatility and forecast associated investment risks. The FTSF-QRNNCPO method begins with data preprocessing, comprising missing value handling, data cleaning, and normalization to prepare the input data effectively. The Secretary Bird Optimization Algorithm (SBOA) is employed for optimal Feature Selection (FS). Then, the Quasi-Recurrent Neural Network (QRNN) approach is employed for prediction. The Crown Porcupine Optimizer (CPO) approach is employed in the parameter tuning process. The FTSF-QRNNCPO technique was experimentally evaluated on a Tesla stock price dataset, demonstrating superior accuracy, achieving a significantly lower MAPE of 0.415% and outperforming previous models.
Keywords:
financial time series forecasting, quasi recurrent neural network, crown porcupine optimizer, stock market, risk predictionDownloads
References
M. R. Islam and N. Nguyen, "Comparison of Financial Models for Stock Price Prediction," Journal of Risk and Financial Management, vol. 13, no. 8, Aug. 2020, Art. no. 181. DOI: https://doi.org/10.3390/jrfm13080181
Z. Hu, Y. Zhao, and M. Khushi, "A Survey of Forex and Stock Price Prediction Using Deep Learning," Applied System Innovation, vol. 4, no. 1, Mar. 2021, Art. no. 9. DOI: https://doi.org/10.3390/asi4010009
P. Gao, R. Zhang, and X. Yang, "The Application of Stock Index Price Prediction with Neural Network," Mathematical and Computational Applications, vol. 25, no. 3, Sep. 2020, Art. no. 53. DOI: https://doi.org/10.3390/mca25030053
X. Ji, J. Wang, and Z. Yan, "A stock price prediction method based on deep learning technology," International Journal of Crowd Science, vol. 5, no. 1, pp. 55–72, Apr. 2021. DOI: https://doi.org/10.1108/IJCS-05-2020-0012
X. Pang, Y. Zhou, P. Wang, W. Lin, and V. Chang, "An innovative neural network approach for stock market prediction," The Journal of Supercomputing, vol. 76, no. 3, pp. 2098–2118, Mar. 2020. DOI: https://doi.org/10.1007/s11227-017-2228-y
M. Vijh, D. Chandola, V. A. Tikkiwal, and A. Kumar, "Stock Closing Price Prediction using Machine Learning Techniques," Procedia Computer Science, vol. 167, pp. 599–606, Jan. 2020. DOI: https://doi.org/10.1016/j.procs.2020.03.326
K. Zhang, G. Zhong, J. Dong, S. Wang, and Y. Wang, "Stock Market Prediction Based on Generative Adversarial Network," Procedia Computer Science, vol. 147, pp. 400–406, Jan. 2019. DOI: https://doi.org/10.1016/j.procs.2019.01.256
T. S. Mian, "Evaluation of Stock Closing Prices using Transformer Learning," Engineering, Technology & Applied Science Research, vol. 13, no. 5, pp. 11635–11642, Oct. 2023. DOI: https://doi.org/10.48084/etasr.6017
U. P. Gurav and S. Kotrappa, "Sentiment Aware Stock Price Forecasting using an SA-RNN-LBL Learning Model," Engineering, Technology & Applied Science Research, vol. 10, no. 5, pp. 6356–6361, Oct. 2020. DOI: https://doi.org/10.48084/etasr.3805
B. Y. Dwiandiyanta, R. Hartanto, and R. Ferdiana, "Optimization of Stock Predictions on Indonesia Stock Exchange: A New Hybrid Deep Learning Method," Engineering, Technology & Applied Science Research, vol. 15, no. 1, pp. 19370–19379, Feb. 2025. DOI: https://doi.org/10.48084/etasr.9363
P. K. Choudhary, N. Innan, M. Shafique, and R. Singh, "HQNN-FSP: A Hybrid Classical-Quantum Neural Network for Regression-Based Financial Stock Market Prediction." arXiv, Mar. 19, 2025.
W. Yang, Y. Lin, H. Xue, and J. Wang, "Research on stock market sentiment analysis and prediction method based on convolutional neural network," in Proceedings of the 2025 International Conference on Machine Learning and Neural Networks, May 2025, pp. 91–96. DOI: https://doi.org/10.1145/3747227.3747241
M. Sui, C. Zhang, L. Zhou, S. Liao, and C. Wei, "An Ensemble Approach to Stock Price Prediction Using Deep Learning and Time Series Models," in 2024 IEEE 6th International Conference on Power, Intelligent Computing and Systems (ICPICS), Shenyang, China, Jul. 2024, pp. 793–797. DOI: https://doi.org/10.1109/ICPICS62053.2024.10796661
H. Alnafisah, H. Abdulrahim, A. A. Hassaballa, A. Alsulami, and Adil. O. Y. Mohamed, "Dung beetle optimization with deep learning approach for solving inverse problems in predicting financial futures," Alexandria Engineering Journal, vol. 109, pp. 71–82, Dec. 2024. DOI: https://doi.org/10.1016/j.aej.2024.08.082
K. Venkateswararao and B. V. R. Reddy, "LT-SMF: long term stock market price trend prediction using optimal hybrid machine learning technique," Artificial Intelligence Review, vol. 56, no. 6, pp. 5365–5402, Jun. 2023. DOI: https://doi.org/10.1007/s10462-022-10291-5
Y. Zhao and G. Yang, "Deep Learning-based Integrated Framework for stock price movement prediction," Applied Soft Computing, vol. 133, Jan. 2023, Art. no. 109921. DOI: https://doi.org/10.1016/j.asoc.2022.109921
I. E. Fattoh, M. El Maghawry Ibrahim, and F. A. Mousa, "Unveiling market dynamics: a machine and deep learning approach to Egyptian stock prediction," Future Business Journal, vol. 11, no. 1, Feb. 2025, Art. no. 18. DOI: https://doi.org/10.1186/s43093-025-00421-0
R. Tang et al., "Three-Dimensional Path Planning for AUVs Based on Interval Multi-Objective Secretary Bird Optimization Algorithm," Symmetry, vol. 17, no. 7, Jul. 2025, Art. no. 993. DOI: https://doi.org/10.3390/sym17070993
C. Liu et al., "Comparative evaluation of encoding techniques for workflow process remaining time prediction for cloud applications," Journal of Cloud Computing, vol. 14, no. 1, Jul. 2025, Art. no. 36. DOI: https://doi.org/10.1186/s13677-025-00763-8
Z. Zhou, H. Li, K. Wu, J. Chen, T. Yao, and Y. Wu, "Development of Time Series Models and Algorithms: Creep Prediction for Low-Carbon Concrete Materials," Materials, vol. 18, no. 13, Jan. 2025, Art. no. 3152. DOI: https://doi.org/10.3390/ma18133152
"Tesla Stock Price." Kaggle, [Online]. Available: https://www.kaggle.com/datasets/jillanisofttech/tesla-stock-price.
V. Gkonis and I. Tsakalos, "A hybrid optimized deep learning model via the Golden Jackal Optimizer for accurate stock price forecasting," Expert Systems with Applications, vol. 278, Jun. 2025, Art. no. 127287. DOI: https://doi.org/10.1016/j.eswa.2025.127287
J. L. Li and W. K. Shi, "Hybrid preprocessing for neural network-based stock price prediction," Heliyon, vol. 10, no. 24, Dec. 2024. DOI: https://doi.org/10.1016/j.heliyon.2024.e40819
D. M. Teixeira and R. S. Barbosa, "Stock Price Prediction in the Financial Market Using Machine Learning Models," Computation, vol. 13, no. 1, Jan. 2025, Art. no. 3. DOI: https://doi.org/10.3390/computation13010003
Downloads
How to Cite
License
Copyright (c) 2025 Ilyos Abdullayev, Elvir Akhmetshin, Emil Hajiyev, Zokir Mamadiyarov, Tatyana Khorolskaya, Laxmi Lydia

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
