Indonesian Stock Price Prediction using Deep Learning during COVID-19 Financial Crisis

Dian Angga Prasetyo, Rofikoh Rokhim

Abstract


This research paper aims to use the deep learning model Long Short-Term Memory (LSTM) for the stock prediction model under the financial crisis of COVID-19. The financial impact of the COVID-19 has brought many of the world's indexes down. The impact of the financial crisis is even riskier for an emerging country such as Indonesia where foreign investors tend to take out their investments in emerging countries in financial crisis events. The application of deep learning in financial time series applications such as stock price prediction has been researched extensively. This study used the (Bidirectional LSTM) BiLSTM model which is a variation of the LSTM model to predict stock closing price. The stock prediction is applied to a selected company from the Indonesian stock market using historical prices. The model is then evaluated using metrics Mean Absolute Percentage Error (MAPE) and Symmetric Mean Absolute Percentage Error (SMAPE). A graphical comparison between the actual price and predicted price of the stock is charted to study the stock price movement. To study the impact during COVID-19 on the stock prices, an intervention analysis is conducted along with the Wilcoxon model. The stock price prediction model can forecast the price of stocks before and during the financial crisis with minimal error. The intervention analysis result showed that health sectors have a positive effect while other sectors such as transportation, finance, information technology, and entertainment have a negative effect during the financial crisis of COVID-19. Being able to analyze and study the stock price movement of stocks is beneficial to investors in understanding the impact of the financial crisis on some industries and the behavior of certain stocks or industries under the circumstances which can lead to alternate investment strategies and decision making.


Keywords


Deep learning, Stock Price Prediction, Bidirectional Long short-term memory, financial crisis, Intervention Analysis

Full Text:

PDF

References


Brodersen, K. H., Gallusser, F., Koehler, J., Remy, N., & Scott, S. L. (2015). Inferring causal impact using Bayesian structural time-series models. The Annals of Applied Statistics, 9(1), 247-274.

Caraka, R. E., Bakar, S. A., Tahmid, M., Yasin, H., & Kurniawan, I. D. (2019). Neurocomputing fundamental climate analysis. TELKOMNIKA (Telecommunication Computing Electronics and Control), 17(4), 1818–1827.

Caraka, R. E., Chen, R. C., Supatmanto, B. D., Tahmid, M., & Toharudin, T. (2019, November). E/

mploying moving average long short term memory for predicting rainfall. In 2019 International Conference on Technologies and Applications of Artificial Intelligence (TAAI) (pp. 1-5). IEEE.

Caraka, R. E., Lee, Y., Kurniawan, R., Herliansyah, R., Kaban, P. A., Nasution, B. I., Gio, P., Chen, R., Toharudin, T., & Pardamean, B. (2020). Impact of COVID-19 large scale restriction on environment and economy in Indonesia. Global Journal of Environmental Science and Management, 6, 65–84.

Gao, T., & Chai, Y. (2018). Improving Stock Closing Price Prediction Using Recurrent Neural Network and Technical Indicators. Neural Computation, 30(10), 2833–2854.

He, P., Sun, Y., Zhang, Y., & Li, T. (2020). COVID–19’s Impact on Stock Prices Across Different Sectors—An Event Study Based on the Chinese Stock Market. Emerging Markets Finance and Trade, 56(10), 2198–2212.

Mahdi, M., & Khaddafi, M. (2020). The Influence of Gross Profit Margin, Operating Profit Margin and Net Profit Margin on the Stock Price of Consumer Good Industry in the Indonesia Stock Exchange on 2012-2014. International Journal of Business, Economics, and Social Development, 1(3), 153-163.

Musdalifah Azis, B., & Rahayu, H. (2021). Stock Price of Pandemic Covid-19 in Stock Market Performance. Universal Journal of Accounting and Finance, 9(2), 184–190.

Nurhayati, I., Endri, E., Aminda, R. S., & Muniroh, L. (2021). Impact of COVID-19 on Performance Evaluation Large Market Capitalization Stocks and Open Innovation. Journal of Open Innovation: Technology, Market, and Complexity, 7(1), 56.

PT Bursa Efek Indonesia. (n.d.). Retrieved July 03, 2020, from https://www.idx.co.id/.

Rahmayani, D., & Oktavilia, S. (2020). Does the Covid-19 pandemic affect the stock market in Indonesia. Jurnal Ilmu Sosial dan Ilmu Politik, 24(1), 33-47.

Rislawati, N., Nardi, N., Rahmah, A. H., & Fitriansyah, F. (2022). The Impact of Covid-19 on Financial Performance and Share Price on Cigarette Companies Listed on Indonesia Stock Exchange (IDX). International Journal of Quantitative Research and Modeling, 3(1), 29-36.

Sambas, A., He, S., Liu, H., Vaidyanathan, S., Hidayat, Y., & Saputra, J. (2020). Dynamical analysis and adaptive fuzzy control for the fractional-order financial risk chaotic system. Advances in Difference Equations, 674(1), 1-12.

Sezer, O. B., Gudelek, M. U., & Ozbayoglu, A, M. (2020). Financial time series forecasting with deep learning : A systematic literature review: 2005–2019. Applied Soft Computing, 90, 106181.

Sharif, A., Aloui, C., & Yarovaya, L. (2020). COVID-19 pandemic, oil prices, stock market, geopolitical risk and policy uncertainty nexus in the US economy: Fresh evidence from the wavelet-based approach. International Review of Financial Analysis, 70, 101496.

Shen, H., Fu, M., Pan, H., Yu, Z., & Chen, Y. (2020). The Impact of the COVID-19 Pandemic on Firm Performance. Emerging Markets Finance and Trade, 56(10), 2213-2230.

Shrestha, M. B., & Bhatta, G. R. (2018). Selecting Appropriate Methodological Framework for Time Series Data Analysis.(J.(. Huang, Ed.) The Journal of Finance and Data Science, 4, 2, 71-89.

Singh, A. (2020). COVID-19 and safer investment bets. Finance Research Letters, 36, 101729.

Vo, N. N., He, X., Liu, S., & Xu, G. (2019). Deep learning for decision making and the optimization of socially responsible investments and portfolio. Decision Support Systems, 124, 113097.

Wang, W., Li, W., Zhang, N., & Liu, K. (2019). Portfolio formation with preselection using deep learning from long-term financial data. Expert Systems With Applications, 143, 113042.

Wójcik, D., & Ioannou, S. (2020). COVID‐19 and Finance: Market Developments So Far and Potential Impacts on the Financial Sector and Centres. Tijdschrift Voor Economische En Sociale Geografie, 111(3), 387-400.

Zainuri, Z., Viphindrartin, S., & Wilantari, R. N. (2021). The Impacts of the COVID-19 Pandemic on the Movement of Composite Stock Price Index in Indonesia. The Journal of Asian Finance, Economics and Business, 8(3), 1113–1119.




DOI: https://doi.org/10.46336/ijbesd.v3i2.273

Refbacks

  • There are currently no refbacks.


Add comment

Copyright (c) 2022 International Journal of Business, Economics, and Social Development

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

Published By: 

IJBESD: Jalan Riung Ampuh No. 3, Riung Bandung, Kota Bandung 40295, Jawa Barat, Indonesia


IJBESD Indexed By:

width=width=width= width= width= width= 

 

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