Stacked Deep Learning Structure with Bidirectional Long-Short Term Memory for Stock Market Prediction

Author(s):  
Ying Xu ◽  
Lymeng Chhim ◽  
Bingxin Zheng ◽  
Yusuke Nojima

Stock market prediction problem is considered to be NP-hard problem because of highly volatile nature of stock market. In this paper, effort has been made to design efficient stock forecasting model using log Bilinear and long short term memory (LBL-LSTM) considering external fluctuating factor such as varying Bank's lending rates. The external factor bank's lending rates affects stock market performance ,as it plays vital role for the purchase of stocks in case of financial crisis faced by various business enterprises. Proposed LBL-LSTM based model shows performance improvement over existing machine learning algorithms used for stock market prediction.


2021 ◽  
Author(s):  
Yassine Touzani ◽  
Khadija Douzi

Abstract Forecasting stock prices is an extremely challenging job considering the high volatility and the number of variables that influence it (political, economical, social, etc.). Predicting the closing price provides useful information and helps the investor to make the right decision. The use of deep learning and more precisely the recurrent neural networks RNNs in stock market forecasting is an increasingly common practice in the literature. The Long Short Term Memory LSTM and Gated Recurrent Unit GRU architectures are among the most widely used types of RNN networks, given their suitability for sequential data. In this paper, we propose a trading strategy designed for the Moroccan stock market, based on two deep learning model: Long Short Term Memory LSTM and Gated Recurrent Unit GRU to predict respectively close price for short and mid term horizon. Decision rules for buying and selling stocks are implemented based on the forecasting given by the two models, then over four three-years periods, we simulate transactions using these decision rules with different parameters for each stock. We only hold stocks that ensure a return greater than a benchmark return over the four periods. Random search is then used to choose one of the available parameters and the performance of the portfolio built from the selected stocks will be tested over a further period. The repetition of this process with a variation of benchmark return makes it possible to select the best possible combination of stock each with the parameters optimized for the decision rules. The proposed strategy produces very promising results and outperform the performance of indices used as benchmarks in the local market.


Sign in / Sign up

Export Citation Format

Share Document