Stock Price Prediction using Support Vector Machine in the Second Wave of Covid-19 Pandemic

Ahmad Fauzi


The aim of the research is to predict The Jakarta Composite Index (JKSE) when the second wave of the Covid-19 occurred in Indonesia. The method used in this research is Support Vector Machine (SVM). The data used in this study is JKSE for period April 2021 to August 2021. The data is divided into two parts, the training data and the testing data. The training data starts from April 1st to July 30th 2021. The data used as ground truth is the data from August 2nd to August 31st 2021. To get the best hyperparameter, the research uses Grid Search with RBF kernel. The results show the best hyperparameters using RBF kernel are C=100,  =0.01, and  = 3. The prediction result obtained tends to be stable and has a slight decrease. This result if we compared with the cumulative cases and the total recovery cases of the Covid-19, the investor has a positive sentiment towards the Indonesian government in solving the Covid-19 pandemic. 


Stock Price; Support Vector Machine; Covid-19

Full Text:


Abstract views : 206 times
PDF : 117 times


A. I. Qureshi, W. I. Baskett, W. Huang, . I. Lobanova, S. H. Naqvi and C.-R. Shyu, "Reinfection with Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2) in patients undergoing serial laboratory testing," Clinical Infectious Diseases, 2021.

K. K.-W. To, I. F.-N. Hung, J. D. Ip, A. W.-H. Chu, W.-M. Chan, A. R. Tam, C. H.-Y. Fong, S. Yuan, H.-W. Tsoi, A. C.-K. Ng, L. L.-Y. Lee, P. Wan, E. Y.-K. Tso, W.-K. To, D. N.-C. Tsang, K.-H. Chan, J.-D. Huang, K.-H. Kok, V. C.-C. Cheng and K.-Y. Yuen, "Coronavirus Disease 2019 (COVID-19) Re-infection by a phylogenetically distinct severe acute respiratory syndrome coronavirus 2 strain confirmed by whole genome sequencing," Clinical Infectious Diseases, 2021.

J. Wang, C. Kaperak, T. Sato and A. Sakuraba, "COVID-19 Reinfection: A rapid systematic review of case reports and case series," Journal of Investigative Medicine, vol. 69, pp. 1253-1255, 2021.

O. N. Bjørnstad, K. Shea, M. Krzywinski and N. Altman, "The SEIRS model for infectious disease dynamics," Nature Methods, vol. 17, pp. 557-558, 2020.

V. Vapnik, S. E. Golowich and A. Smola, "Support vector method for function approximation, regression estimation and signal processing," in In Proceedings of the 9th International Conference on Neural Information Processing Systems (NIPS'96), Cambridge, 1996.

D. H. Yudhawan and T. Purwaningsih, "Developing support vector regression model to forcast stock prices of mining companies in Indonesia," Jurnal Informatika, vol. 14, no. 2, pp. 43-48, 2020.

T. Shah, I. Shaikh and A. Patel, "Comparison of different kernels of support vector machine for predicting stock prices," International Journal of Engineering and Technology (IJET), vol. 9, no. 6, pp. 4288-4291, 2017.


  • There are currently no refbacks.

Gedung Fakultas Sains dan Teknologi 
Kampus III Universitas Islam Negeri Imam Bonjol Padang
Sungai Bangek, Kec. Koto Tangah, Kota Padang, Sumatera Barat

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