Short- and Long-Term Effective Time Series Stock Market Cost Predication Methods Using Learning Techniques


  • Sourabh Jain, Navdeep Kaur Saluja, Anil Pimplapure


Stock Market Prediction, Machine Learning, Time Series Prediction, ARIMA, SARMAX, LSTM, closing cost, Opening Cost, Training, Testing MSE.


The Stock market cost is an excellent example of the time series data. The trust worthy investment options is essential for increasing the successful stick investment enhancement. Many times, investors are hesitant to decide the best stock prizes. Therefore, using machine learning (ML) might predict the stock prizes in advance. Paper presented the validation of the ML based stock market prediction for the Microsoft database. This paper considered the stock market prediction (SMP) problem as the solution via time series prediction. The continually varying nature of stock market makes it non stationary series of data this makes the cost prediction a tough problem. To increase prediction accuracy this paper proposed to examine time series auto regressive models based on optimal degree of differencing’s. The lag order is varied for achieving best production and degree of differencing’s to make model nearly stationary. The prediction modes ARIMA, SARMAX and LSTM are trained on the large Microsoft stock dataset for last 20 years. For short term prediction the ARIMA is proposed and for the long term 150 days prediction the LSTM is found to be best. Then based on the proposed model the stock cost prediction is tested using the regression model on the recent Microsoft data. The results are evaluated based on the mean square error (MSE) and absolute difference error (ADE) values for different models. Significant SMP accuracy is achieved for 150 days around 93% over rich data sample sizes.  


Download data is not yet available.


. Pang, X., Zhou, Y., Wang, P. et al. An innovative neural network approach for stock market prediction. Journal of Supercomputing Vol. 76, 2098–2118 (2020). .

. Vaishnavi Gururaj, Shriya V. R, and Dr. Ashwini K., " Stock Market Prediction using Linear Regression and Support Vector Machines," International Journal of Applied Engineering Research ISSN 0973-4562 Volume 14, Number 8 pp. 1931-1934 (2019).

. Cao, R., Liang, X., Ni, Z. (2012). Stock Price Forecasting with Support Vector Machines Based on Web Financial Information Sentiment Analysis. In: Zhou, S., Zhang, S., Karypis, G. (eds) Advanced Data Mining and Applications. ADMA 2012. Lecture Notes in Computer Science(), vol 7713. Springer, Berlin, Heidelberg.

. Göçken, M., Özçalıcı, M., Boru, A. et al. Stock price prediction using hybrid soft computing models incorporating parameter tuning and input variable selection. Neural Comput & Applic 31, 577–592 (2019).

. Mehtab, S., Sen, J., Dutta, A. (2021). Stock Price Prediction Using Machine Learning and LSTM-Based Deep Learning Models. In: Thampi, S.M., Piramuthu, S., Li, KC., Berretti, S., Wozniak, M., Singh, D. (eds) Machine Learning and Metaheuristics Algorithms, and Applications. SoMMA 2020. Communications in Computer and Information Science, vol 1366. Springer, Singapore. .

. Kamalakannan J, Indrani Sengupta and Snehaa Chaudhury, “Stock Market Prediction using Time Series Analysis”, Computing Communications and Data Engineering Series Volume No 01 Issue No 03 2018

. Majumder, A., Rahman, M.M., Biswas, A.A., Zulfiker, M.S., Basak, S. (2022). Stock Market Prediction: A Time Series Analysis . In: Somani, A.K., Mundra, A., Doss, R., Bhattacharya, S. (eds) Smart Systems: Innovations in Computing. Smart Innovation, Systems and Technologies, vol 235. Springer, Singapore.

. Ariyo, Adebiyi A., Adewumi O. Adewumi, and Charles K. Ayo. "Stock price prediction using the ARIMA model." In 2014 UKSim-AMSS 16th international conference on computer modelling and simulation, pp. 106-112. IEEE, 2014.

. Daryl, A. Winata, S. Kumara and D. Suhartono, "Predicting Stock Market Prices using Time Series SARIMA," 2021 1st International Conference on Computer Science and Artificial Intelligence (ICCSAI), Jakarta, Indonesia, 2021, pp. 92-99, doi: 10.1109/ICCSAI53272.2021.9609720.

. Alharbi, F.R.; Csala, D. A Seasonal Autoregressive Integrated Moving Average with Exogenous Factors (SARIMAX) Forecasting Model-Based Time Series Approach. Inventions 2022, 7, 94. .

. Sidra Mehtab1 and Jaydip Sen. “A Time Series Analysis-Based Stock Price Prediction Using Machine Learning and Deep Learning Model” International Journal of Business Forecasting and Marketing Intelligence (IJBFMI), Vol 6, No 4, pp. 272 - 335, 2020.

. Rouf, N.; Malik, M.B.; Arif, T.; Sharma, S.; Singh, S.; Aich, S.; Kim, H.-C. Stock Market Prediction Using Machine Learning Techniques: A Decade Survey on Methodologies, Recent Developments, and Future Directions. Electronics 2021, 10, 2717.

. Shen, J., Shafiq, M.O. Short-term stock market price trend prediction using a comprehensive deep learning system. Journal of Big Data 7, 66 (2020).

. Sakshi Kulshreshtha and Vijayalakshmi A, “An ARIMA- LSTM Hybrid Model for Stock Market Prediction Using Live Data”, Journal of Engineering Science and Technology Review 13 (4) (2020) 117 – 123

. Shakir Khan, Hela Alghulaiakh, “ARIMA Model for Accurate Time Series Stocks Forecasting”, (IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 11, No. 7, 2020,

. Aminimehr, A., Raoofi, A. ,et al. A Comprehensive Study of Market Prediction from Efficient Market Hypothesis up to Late Intelligent Market Prediction Approaches. Comput Econ 60, 781–815 (2022).

. Sidharth Tiwary, Pramod K. Mishra, “Time-series Forecasting of Stock Prices using ARIMA: A Case Study of TESLA and NIO” Proceedings of the 2nd Indian International Conference on Industrial Engineering and Operations Management Warangal, Telangana, India, August 16-18, 2022 xxx

. Jimmy Ming Tai Wu Zhongcui Li Norbert Herencsar Bay Vo, Jerry Chun Wei Lin “A graph based CNN LSTM stock price prediction algorithm with leading indicators” Multimedia Systems (2023) 29:1751–1770

. Kelum Gajamannagea, , Yonggi Park “Real-time Forecasting of Time Series in Financial Markets Using Sequentially Trained Many-to-one LSTMs” arXiv:2205.04678v1 [cs.LG] 10 May 2022

. Chance Robinson, Nnenna Okpara, Michael Burgess, Faizan Javed “Stock Forecasts with LSTM and Web Sentiment” SMU Data Science Review, Vol. 6 [2022], No. 2, Art. 10

. Salman Ahmed , Saeed-Ul Hassan , Naif Radi Aljohani , Raheel Nawaz “FLF-LSTM: A novel prediction system using Forex Loss Function” DOI:

. Tawum Juvert Mbah & Haiwang Ye & Jianhua Zhang & Mei Long “Using LSTM and ARIMA to Simulate and Predict Limestone Price Variations” Received: 10 April 2020 /Accepted: 16 November 2020 Published online: 6 January 2021

. Faraz Ahmad , Pawan Singh “Stock Price Prediction using ML and LSTM based Deep Learning models” Journal of Informatics Electrical and Electronics Engineering, 2022, Vol. 03, Iss. 01, S. No. 008, pp. 1-13 ISSN (Online): 2582-7006

. Hum Nath Bhandari, Binod Rimal, Nawa Raj Pokhrel, Ramchandra Rimal, Keshab R. Dahal, Rajendra K.C. Khatri, "Predicting stock market index using LSTM", Machine Learning with Applications, Volume 9, 2022, 100320, .




How to Cite

Sourabh Jain. (2024). Short- and Long-Term Effective Time Series Stock Market Cost Predication Methods Using Learning Techniques. International Journal of Intelligent Systems and Applications in Engineering, 12(21s), 3601–3611. Retrieved from



Research Article