A Comparative Study of Stock Forecasts by LSTM and RNN Neural Networks

Journal: Modern Economics & Management Forum DOI: 10.32629/memf.v2i5.497

Siqi Wu

The Affiliated High School of Peking University, Beijing 100086, China

Abstract

In the financial market, stocks have always played a very important role. The economic situation is closely related to the stock market. If people could make an effective prediction of the future trend of the stock market, it is of great significance to prevent the financial crisis and guide the investment direction. From this point of view, this paper uses artificial intelligence to obtain a feature representation through the analysis of massive stock price data, to predict the future stock price. Specifically, it uses recurrent neural network (RNN) and long short-term memory networks (LSTM) to predict the stock trend. Under the same experimental conditions, the experimental results predicted by the two methods are compared and analyzed. The experimental results show that RNN has an effective prediction for the trend of stock price, but LSTM has a better prediction accuracy, especially in the short-term prediction.

Keywords

LSTM, RNN, stock-price, prediction

References

[1] Thaler H. Mental accounting and consumer choice. Marketing Science, 2008 (1): 12-25.
[2] Richard Thaler. Mental Accounting and Consumer Choice[J]. Marketing Science, 1985: 4(3).
[3] Daniel Kahneman. Consumers' ''Mental Accounting" in Responses to Unexpected Price Savings at the Point of Sale[J]. Marketing Intelligence & Planning, 1981: 4(24).
[4] Tversky Kahneman D. Social Norms and Mental Accounting Processes: A Virtual Community Context[J]. American. Marketing Association, 1984: (10).
[5] Zhang Changhua A deep learning model for financial market forecasting: the FEPA model University of Electronic Science and Technology, Chengdu, 006.
[6] Su Zhi, Lu man, Li Dexuan Financial Empirical Applications of Deep Learning: Dynamics, Contributions, and Prospects. Financial Research, 2017 (05): 111-126.
[7] Li Chunwei Stock Intelligence Predictions Based on Neural Networks and Genetic Algorithms. Northwestern University of Technology, Xi'an, 2006.
[8] Liang Xia. Application of artificial neural network with self-correction function in stock rolling prediction. Computer Application Research, 1999 (1): 76-80.

Copyright © 2021 Siqi Wu

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License