Hybrid Crow Search Algorithm–LSTM System for Enhanced Stock Price Forecasting
Source abstract
Abstract
This study presents a hybrid crow search algorithm–long short-term memory (CSLSTM) system for forecasting stock prices. This system allows investors to effectively avoid risks and enhance profits by predicting the closing price the following day. This method utilizes a stacking ensemble of long short-term memory (LSTM) networks, with the crow search algorithm (CSA) optimizing the weights assigned to the predictions from multiple LSTM models. To improve the overall accuracy, this system leverages three distinct datasets: technical analysis indicators; price fluctuation limits; and variation mode decomposition (VMD) subsignal sequences. The predictions for the three reference-data types are more comprehensive than single-model or single-data-type approaches. The prediction accuracies of the recurrent neural network, gate recurrent unit, and the LSTM network for five stocks were compared. The proposed CSLSTM system outperforms the other standalone models. Furthermore, we conducted backtesting to demonstrate that the prediction information from our model could generate profit in the stock market, enabling users to benefit from complex stock-market dynamics. The stock prices in this study are expressed in New Taiwan Dollars (TWD), the official currency of Taiwan.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Stock Market Forecasting Methods · Energy Load and Power Forecasting · Complex Systems and Time Series Analysis
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Electrical Engineering, National Kaohsiung University of Science and Technology, Kaohsiung City 80778, Taiwan
Department of Intelligent Commerce, National Kaohsiung University of Science and Technology, Kaohsiung City 80778, Taiwan
Funding
Ministry of Science and Technology of the Republic of China · National Science and Technology Council of Taiwan
References (58)
Show source-provided references
1. Efficient capital markets: A review of theory and empirical work10.1111/j.1540-6261.1970.tb00518.x ↗
2. Hamilton, W.P. (2005). The Stock Market Barometer, Cosimo, Incorp.
3. Empirical asset pricing via machine learning10.1093/rfs/hhaa009 ↗
4. Predicting stock prices in the Pakistan market using machine learning and technical indicators10.61351/mf.v2i2.167 ↗
5. Forecasting the equity premium: Do deep neural network models work?10.61351/mf.v1i1.2 ↗
6. A prediction approach for stock market volatility based on time series data10.1109/ACCESS.2019.2895252 ↗
7. Global stock market prediction based on stock chart images using deep Q-network10.1109/ACCESS.2019.2953542 ↗
8. A novel data-driven stock price trend prediction system10.1016/j.eswa.2017.12.026 ↗
9. Corporate communication network and stock price movements: Insights from data mining10.1109/TCSS.2018.2812703 ↗
10. Bitcoin technical trading with artificial neural network10.1016/j.physa.2018.07.017 ↗
11. Mean-semivariance portfolio optimization with multiobjective evolutionary algorithms and technical analysis rules10.1016/j.eswa.2017.02.033 ↗
12. Evolutionary ORB-based model with protective closing strategies10.1016/j.knosys.2021.106769 ↗
13. An intelligence approach for group stock portfolio optimization with a trading mechanism10.1007/s10115-019-01353-2 ↗
14. Long short-term memory10.1162/neco.1997.9.8.1735 ↗
15. A novel metaheuristic method for solving constrained engineering optimization problems: Crow search algorithm10.1016/j.compstruc.2016.03.001 ↗
16. A GARCH model selection and estimation method based on neural network with the loss function of mean square error and model confidence set10.1002/for.3175 ↗
17. Forecasting oil prices with random forests10.1007/s00181-023-02480-0 ↗
18. The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation10.7717/peerj-cs.623 ↗
19. A CNN-BiLSTM-AM method for stock price prediction10.1007/s00521-020-05532-z ↗
20. Stock price prediction incorporating market style clustering10.1007/s12559-021-09820-1 ↗
21. _I_LSTM: Stock price prediction based on multiple data sources and sentiment analysis10.1080/09540091.2021.1940101 ↗
22. Variational mode decomposition10.1109/TSP.2013.2288675 ↗
23. What do we know about the profitability of technical analysis?10.1111/j.1467-6419.2007.00519.x ↗
24. A new financial data forecasting model using genetic algorithm and long short-term memory network10.1016/j.neucom.2020.04.086 ↗
25. Detection of third heart sound using variational mode decomposition10.1109/TIM.2018.2805198 ↗
26. Hybrid variational mode decomposition and evolutionary robust kernel extreme learning machine for stock price and movement prediction on daily basis10.1016/j.asoc.2018.11.008 ↗
27. Carbon price forecasting with variational mode decomposition and optimal combined model10.1016/j.physa.2018.12.017 ↗
28. Automatic License Plate Recognition via sliding-window darknet-YOLO deep learning10.1016/j.imavis.2019.04.007 ↗
29. Selvin, S., Vinayakumar, R., Gopalakrishnan, E.A., Menon, V.K., and Soman, K.P. (2017, January 13–16). Stock price prediction using LSTM, RNN and CNN-sliding window model. Proceedings of the International Conference on Advances in Computing, Communications and Informatics (ICACCI), Udupi, India.10.1109/ICACCI.2017.8126078 ↗
30. Forward forecast of stock price using sliding-window metaheuristic-optimized machine-learning regression10.1109/TII.2018.2794389 ↗
31. Correlation coefficient
32. Forecasting gold price fluctuations using improved multilayer perceptron neural network and whale optimization algorithm10.1016/j.resourpol.2019.02.014 ↗
33. Mujahid, A.K.R., and Thirumalai, C. (2017, January 11–12). Pearson correlation coefficient analysis (PCCA) on adenoma carcinoma cancer. Proceedings of the International Conference on Trends in Electronics and Informatics (ICEI), Tirunelveli, India.10.1109/ICOEI.2017.8300976 ↗
34. Using Twitter trust network for stock market analysis10.1016/j.knosys.2018.01.016 ↗
35. Correlation structure and evolution of world stock markets: Evidence from Pearson and partial correlation-based networks10.1007/s10614-016-9627-7 ↗
36. ME R-CNN: Multi-expert r-cnn for object detection10.1109/TIP.2019.2938879 ↗
37. Shah, D., Campbell, W., and Zulkernine, F.H. (2018, January 10–13). A comparative study of LSTM and DNN for stock market forecasting. Proceedings of the IEEE International Conference on Big Data (Big Data), Seattle, WA, USA.10.1109/BigData.2018.8622462 ↗
38. A comparison of Arima and LSTM in forecasting time series
39. Forecasting agricultural commodities prices using deep learning-based models: Basic LSTM, bi-LSTM, stacked LSTM, CNN LSTM, and convolutional LSTM10.1504/IJSAMI.2022.125757 ↗
40. F-LSTM: Federated learning-based LSTM framework for cryptocurrency price prediction10.3934/era.2023330 ↗
41. LSTM–GARCH hybrid model for the prediction of volatility in cryptocurrency portfolios
42. Aggarwal, D., and Banerjee, S. (2024). Forecasting of S&P 500 ESG index by using CEEMDAN and LSTM approach. J. Forecast., early view.10.1002/for.3201 ↗
43. Study on the prediction of stock price based on the associated network model of LSTM10.1007/s13042-019-01041-1 ↗
44. Nguyen, D.H.D., Tran, L.P., and Nguyen, V. (2019, January 6–9). Predicting stock prices using dynamic LSTM models. Proceedings of the International Conference on Applied Informatics, Madrid, Spain.10.1007/978-3-030-32475-9_15 ↗
45. Time series forecasting of petroleum production using deep LSTM recurrent networks10.1016/j.neucom.2018.09.082 ↗
46. Hourly day-ahead solar irradiance prediction using weather forecasts by LSTM10.1016/j.energy.2018.01.177 ↗
47. Describing video with attention-based bidirectional LSTM10.1109/TCYB.2018.2831447 ↗
48. LSTM-CRF neural network with gated self attention for Chinese NER10.1109/ACCESS.2019.2942433 ↗
49. Liu, S., Liao, G., and Ding, Y. (June, January 31). Stock transaction prediction modeling and analysis based on LSTM. Proceedings of the 13th IEEE Conference on Industrial Electronics and Applications (ICIEA), Wuhan, China.
50. Time-series well performance prediction based on long short-term memory (LSTM) neural network model10.1016/j.petrol.2019.106682 ↗
51. Image classification based on automatic neural architecture search using binary crow search algorithm10.1109/ACCESS.2020.3031599 ↗
52. Complex-valued ordinary differential equation modeling for time series identification10.1109/ACCESS.2019.2902958 ↗
53. An integrated TOPSIS crow search based classifier ensemble: In application to stock index price movement prediction10.1016/j.asoc.2019.105784 ↗
54. User’s guide to correlation coefficients10.1016/j.tjem.2018.08.001 ↗
55. Rumelhart, D.E., Hinton, G.E., and Williams, R.J. (1985). Learning Internal Representations by Error Propagation, California Universidad San Diego La Jolla Institute for Cognitive Science.10.21236/ADA164453 ↗
56. Cho, K., Van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. (2014). Learning Phrase Representations Using RNN Encoder-Decoder for Statistical Machine Translation. arXiv.10.3115/v1/D14-1179 ↗
57. A hybrid stock price index forecasting model based on variational mode decomposition and LSTM network10.1007/s10489-020-01814-0 ↗
58. Shao, Z.-E. (2020). Design and Implementation a Hybrid Crow Search Algorithm and LSTM for Stock Price Forecasting. [Master’s Thesis, National Kaohsiung University of Science and Technology: Kaohsiung City].