PREDIKSI HARGA SAHAM PT. BANK BCA Tbk. DENGAN MENGGUNAKAN MACHINE LEARNING LONG SHORT-TERM MEMORY PERIODE 2014-2024

Authors

  • Reinandus Aditya Gunawan Universitas Katolik Indonesia Atma Jaya

DOI:

https://doi.org/10.25170/wpm.v17i1.7064

Keywords:

artificial intelligence, machine learning, LTSM, python

Abstract

One of the most advanced tools for predicting current stock prices is using artificial intelligence, specifically machine learning using the Long Short-Term Memory (LTSM) method, which is a development of the previous recurrent neural network method. This prediction trial was conducted on one of the largest banking stocks in Indonesia, namely PT. Bank BCA shares for the 2014-2024 period. The research was processed with machine learning using Python coding with a total of 2503 data observations where the model was divided into 80% for training and 20% for testing. Next, an evaluation of model performance was carried out using RMSE (Root Mean Squared Error), MAE (Mean Absolute Error), and MAPE (Mean Absolute Percentage Error) and conducted a test of predicted vs. actual data. The results of the study showed that the predicted results were quite close to the actual results, therefore it was concluded that stock price prediction with the LTSM method was quite reliable.

References

Chhajer, P., Shah, M., & Kshirsagar, A. (2022). The applications of artificial neural networks, support vector machines, and long–short term memory for stock market prediction. Decision Analytics Journal, 2, 100015.

Chen, S., & Zhou, C. (2020). Stock prediction based on genetic algorithm feature selection and long short-term memory neural network. IEEE Access, 9, 9066-9072.

Chung, H., & Shin, K. S. (2018). Genetic algorithm-optimized long short-term memory network for stock market prediction. Sustainability, 10(10), 3765.

Fischer, T., & Krauss, C. (2018). Deep learning with long short-term memory networks for financial market predictions. European journal of operational research, 270(2), 654-669.

Jia, H. (2016). Investigation into the effectiveness of long short term memory networksfor stock price prediction. arXiv preprint arXiv:1603.07893.

Kumar, S., & Ningombam, D. (2018, December). Short-term forecasting of stock prices using long short term memory. In 2018 International conference on information technology (ICIT) (pp. 182-186). IEEE.

Qiu, J., Wang, B., & Zhou, C. (2020). Forecasting stock prices with long-short term memory neural network based on attention mechanism. PloS one, 15(1), e0227222.

Ta, V. D., Liu, C. M., & Tadesse, D. A. (2020). Portfolio optimization-based stock prediction using long-short term memory network in quantitative trading. Applied Sciences, 10(2), 437.

Downloads

Published

2025-05-15