EconPapers    
Economics at your fingertips  
 

Generalized Loss-Based CNN-BiLSTM for Stock Market Prediction

Xiaosong Zhao (), Yong Liu and Qiangfu Zhao
Additional contact information
Xiaosong Zhao: Graduate School of Computer Science and Engineering, The University of Aizu, Aizu-Wakamatsu 965-8580, Japan
Yong Liu: Graduate School of Computer Science and Engineering, The University of Aizu, Aizu-Wakamatsu 965-8580, Japan
Qiangfu Zhao: Graduate School of Computer Science and Engineering, The University of Aizu, Aizu-Wakamatsu 965-8580, Japan

IJFS, 2024, vol. 12, issue 3, 1-23

Abstract: Stock market prediction (SMP) is challenging due to its uncertainty, nonlinearity, and volatility. Machine learning models such as recurrent neural networks (RNNs) have been widely used in SMP and have achieved high performance in terms of “minimum error”. However, in the context of SMP, using “least cost” to measure performance makes more sense. False Positive Errors (FPE) can lead to significant trading losses, while False Negative Errors (FNE) can result in missed opportunities. Minimizing FPE is critical for investors. In practice, some errors may result in irreparable losses, so measuring costs based on data is important. In this research, we propose a new method called generalized loss CNN-BiLSTM (GL-CNN-BiLSTM), where the cost of each datum can be dynamically calculated based on the difficulty of the data. We verify the effectiveness of GL-CNN-BiLSTM on Shanghai, Hong Kong, and NASDAQ stock exchange data. Experimental results show that although there is no significant difference in the accuracy and winning rate between GL-CNN-BiLSTM and other methods, GL-CNN-BiLSTM achieves the highest rate of return on the test data.

Keywords: deep learning; CNN; LSTM; generalized loss; cost sensitive; stock market prediction (search for similar items in EconPapers)
JEL-codes: F2 F3 F41 F42 G1 G2 G3 (search for similar items in EconPapers)
Date: 2024
References: View complete reference list from CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
https://www.mdpi.com/2227-7072/12/3/61/pdf (application/pdf)
https://www.mdpi.com/2227-7072/12/3/61/ (text/html)

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:gam:jijfss:v:12:y:2024:i:3:p:61-:d:1423800

Access Statistics for this article

IJFS is currently edited by Ms. Hannah Lu

More articles in IJFS from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-04-12
Handle: RePEc:gam:jijfss:v:12:y:2024:i:3:p:61-:d:1423800