Multivariate time series stock price data prediction in the banking sector in Indonesia using Bidirectional Long Short-Term Memory (biLSTM)

Mara Indar Pramesti, Fitri Indra Indikawati, Adhi Prahara

Abstract


The capital market is a place for individuals or business entities to carry out investment activities, especially in the banking sector, one of the sectors in the LQ45 stock index which is in great demand by investors in Indonesia. In the capital market, one of the investments that can be made is stock investment, but investors will be faced with uncertainty by fluctuations in stock prices caused by several factors, one of which is macroeconomic factors. Therefore, a predictive analysis of stock prices is needed to prevent uncertainty and minimize losses. Accurate prediction models can use deep learning algorithm methods. In the prediction of stock price movements, the data used is historical data on stock prices which is time series type data. This study conducted stock price predictions using the Bidirectional Long Short-Term Memory (biLSTM) method. biLSTM is another variation of the LSTM model. The object of this study uses the variables open, close, adj close, low, high, volume, value, buying rate, selling rate. The data that has been obtained will be preprocessing. Next build a prediction model using hyperparameter tuning with Genetic Algorithm (GA), train the model and evaluate the model. Data testing was carried out using Root Mean Squared Error (RMSE) and Mean Absolute Percentage Error (MAPE) with 4 data from the banking sector in Indonesia including Bank BRI, Bank BNI, Bank BCA, and Bank Mandiri. Based on the data testing that has been carried out, the results of the biLSTM algorithm can predict stock prices accurately because it has a relatively low RMSE value with a MAPE value below 10%.

Keywords


Predictions; Macroeconomics; Deep learning; Time Series; biLSTM; Hyperparameter tuning

Full Text:

PDF

References


N. Véron and G. B. Wolff, “Capital Markets Union: a vision for the long ter,”. Journal of Financial Regulation, vol. 2, no. 1, pp. 130-153, 2016.

R. Aggarwal, “Different avenues of capital market (secondary market) available for investing in market of yamuna nagar,” International research journal of management, IT and social sciences, vol. 4, no. 3, pp. 34-50, 2017.

A. Nurwulandari, H. Hasanudin, and A. J. S. Budi, “Analysis of the Influence of Interest Rate, Exchange Value, World Gold Prices, Dow Jones Index, AEX Index, DAX Index, and Shanghai Index on LQ45 Index in Indonesia Stock Exchange 2012–2018,” JABE (Journal of Applied Business and Economic), vol. 7, no. 2, pp. 135-147, 2021.

I. K. A. A. S. Putra and I. M. Dana, “Study of optimal portfolio performance comparison: Single index model and Markowitz model on LQ45 stocks in Indonesia stock exchange,” American Journal of Humanities and Social Sciences Research (AJHSSR), vol. 4, no. 12, pp. 237-244, 2020.

S. Winasis, S. Riyanto and E. Ariyanto, “Digital transformation in the indonesian banking industry: Impact on employee engagement,” International Journal of Innovation, Creativity and Change, vol. 12, no. 4, pp. 528-543, 2020.

H. K. Mohammed and A. napkova, “The impact of total risk management on company's performance,” Procedia-Social and Behavioral Sciences, vol. 220, pp. 271-277, 2016.

W. B. Arthur, J. H. Holland, B. LeBaron, R. Palmer, and P. Tayler, “Asset pricing under endogenous expectations in an artificial stock market,” In The economy as an evolving complex system II, pp. 15-44, 2018.

M. R. Barakat, S. H. Elgazzar and K. M. Hanafy, “Impact of macroeconomic variables on stock markets: Evidence from emerging markets,” International journal of economics and finance, vol. 8, no. 1, pp. 195-207, 2016.

N. M. Nugraha, D. Herlambang, D. N. S. Nugraha and S. Amalia, “The Influence of Macroeconomic Factors on the Volatility of Composite Price Stock Index: A Study on the Indonesia Stock Exchange,” International Journal of Psychosocial Rehabilitation, vol. 24, no. 1, pp. 2507-2513, 2020.

S. U. Ady, “The effect of world oil prices, gold prices, and other energy prices on the Indonesian mining sector with exchange rate of Indonesian Rupiah as the moderating effect,” International Journal of Energy Economics and Policy, 2021.

R. Robiyanto, ’The Effect Of Gold Price Changes, Usd/Idr Exchange Rate Changes And Bank Indonesia (BI) Rate On Jakarta Composite Index (JCI) ’ S Return And Jakarta Islamic Index (JII) ’ S Return,” Jurnal Manajemen dan Kewirausahaan, vol. 20, no. 1, pp. 45-52, 2018.

C. Janiesch, P. Zschech and K. Heinrich,”Machine learning and deep learning,” Electronic Markets, vol. 31, no. 3, pp. 685-695, 2021.

M. Nikou, G. Mansourfar and J. Bagherzadeh, “Stock price prediction using DEEP learning algorithm and its comparison with machine learning algorithms,” Intelligent Systems in Accounting, Finance and Management, vol. 26, no. 4, pp. 164-174, 2019.

H. Pabuçcu, S. Ongan and A. Ongan, “Forecasting the movements of Bitcoin prices: an application of machine learning algorithms," Quantitative Finance and Economics, vol. 4, no. 4, pp. 679-692, 2020.

M. A. Istiake Sunny, M. M. S. Maswood and A. G. Alharbi, "Deep Learning-Based Stock Price Prediction Using LSTM and Bi-Directional LSTM Model," 2020 2nd Novel Intelligent and Leading Emerging Sciences Conference (NILES), Giza, Egypt, 2020, pp. 87-92, doi: 10.1109/NILES50944.2020.9257950.

X. H. Le, H. V. Ho, G. Lee and S. Jung, “Application of long short-term memory (LSTM) neural network for flood forecasting,” Water, vol. 11, no. 7, p. 1387, 2019.

D. H. Nguyen-Le, Q. B. Tao, V. H. Nguyen, M. Abdel-Wahab and H. Nguyen-Xuan, “A data-driven approach based on long short-term memory and hidden Markov model for crack propagation prediction,” Engineering Fracture Mechanics, vol. 235, p. 107085, 2020.




DOI: https://doi.org/10.31763/simple.v4i2.33

Refbacks

  • There are currently no refbacks.


Copyright (c) 2023 Mara Indar Pramesti, Fitri Indra Indikawati, Adhi Prahara

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


Signal and Image Processing Letters

ISSN Online: 2714-6677 | Print: 2714-6669
Published by Association for Scientific Computing Electrical and Engineering (ASCEE)
Website : https://simple.ascee.org/index.php/simple/
Email 1 : simple@ascee.org
Email 2 : azhari@ascee.org


 

View My Stats