EconPapers    
Economics at your fingertips  
 

Stock market forecasting research based on GA-WOA-LSTM

Wu Huiyong and Zunlong Wang

PLOS ONE, 2025, vol. 20, issue 8, 1-21

Abstract: With the increasing complexity and prosperity of global financial markets, stock market forecasting plays a critical role in investment decision-making, market regulation, and economic planning. This study proposes a hybrid prediction model that integrates Genetic Algorithm (GA), Whale Optimization Algorithm (WOA), and Long Short-Term Memory (LSTM) neural networks, referred to as the GA-WOA-LSTM model. In this framework, GA is employed to generate the initial population and perform global search for LSTM hyperparameter optimization, while WOA is applied to conduct local refinement of the search space. The LSTM model, known for its superior ability to capture nonlinear dependencies and long-term patterns in time series, is used to model and forecast future stock closing prices. The performance of the proposed model is evaluated on both training and test datasets using key metrics including Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), Root Mean Squared Error (RMSE), and the coefficient of determination (R2). Experimental results demonstrate that the GA-WOA-LSTM model significantly outperforms traditional baseline models in terms of predictive accuracy and generalization capability. This research offers a robust and effective modeling strategy for financial time series forecasting and provides valuable insights for real-world financial applications.

Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0330324 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 30324&type=printable (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0330324

DOI: 10.1371/journal.pone.0330324

Access Statistics for this article

More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().

 
Page updated 2025-08-30
Handle: RePEc:plo:pone00:0330324