Research on the Stock prediction based on LSTM Algorithm
DOI:
https://doi.org/10.54097/mxzhkc54Keywords:
Long term short memory network; time series; stock prediction.Abstract
Predicting the value of a stock in the future is a widely recognized challenge. However, the Long Short-Term Memory (LSTM) network provides a distinctive solution as a specialized type of recurrent neural network proficient at tackling long-term dependency problems. Each time a new input is fed, the LSTM will first decide which previous memories to forget based on the new input and the output of the previous moment. This paper analyzes the LSTM algorithm for time series prediction in volume of stock. The dataset is initially split in a 7:3 ratio, with 70% allocated for the training set and 30% for the test set. This paper conducts data processing first, and then plots time series graphs to visualize the characteristics of volume of stock. Additionally, this paper conducts smoothness test together with white noise test, and makes time series predictions using LSTM. Values obtained from the experiments show that the training MSE of the LSTM algorithm is 28333951.7500 and the RMSE is 4722325.29. The final prediction comparison graph proves the potential of the LSTM algorithm to be used in market prediction.
Downloads
References
Fama E F. Efficient capital markets: A review of theory and empirical work. Journal of Finance, 1970.
Kamalov F, Smail L, Gurrib I. Stock price forecast with deep learning. Working paper, 2021.
Borovkova S, Tsiamas I. An ensemble of LSTM neural networks for high-frequency stock market classification. Journal of Forecasting, 2019.
Fischer T, Krauss C. Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research, 2018, 270(2): 654-669.
Jacobs H. What explains the dynamics of 100 anomalies? Journal of Banking & Finance, 2015.
Green J, Hand J R M, Zhang X F. The supra-view of return predictive signals Review of Accounting Studies, Journal of Finance, 2013.
Gurrib I, Kamalov F. The implementation of an adjusted relative strength index model in foreign currency and energy markets of emerging and developed economies. Macroeconomics and Finance in Emerging Market Economies, 2019, 12(2): 105-123.
Kamalov F, Leung H H. Outlier detection in high dimensional data. Journal of Information & Knowledge Management, 2020.
Kim K. Forecasting significant stock price changes using neural networks. Neural Computing and Applications, 2019.
Lee J, Kang J. Effectively training neural networks for stock index prediction: Predicting the S&P 500 index without using its index data, 2020.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Highlights in Science, Engineering and Technology

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







