Skip to main content

Forecasting the Opening and Closing Price Trends of Stock Using Hybrid Models and Artificial Intelligence Algorithm

  • Conference paper
  • First Online:
  • 1754 Accesses

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1688))

Abstract

The stock has been a long-standing and potential investment field until now, attracting much investment in this field every year. In particular, favorite stocks such as Dow Jones Industrial Average (DJIA), Tesla Inc (TSLA), and Meta Platforms Inc (META) have attracted many investments in recent years. The volatility of stock prices is very unpredictable, causing many difficulties for investors in this field. Furthermore, this study uses artificial intelligence models such as Autoregressive Integrated Moving Average (ARIMA), Support Vector Regression (SVR), Linear Regression (LR), and Gated Recurrent Unit (GRU) to predict closing prices and opening prices of three stock DJIA, TSLA, and META. Furthermore, proposing hybrid methods of the above models to improve and improve the accuracy of stock price prediction. The comparison results will be based on three evaluation parameters: RMSE, MAE, and MAPE.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    https://www.analyticsvidhya.com/blog/2020/03/support-vector-regression-tutorial-for-machine-learning/.

  2. 2.

    https://www.geeksforgeeks.org/major-kernel-functions-in-support-vector-machine-svm/.

  3. 3.

    https://finance.yahoo.com/.

References

  1. Chun, S.-H., Jang, J.-W.: A new trend pattern-matching method of interactive case-based reasoning for stock price predictions. Sustainability 14(3), 1366 (2022). Last accessed 14 August 2022

    Google Scholar 

  2. Pawar, K., Jalem, R.S., Tiwari, V.: Stock market price prediction using LSTM RNN. Emerging trends in expert applications and security, pp. 493–503. Springer, Singapore (2019). Last accessed 14 August 2022

    Google Scholar 

  3. Srivastava, T., et al.: A Deep Learning (LSTM) Approach for Future Stock Price Prediction. Available at SSRN 4160606 (2022). Last accessed 14 August 2022

    Google Scholar 

  4. Althelaya, K.A., El-Alfy, E.M., Mohammed, S.: Stock market forecast using multivariate analysis with bidirectional and stacked (LSTM, GRU). In: 2018 21st Saudi Computer Society National Computer Conference (NCC), pp. 1–7. IEEE (2018). Last accessed 14 August 2022

    Google Scholar 

  5. Almasarweh, M., Alwadi, S.: ARIMA model in predicting banking stock market data. Modern Applied Science 12(11), 309 (2018). Last accessed 14 August 2022

    Google Scholar 

  6. Henrique, B.M., Sobreiro, V.A., Kimura, H.: Stock price prediction using support vector regression on daily and up to the minute prices. The Journal of Finance and Data Science 4(3), 183–201 (2018). Last accessed 14 August 2022

    Google Scholar 

  7. Bathla, G.: Stock price prediction using lstm and svr. In: 2020 Sixth International Conference on Parallel, Distributed and Grid Computing (PDGC), p. 211–214. IEEE (2020)

    Google Scholar 

  8. Vijh, M., Chandola, D., Tikkiwal, V.A., Kumar, A.: Stock closing price prediction using machine learning techniques. Procedia Computer Science 167, 599–606 (2020)

    Google Scholar 

  9. Manujakshi, B.C., Kabadi, M.G., Naik, N.: A hybrid stock price prediction model based on pre and deep neural network. Data 7(5), 51 (2022)

    Google Scholar 

  10. Ashfaq, N., Nawaz, Z., Ilyas, M.: A comparative study of different machine learning regressors for stock market prediction. arXiv preprint arXiv:2104.07469 (2021). Last accessed 15 August 2022

  11. Stoean, R., Stoean, C., Sandita, A.: Evolutionary regressor selection in ARIMA model for stock price time series forecasting. In: International Conference on Intelligent Decision Technologies, pp. 117–126. Springer, Cham (2017). Last accessed 15 August 2022

    Google Scholar 

  12. Nguyen, D.-T., Le, H.-V.: Predicting the price of bitcoin using hybrid ARIMA and machine learning. In: International Conference on Future Data and Security Engineering, pp. 696–704. Springer, Cham (2019). Last accessed 15 August 2022

    Google Scholar 

  13. Hyndman, R.J., Khandakar, Y.: Automatic time series forecasting: the forecast package for R. Journal of Statistical Software 27, 1–22 (2008). Last accessed 15 August 2022

    Google Scholar 

  14. Rohmah, M.F., Putra, I.K.G.D., Hartati, R.S., Ardiantoro, L.: Comparison Four Kernels of SVR to Predict Consumer Price Index. In: Journal of Physics: Conference Series 1737(1), 012018. IOP Publishing (2021). Last accessed 15 August 2022

    Google Scholar 

  15. Gupta, U., Bhattacharjee, V., Bishnu, P.S.: Stock- net—gru based stock index prediction. Expert Systems with Applications 207, 117986 (2022). Last accessed 15 August 2022

    Google Scholar 

  16. Zhang, G.P.: Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing 50, 159–175 (2003). Last accessed 15 August 2022

    Google Scholar 

Download references

Acknowledgement

This research is funded by Vietnam National University HoChiMinh City (VNU-HCM) under grant number DS2022–26-03.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nguyen Dinh Thuan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Thuan, N.D., Nhut, N.M., Huong, N.T.V., Uyen, D.V.P. (2022). Forecasting the Opening and Closing Price Trends of Stock Using Hybrid Models and Artificial Intelligence Algorithm. In: Dang, T.K., Küng, J., Chung, T.M. (eds) Future Data and Security Engineering. Big Data, Security and Privacy, Smart City and Industry 4.0 Applications. FDSE 2022. Communications in Computer and Information Science, vol 1688. Springer, Singapore. https://doi.org/10.1007/978-981-19-8069-5_36

Download citation

  • DOI: https://doi.org/10.1007/978-981-19-8069-5_36

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-19-8068-8

  • Online ISBN: 978-981-19-8069-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics