A new attention-based LSTM model for closing stock price prediction
Yuyang Lin,
Qi Huang,
Qiyin Zhong,
Muyang Li,
Yan Li and
Fei Ma
Additional contact information
Yuyang Lin: Applied Mathematics, School of Sciences, Xi’an Jiaotong-Liverpool University, Suzhou, P. R. China
Qi Huang: Applied Mathematics, School of Sciences, Xi’an Jiaotong-Liverpool University, Suzhou, P. R. China
Qiyin Zhong: Applied Mathematics, School of Sciences, Xi’an Jiaotong-Liverpool University, Suzhou, P. R. China
Muyang Li: Applied Mathematics, School of Sciences, Xi’an Jiaotong-Liverpool University, Suzhou, P. R. China
Yan Li: Applied Mathematics, School of Sciences, Xi’an Jiaotong-Liverpool University, Suzhou, P. R. China
Fei Ma: Applied Mathematics, School of Sciences, Xi’an Jiaotong-Liverpool University, Suzhou, P. R. China
International Journal of Financial Engineering (IJFE), 2022, vol. 09, issue 03, 1-17
Abstract:
Financial time-series prediction has been a demanding and popular subject in many fields. Latest progress in the deep learning technique, especially the deep neural network, shows great potentials in accomplishing this difficult task. This study explores the possible neural networks to improve the accuracy of the financial time-series prediction, while the main focus is to predict the closing price for next trading day. In this paper, we propose a new attention-based LSTM model (AT-LSTM) by combining the Long Short-Term Memory (LSTM) networks with the attention mechanism. Six stock markets indices with four features were used as the input to the model. We evaluate the model performance in terms of MSE, RMSE and MAE. The results for these three metrics are 0.4537, 0.6736 and 0.4858, respectively. The results suggest that our model is skillful in capturing financial time series, and the predictions are robust and stable. Furthermore, we compared our results with the previous work. As a result, our proposed AT-LSTM exhibits a significant performance improvement and outperforms other methods.
Keywords: Deep learning; long short-term memory; attention mechanism; stock market prediction (search for similar items in EconPapers)
Date: 2022
References: Add references at CitEc
Citations:
Downloads: (external link)
http://www.worldscientific.com/doi/abs/10.1142/S2424786322500141
Access to full text is restricted to subscribers
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:wsi:ijfexx:v:09:y:2022:i:03:n:s2424786322500141
Ordering information: This journal article can be ordered from
DOI: 10.1142/S2424786322500141
Access Statistics for this article
International Journal of Financial Engineering (IJFE) is currently edited by George Yuan
More articles in International Journal of Financial Engineering (IJFE) from World Scientific Publishing Co. Pte. Ltd.
Bibliographic data for series maintained by Tai Tone Lim ().