Comprehensive Study of Machine learning Algorithms for Stock Market Prediction during COVID-19


  • Urvashi Rahul Saxena Department of Computer Science & Engineering, JSS Academy of Technical Education, Noida, Uttar Pradesh, India 201301
  • Parth Sharma Department of Computer Science & Engineering, JSS Academy of Technical Education, Noida, Uttar Pradesh, India 201301
  • Gaurav Gupta Department of Computer Science & Engineering, JSS Academy of Technical Education, Noida, Uttar Pradesh, India 201301



Machine learning, Stock predicts, COVID-19, Market analysis, ARIMA, LSTM


The stock market has always drawn investors' attention. Stock trend forecasting tools are in high demand because they facilitate the direct acquisition of profits. The more precise the results, the greater the likelihood of generating a greater profit. Statistically, only 3% of the Indian population invests in stocks, and at the time of COVID-19, that number was even lower, as the stock market was not based on general patterns and equations but rather on the emotional quotient of the people. Such a circumstance increased the stock market's vulnerability. The pandemic factor, such as the case of COVID-19, influences the stock market's trends. Technical analysis of market trends is a technique for interpreting past and present prices to forecast likely future prices. Several deep learning and machine learning algorithms are utilized to generate stock market forecasts, wherein LSTM and ARIMA models have been proven to produce reasonably accurate results. The prior works focused on individual models and their components to provide forecasts. Thus, this paper aims to compare the two well-established models and provide investors with models that work well with data and have appropriate parameter values. The LSTM and ARIMA models are presented because they provide appropriate results using technical analysis of the data set, and the results are to be compared. The closing values from the historic stock prices of the top three Indian hospitality industries were used as the data set. The results show that the individual models work well when the data matches the model and the appropriate parameter is used.

Author Biography

Urvashi Rahul Saxena, Department of Computer Science & Engineering, JSS Academy of Technical Education, Noida, Uttar Pradesh, India 201301

Ms. Urvashi Rahul Saxena is an experienced faculty member in the Department of Computer Science & Engineering at JSS Academy of Technical Education. With 16 years of teaching experience, she holds a B.E. from Bansal Institute of Science & Technology, Bhopal, Rajiv Gandhi Proudyogiki Vishwavidhyalaya, and an M.Tech. in CSE from Birla Institute of Technology, Mesra. Currently pursuing a Ph.D. from Jaypee Institute of Information Technology, her research interests lie in the field of computer science.



O. Bustos and A. Pomares-Quimbaya, "Stock market movement forecast: A Systematic review," Expert Systems with Applications, 156, p. 113464, 2020.

D. Shah, H. Isah, and F. Zulkernine, "Stock market analysis: A review and taxonomy of prediction techniques," International Journal of Financial Studies, 7 (2), p. 26, 2019.

K. Chitra and V. R. Sreedevi, "Does personality traits influence the choice of investment?", IUP Journal of Behavioral Finance, 8 (2), pp. 47–57, 2011.

A. Nayak, M. M. M. Pai, and R. M. Pai, "Prediction models for indian stock market," Procedia Computer Science, 89, pp. 441–449, 2016.

A. Subasi, F. Amir, K. Bagedo, A. Shams, and A. Sarirete, "Stock market prediction using machine learning," Procedia Computer Science, 194, pp. 173–179, 2021.

D. P. Gandhmal and K. Kumar, "Systematic analysis and review of stock market prediction techniques," Computer Science Review, 34, p. 100190, 2019.

Q. Ma, "Comparison of ARIMA, ANN and LSTM for stock price prediction," E3S Web of Conferences, 218, p. 01026, 2020.

S. Khandelwal and D. Mohanty, "Stock price prediction using ARIMA model," International Journal of Marketing & Human Resource Research, 2 (2), pp. 2746–4040, 2021.

M. Almasarweh and S. AL Wadi, "ARIMA model in predicting banking stock market data," Modern Applied Science, 12 (11), p. 309, 2018.

S. AL Wadi, M. Almasarweh, and A. A. Alsaraireh, "Predicting closed price time series data using ARIMA model," Modern Applied Science, 12 (11), p. 181, 2018.

S. T. Wahyudi, "The ARIMA model for the Indonesia stock price," International Journal of Economics and Management, 11 (SpecialIssue1), pp. 223–236, 2017.

B. A. Reddy SK, "Exchange rate forecasting using ARIMA, neural network and fuzzy neuron," Journal of Stock & Forex Trading, 04 (03), 2015.

Z. Jin, Y. Yang, and Y. Liu, "Stock closing price prediction based on sentiment analysis and LSTM," Neural Computing and Applications, 32 (13), pp. 9713–9729, 2020.

S. Hochreiter and J. Schmidhuber, "Long short-term memory," Neural Computation, 9 (8), pp. 1735–1780, 1997.

M. Roondiwala, H. Patel, and S. Varma, "Predicting stock prices using LSTM," International Journal of Science and Research, 6 (4), pp. 1754–1756, 2017.

K. Chen, Y. Zhou, and F. Dai, "A LSTM-based method for stock returns prediction: A case study of China stock market," in Proceedings - 2015 IEEE International Conference on Big Data, IEEE Big Data 2015, Oct. 2015, pp. 2823–2824.

S. Liu, G. Liao, and Y. Ding, "Stock transaction prediction modeling and analysis based on LSTM," in Proceedings of the 13th IEEE Conference on Industrial Electronics and Applications, ICIEA 2018, May 2018, pp. 2787–2790.

S. L. Ho and M. Xie, "The use of ARIMA models for reliability forecasting and analysis," Computers & Industrial Engineering, 35 (1–2), pp. 213–216, 1998.

B. G. Tabachnick, L. S. Fidell, and J. B. Ullman, "Using multivariate statistics," 5th ed., Boston, MA: Pearson, 2007.

A. A. Adebiyi, A. O. Adewumi, and C. K. Ayo, "Stock price prediction using the ARIMA model," in Proceedings - UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, UKSim 2014, Mar. 2014, pp. 106–112.

V. Kotu and B. Deshpande, "Time series forecasting," in Data Science, Elsevier, 2019, pp. 395–445.

A. Yadav, C. K. Jha, and A. Sharan, "Optimizing LSTM for time series prediction in Indian stock market," Procedia Computer Science, 167, pp. 2091–2100, 2020.

J. Shah, D. Vaidya, and M. Shah, "A comprehensive review on multiple hybrid deep learning approaches for stock prediction," Intelligent Systems with Applications, 16, 2022.




How to Cite

U. R. Saxena, P. Sharma, and G. Gupta, “Comprehensive Study of Machine learning Algorithms for Stock Market Prediction during COVID-19”, J. Comput. Mech. Manag, vol. 2, no. 1, pp. 01–07, Feb. 2023.



Original Articles


Received 2022-10-06
Accepted 2023-01-02
Published 2023-02-28