To read this content please select one of the options below:

Application of LSTM model optimized by individual-ordering-based adaptive genetic algorithm in stock forecasting

Yong He (School of Computer, Dongguan University of Technology, Dongguan, China)
Xiaohua Zeng (School of Economics and Trade, Guangzhou Xinhua University, Dongguan, China)
Huan Li (School of Computer, Dongguan University of Technology, Dongguan, China)
Wenhong Wei (School of Computer, Dongguan University of Technology, Dongguan, China)

International Journal of Intelligent Computing and Cybernetics

ISSN: 1756-378X

Article publication date: 23 August 2022

Issue publication date: 15 May 2023

76

Abstract

Purpose

To improve the accuracy of stock price trend prediction in the field of quantitative financial trading, this paper takes the prediction accuracy as the goal and avoid the enormous number of network structures and hyperparameter adjustments of long-short-term memory (LSTM).

Design/methodology/approach

In this paper, an adaptive genetic algorithm based on individual ordering is used to optimize the network structure and hyperparameters of the LSTM neural network automatically.

Findings

The simulation results show that the accuracy of the rise and fall of the stock outperform than the model with LSTM only as well as other machine learning models. Furthermore, the efficiency of parameter adjustment is greatly higher than other hyperparameter optimization methods.

Originality/value

(1) The AGA-LSTM algorithm is used to input various hyperparameter combinations into genetic algorithm to find the best hyperparameter combination. Compared with other models, it has higher accuracy in predicting the up and down trend of stock prices in the next day. (2) Adopting real coding, elitist preservation and self-adaptive adjustment of crossover and mutation probability based on individual ordering in the part of genetic algorithm, the algorithm is computationally efficient and the results are more likely to converge to the global optimum.

Keywords

Acknowledgements

This work was supported by the Key Project of Science and Technology Innovation 2030 supported by the Ministry of Science and Technology of China (No. 2018AAA0101301), the Key Projects of Artificial Intelligence of High School in Guangdong Province (No. 2019KZDZX1011) and The High School innovation Project (No. 2018KTSCX222).

Citation

He, Y., Zeng, X., Li, H. and Wei, W. (2023), "Application of LSTM model optimized by individual-ordering-based adaptive genetic algorithm in stock forecasting", International Journal of Intelligent Computing and Cybernetics, Vol. 16 No. 2, pp. 277-294. https://doi.org/10.1108/IJICC-04-2022-0104

Publisher

:

Emerald Publishing Limited

Copyright © 2022, Emerald Publishing Limited

Related articles