Stock Closing Price and Trend Prediction with LSTM-RNN

Vivek Varadharajan, Nathan Smith, Dinesh Kalla, Ganesh R Kumar, Fnu Samaah, Kiran Polimetla

Journal of Artificial Intelligence and Big Data · 2024 · 21 citations · 13 references

DOIFull text

Open access

Concepts

Abstract

The stock market is very volatile and hard to predict accurately due to the uncertainties affecting stock prices. However, investors and stock traders can only benefit from such models by making informed decisions about buying, holding, or investing in stocks. Also, financial institutions can use such models to manage risk and optimize their customers' investment portfolios. In this paper, we use the Long Short-Term Memory (LSTM-RNN) Recurrent Neural Networks (RNN) to predict the daily closing price of the Amazon Inc. stock (ticker symbol: AMZN). We study the influence of various hyperparameters in the model to see what factors the predictive power of the model. The root mean squared error (RMSE) on the training was 2.51 with a mean absolute percentage error (MAPE) of 1.84%.

References

13