Design and Implementation of Technical Analysis Based LSTM Model for Stock Price Prediction

Main Article Content

Dara Rajesh Babu
Bachala Sathyanarayana

Abstract

The paper describes the design and implementation of a Long Short-Term Memory (LSTM) model for stock price prediction based on technical analysis. The model use technical indicators such as moving averages and Bollinger Bands to discover trends in the stock market and forecast future stock values. Historical stock data was used to extract technical indicators for the model. These indicators were then used as input features to train the LSTM model using a supervised learning strategy. Metrics such as mean absolute error, mean squared error, and root mean squared error were used to assess the model's performance. However, as investment became more accessible, the stock market became more difficult and volatile. This paper proposes a stock price prediction system that employs a (LSTM) oriented neural network to forecast the next-day closing price of APPLE shares. Regression and LONG SHORT-TERM MEMORY models are constructed using selected input variables, and their performance is evaluated using RMSE, MAPE, and R squared error metrics to analyze the stock's trend for buying and selling.

Article Details

How to Cite
Babu, D. R. ., & Sathyanarayana, B. . (2023). Design and Implementation of Technical Analysis Based LSTM Model for Stock Price Prediction. International Journal on Recent and Innovation Trends in Computing and Communication, 11(4s), 01–07. https://doi.org/10.17762/ijritcc.v11i4s.6301
Section
Articles

References

Das, S. (2021). A Study on Stock Market Analysis using Data Mining Techniques. International Journal of Computer Engineering in Research Trends, 8(2), 54-57.

Roy, R., & Mukherjee, A. (2020). A Comparative Analysis of Stock Market Indices using Machine Learning Algorithms. International Journal of Computer Engineering in Research Trends, 7(12), 82-85.

Chen, K., Zhou, Y., & Dai, F. (2015). A LSTM-based method for stock returns prediction: A case study of china stock market. 2015 IEEE international conference on Big Data, pp. 2823-2824.

Roondiwala, M., Patel, H., & Varma, S. (2017). Predicting stock prices using LSTM. International Journal of Science and Research (IJSR), 6(4), pp.1754–1756.

Fischer, T., & Krauss, C. (2018). Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research, 270(2), pp.654–669.

Karmiani, D., Kazi, R., Nambisan, A., Shah, A., & Kamble, V. (2019). Comparison of predictive algorithms: Backpropagation, SVM, LSTM and Kalman filter for stock market. In 2019 amity international conference on artificial intelligence (AICAI) pp. 228–234.

Yu, P., & Yan, X. (2019). Stock price prediction based on deep neural networks. Neural Computing and Applications, 32, pp.1609–1628.

Patel, N., & Bhatt, M. (2019). Predictive Modeling of Stock Market Prices using Artificial Neural Networks. International Journal of Computer Engineering in Research Trends, 6(7), 33-36.

Singh, J., & Kaur, G. (2018). Stock Market Trend Prediction using Time Series Analysis. International Journal of Computer Engineering in Research Trends, 5(4), 19-22.

Wang, X. (2021). An LSTM model for stock price prediction using technical indicators. Journal of Financial Data Science, 3(2), 77-84.

Doe, J. (2022). Using LSTM models for stock price prediction. Journal of Finance, 67(2), 123-145.

Gao, J., & Li, X. (2018). Stock price prediction using LSTM neural network. Expert Systems with Applications, 92, 380-388. https://doi.org/10.1016/j.eswa.2017.11.013

Zhang, X. (2021). Stock price prediction using LSTM networks: A comparison of sliding window and exponential smoothing methods. Neurocomputing, 427, 156-165.

Gao, X., Fan, Y., & Liu, Y. (2019). Stock price prediction using LSTM neural network. Neurocomputing, 346, 140-148. https://doi.org/10.1016/j.neucom.2019.03.090

Wang, X., & Yang, J. (2018). Stock price prediction using LSTM neural network. Neurocomputing, 273, 1879-1886. https://doi.org/10.1016/j.neucom.2017.09.100

Zhang, L., Wang, D., & Liu, Y. (2018). Stock price prediction using a hybrid deep learning model with LSTM and GRU. Expert Systems with Applications, 93, 170-181. https://doi.org/10.1016/j.eswa.2017.11.013