Stacked Long Short-Term Memory for Vietnamese Stock Market Returns Prediction

Authors

  • Phuong Mai Pham Thuyloi University, 175 Tay Son, Dong Da, Hanoi 100000, Vietnam
  • Quang Chieu Ta Thuyloi University, 175 Tay Son, Dong Da, Hanoi 100000, Vietnam

Keywords:

LSTM, Stock Market, Stock Returns

Abstract

Investment wealth management and macroeconomic research both use historical indices that describe the overall movements of the entire market over a period to make objective judgments and insightful decisions. Since their inception, exchange stock indices have provided a broad picture of the national economy, reflected various stages of economic development, and forecasted potential risks that could harm investments or lead to a large-scale crisis. Many articles have studied the volatility of stock prices and stock indexes in the world, but the separate research on the profitability of the whole stock market is relatively scarce. This paper focuses on studying the profitability of the Vietnamese stock market from 2010 to 2021 through the returns of the VN-Index. The aim of this paper is to propose a Stacked Long Short-Term Memory (LSTM) neural network to predict the volatility of VN-Index returns, in comparison with the autoregressive methods (ARIMA, SARIMA) often used in econometrics. Taking Root Mean Square Error (RMSE) and Mean Absolute Error (MAE) as the objective cost functions, the research results show that the LSTM neural network model gives superior performance compared to the econometric methods and better predictive meaning in practice thanks to its flexible learning and memory capabilities.

References

Y. S. Abu-Mostafa and A. A. F, "Introduction to financial forecasting," Applied Intelligence, vol. 6, no. 3, pp. 205-213, 1996.

F. Campanella, M. Mustilli and E. D¡ Angelo, "Efficient Market Hypothesis and Fundamental Analysis: An Empirical Test in the European Securities Market," Review of Economics and Finance, vol. 6, pp. 27-42, 2016.

S. K. Shahid and A. Rahaman, "Exponential Smoothing Methods for Detection of the Movement of Stock Prices," International Journal of Recent Technology and Engineering, vol. 8, no. 5, 2020.

P. K. Sahoo and K. Charlapally, "Stock Price Prediction Using Regression Analysis," International Journal of Scientific & Engineering Research, vol. 6, no. 3, pp. 1655-1659, 2015.

A. A. Adebiyi, A. O. Adewumi and C. K. Ayo, "Comparison of ARIMA and Artificial Neural Networks Models for Stock Price Prediction," Journal of Applied Mathematics, pp. 1-7, 2014.

D. G. McMillan, "Nonlinear predictability of stock market returns: Evidence from nonparametric and threshold models," International Review of Economics & Finance, vol. 10, no. 4, pp. 353-368, 2001.

V. Akgiray, "Conditional Heteroscedasticity in Time Series of Stock Returns: Evidence and Forecasts," The Journal of Business, vol. 62, no. 1, p. 55, 1989.

R. Adhikari and R. K. Agrawal, "An Introductory Study on Time series Modeling and Forecasting," LAP Lambert Academic Publishing, 2013.

H. Lee, R. Grosse, R. Ranganath and A. Y. Ng, "Convolutional deep belief networks for scalable unsupervised learning of hierarchical representations," in Proceedings of the 26th Annual International Conference on Machine Learning - ICML, 2009.

R. Cervelló-Royo, F. Guijarro and K. Michniuk, "Stock market trading rule based on pattern recognition and technical analysis: Forecasting the DJIA index with intraday data," Expert Systems with Applications, vol. 42, no. 14, p. 5963–5975, 2015.

D. Enke and N. Mehdiyev, "Stock Market Prediction Using a Combination of Stepwise Regression Analysis, Differential Evolution-based Fuzzy Clustering, and a Fuzzy Inference Neural Network," Intelligent Automation & Soft Computing, vol. 19, no. 4, pp. 636-648, 2013.

H. Chung and K. Shin, "Genetic Algorithm-Optimized Long Short-Term Memory Network for Stock Market Prediction," Sustainability, vol. 10, no. 10, p. 3765, 2018.

E. Chong, C. Han and F. C. Park, "Deep learning networks for stock market analysis and prediction: Methodology, data representations, and case studies," Expert Systems with Applications, vol. 83, pp. 187-205, 2017.

B. Lei, B. Zhang and Y. Song, "Volatility Forecasting for High-Frequency Financial Data Based on Web Search Index and Deep Learning Model," Mathematics, vol. 9, no. 4, p. 320, 2021.

R. K. Nayak, D. Mishra and A. K. Rath, "A Naïve SVM-KNN based stock market trend reversal analysis for Indian benchmark indices," Applied Soft Computing, vol. 35, pp. 670-680, 2015.

H. Yu, R. Chen and G. Zhang, "A SVM Stock Selection Model within PCA," Procedia Computer Science, vol. 31, pp. 406-412, 2014.

F. A. De Oliveira, C. N. Nobre and L. E. Zárate, "Applying Artificial Neural Networks to prediction of stock price and improvement of the directional prediction index – Case study of PETR4, Petrobras, Brazil.," Expert Systems with Applications, vol. 40, no. 18, p. 7596–7606, 2013.

A. J. Hussain, A. Knowles, P. J. G. Lisboa and W. El-Deredy, "Financial time series prediction using polynomial pipelined neural networks," Expert Systems with Applications, vol. 35, no. 3, pp. 1186-1199, 2008.

D. Caplinger, "What Is a Stock Market Index? The Motley Fool.," 2020. [Online]. Available: www.fool.com/investing/stock-market/indexes . [Accessed 29 September 2021].

P. Gao, R. Zhang and X. Yang, "The Application of Stock Index Price Prediction with Neural Network," Mathematical and Computational Applications, vol. 25, no. 3, p. 53, 2020.

F. A. Gers, "Learning to forget: continual prediction with LSTM," in 9th International Conference on Artificial Neural Networks: ICANN ’99, 1999.

S. Hochreiter and J. Schmidhuber, "Long Short-Term Memory," Neural Computation, vol. 9, no. 8, pp. 1735-1780, 1997.

"cafef," [Online]. Available: s.cafef.vn/du-lieu/download.chn. [Accessed 6 September 2021].

Š. &. M. P. Lyócsa, "The effect of non-trading days on volatility forecasts in equity markets," Finance Research Letters, vol. 23, pp. 39-49, 2017.

M. Asai and M. McAleer, "Non‐trading day effects in asymmetric conditional and stochastic volatility models," The Econometrics Journal, vol. 10, no. 1, pp. 113-123, 2007.

J. Wooldridge, Introductory econometrics: A modern approach (5thed.), Mason, OH: South-Western, Cengage Learning, 2013.

S. Varma and R. Simon, "Bias in error estimation when using cross-validation for model selection," BMC Bioinformatics, vol. 7, no. 1, 2006.

D. Gujarati, Econometrics, 2015.

L. Chen and M. Xu, "Piecewise Time Series Prediction Based on Stacked Long Short-Term Memory and Genetic Algorithm," 2020 Chinese Automation Congress (CAC), 2020.

Downloads

Published

2022-05-11

How to Cite

Phuong Mai Pham, & Quang Chieu Ta. (2022). Stacked Long Short-Term Memory for Vietnamese Stock Market Returns Prediction. International Journal of Applied Sciences: Current and Future Research Trends, 13(1), 193–208. Retrieved from https://ijascfrtjournal.isrra.org/index.php/Applied_Sciences_Journal/article/view/1237

Issue

Section

Articles