Skip to main content

2024 | OriginalPaper | Buchkapitel

Comparing LSTM Models for Stock Market Prediction: A Case Study with Apple’s Historical Prices

verfasst von : Ha Minh Tan, Le Gia Minh, Tran Cao Minh, Tran Thi Be Quyen, Kien Cao-Van

Erschienen in: Nature of Computation and Communication

Verlag: Springer Nature Switzerland

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Stock market prediction holds significant importance in the world of finance, captivating the attention of both investors and financial researchers. The integration of artificial intelligence and advancements in computational power has led to substantial improvements in predicting stock prices, surpassing the effectiveness of traditional programmed prediction methods. In this paper, we explore three distinct and innovative methods for stock price prediction: Long Short-Term Memory (LSTM), LSTM combined with Simple Moving Average (LSTM-SMA), and LSTM combined with Exponential Moving Average (LSTM-EMA). Our analysis is conducted using a comprehensive historical dataset of Apple’s stock prices, and the performance of each model is rigorously evaluated using critical metrics, including Mean Absolute Percentage Error (MAPE), Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and R2 score. Additionally, the training time for each model is taken into account. The results show that all three models LSTM, LSTM-SMA, and LSTM-EMA give good prediction results for Apple’s stock price, in which the LSTM model gives the best prediction results for the 21-day cluster. However, in terms of computational time, the LSTM-SMA model and LSTM-EMA model are more efficient than the LSTM model. These findings highlight the potential of integrating advanced techniques to achieve more accurate and efficient stock price predictions.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Altarawneh, G.A., Hassanat, A.B., Tarawneh, A.S., Abadleh, A., Alrashidi, M., Alghamdi, M.: Stock price forecasting for Jordan insurance companies amid the Covid-19 pandemic utilizing off-the-shelf technical analysis methods. Economies 10(2), 43 (2022)CrossRef Altarawneh, G.A., Hassanat, A.B., Tarawneh, A.S., Abadleh, A., Alrashidi, M., Alghamdi, M.: Stock price forecasting for Jordan insurance companies amid the Covid-19 pandemic utilizing off-the-shelf technical analysis methods. Economies 10(2), 43 (2022)CrossRef
3.
Zurück zum Zitat Ariyo, A.A., Adewumi, A.O., Ayo, C.K.: Stock price prediction using the Arima model. In: 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, pp. 106–112. IEEE (2014) Ariyo, A.A., Adewumi, A.O., Ayo, C.K.: Stock price prediction using the Arima model. In: 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, pp. 106–112. IEEE (2014)
4.
Zurück zum Zitat Bhandari, H.N., Rimal, B., Pokhrel, N.R., Rimal, R., Dahal, K.R., Khatri, R.K.: Predicting stock market index using LSTM. Mach. Learn. App. 9, 100320 (2022) Bhandari, H.N., Rimal, B., Pokhrel, N.R., Rimal, R., Dahal, K.R., Khatri, R.K.: Predicting stock market index using LSTM. Mach. Learn. App. 9, 100320 (2022)
7.
Zurück zum Zitat Fattah, J., Ezzine, L., Aman, Z., El Moussami, H., Lachhab, A.: Forecasting of demand using Arima model. Int. J. Eng. Bus. Manage. 10, 1847979018808673 (2018)CrossRef Fattah, J., Ezzine, L., Aman, Z., El Moussami, H., Lachhab, A.: Forecasting of demand using Arima model. Int. J. Eng. Bus. Manage. 10, 1847979018808673 (2018)CrossRef
8.
Zurück zum Zitat Gülmez, B.: Stock price prediction with optimized deep LSTM network with artificial rabbits optimization algorithm. Expert Syst. Appl. 227, 120346 (2023)CrossRef Gülmez, B.: Stock price prediction with optimized deep LSTM network with artificial rabbits optimization algorithm. Expert Syst. Appl. 227, 120346 (2023)CrossRef
9.
Zurück zum Zitat Haining, R.: The moving average model for spatial interaction. Trans. Inst. Br. Geograph. 3, 202–225 (1978)CrossRef Haining, R.: The moving average model for spatial interaction. Trans. Inst. Br. Geograph. 3, 202–225 (1978)CrossRef
11.
Zurück zum Zitat Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)CrossRef Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)CrossRef
12.
Zurück zum Zitat Kasthuri, E., Balaji, S.: Natural language processing and deep learning chatbot using long short term memory algorithm. Mater. Today Proc. 81, 690–693 (2023)CrossRef Kasthuri, E., Balaji, S.: Natural language processing and deep learning chatbot using long short term memory algorithm. Mater. Today Proc. 81, 690–693 (2023)CrossRef
13.
Zurück zum Zitat Leangarun, T., Tangamchit, P., Thajchayapong, S.: Stock price manipulation detection using deep unsupervised learning: the case of Thailand. IEEE Access 9, 106824–106838 (2021)CrossRef Leangarun, T., Tangamchit, P., Thajchayapong, S.: Stock price manipulation detection using deep unsupervised learning: the case of Thailand. IEEE Access 9, 106824–106838 (2021)CrossRef
15.
Zurück zum Zitat Mondal, P., Shit, L., Goswami, S.: Study of effectiveness of time series modeling (Arima) in forecasting stock prices. Int. J. Comput. Sci. Eng. App. 4(2), 13 (2014) Mondal, P., Shit, L., Goswami, S.: Study of effectiveness of time series modeling (Arima) in forecasting stock prices. Int. J. Comput. Sci. Eng. App. 4(2), 13 (2014)
16.
Zurück zum Zitat Tan, H.M., Wang, J.C.: Single channel speech separation using enhanced learning on embedding features. In: IEEE 10th Global Conference on Consumer Electronics (GCCE), pp. 430–431. IEEE (2021) Tan, H.M., Wang, J.C.: Single channel speech separation using enhanced learning on embedding features. In: IEEE 10th Global Conference on Consumer Electronics (GCCE), pp. 430–431. IEEE (2021)
Metadaten
Titel
Comparing LSTM Models for Stock Market Prediction: A Case Study with Apple’s Historical Prices
verfasst von
Ha Minh Tan
Le Gia Minh
Tran Cao Minh
Tran Thi Be Quyen
Kien Cao-Van
Copyright-Jahr
2024
DOI
https://doi.org/10.1007/978-3-031-59462-5_12

Premium Partner