[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

LSTM-XGBoost Application of the Model to the Prediction of Stock Price

  • Conference paper
  • First Online:
Artificial Intelligence and Security (ICAIS 2021)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12736))

Included in the following conference series:

Abstract

With the rapid rise of economic globalization and digital economics, the rapid development of the global economy has been promoted. As the most important part of the financial industry, the stock market has an important impact on economic fluctuations. How to improve the changing trend of stock market fluctuations has become a hot topic that many scholars and investors pay most attention to. This paper uses the XGBoost model to train the opening price, closing price, highest price, lowest price, trading volume, change, adjusted closing price, and converted time data information in the processed stock historical data set, and train it The results are saved. Then input each attribute into the LSTM model for prediction, and use the prediction result of each attribute as the test set of prediction after XGBoost training, and continuously adjust the parameters of each model, and finally get the optimal stock fluctuation prediction model, LSTM_XGBoost model. The LSTM_XGBoost model is applied to the five stocks ES = F, YM = F, AAPL, SI = F, and CL = F to predict the rise and fall of five stocks. The model is compared and verified by five evaluation indexes: the root mean square error RMSE, the average absolute error MAE, the coefficient of determination R2, the accuracy rate, and the f1-score. It is found that the LSTM-XGBoost model proposed in this paper has risen and fallen in stocks. There is a certain degree of stability and feasibility in the forecast.

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

Access this chapter

Subscribe and save

Springer+ Basic
£29.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
GBP 19.95
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
GBP 71.50
Price includes VAT (United Kingdom)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
GBP 89.99
Price includes VAT (United Kingdom)
  • 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

Institutional subscriptions

Similar content being viewed by others

References

  1. Kohara, K., Ishikawa, T., Fukuhara, Y.: Stock price prediction using prior knowledge and neural networks. Intell. Syst. Account. Finan. Manag. 6(1), 11–22 (2015)

    Article  Google Scholar 

  2. Nelson D., Pereira A., Oliveira R.: Stock market’s price movement prediction with LSTM neural networks. In: International Joint Conference on Neural Networks. IEEE (2017)

    Google Scholar 

  3. Kim, H.Y., Won, C.H.: Forecasting the volatility of stock price index: a hybrid model integrating LSTM with multiple GARCH-type models. Expert Syst. Appl. 103(8), 25–37 (2018)

    Article  Google Scholar 

  4. Althelaya K.A., El-Alfy E.S.M., Mohammed, S.: Stock market forecast using multivariate analysis with bidirectional and stacked (LSTM, GRU). In: 21st Saudi Computer Society National Computer Conference (2018)

    Google Scholar 

  5. Sun, S., Wei, Y., Wang, S.: AdaBoost-LSTM ensemble learning for financial time series forecasting. In: Shi, Y., et al. (eds.) ICCS 2018. LNCS, vol. 10862, pp. 590–597. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-93713-7_55

    Chapter  Google Scholar 

  6. Chen, W., Yeo, C.K., Lau, C.T.: Leveraging social media news to predict stock index movement using RNN-boost. Data Knowl. Eng. 118(11), 14–24 (2018)

    Article  Google Scholar 

  7. Mehtab S., Sen J.: A robust predictive model for stock price prediction using deep learning and natural language processing. Papers (2019)

    Google Scholar 

  8. Xiao, C., Xia, W., Jiang, J.: Stock price forecast based on combined model of ARI-MA-LS-SVM. Neural Comput. Appl. 32(10), 5379–5388 (2020). https://doi.org/10.1007/s00521-019-04698-5

    Article  Google Scholar 

  9. Greff, K., Srivastava, R.K., Jan, K.: LSTM: A Search Space Odyssey. IEEE Trans. Neural Netw. Learn. Syst. 28(10), 2222–2232 (2016)

    Article  MathSciNet  Google Scholar 

  10. Chen T., Guestrin C.: XGBoost: a scalable tree boosting system. In: ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (2016)

    Google Scholar 

  11. Sundermeyer, M., Schlüter, R., Ney H.: LSTM neural networks for language modelling. In: Interspeech, pp. 601–608 (2012)

    Google Scholar 

  12. Miao, Y., Gowayyed, M., Metze, F.: EESEN: end-to-end speech recognition using deep RNN models and WFST-based decoding (2016)

    Google Scholar 

Download references

Acknowledgement

The paper is funded by Dongguan social science and technology development (general) project (No. 2020507154645) in 2020 and the key platform construction leap up program project of Guangdong University of science and technology: network engineering application technology research center of Guangdong University of science and technology.This work is supported by Natural Science Foundation of Guangdong Province of China with No. 2020A1515010784.

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yu, S., Tian, L., Liu, Y., Guo, Y. (2021). LSTM-XGBoost Application of the Model to the Prediction of Stock Price. In: Sun, X., Zhang, X., Xia, Z., Bertino, E. (eds) Artificial Intelligence and Security. ICAIS 2021. Lecture Notes in Computer Science(), vol 12736. Springer, Cham. https://doi.org/10.1007/978-3-030-78609-0_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-78609-0_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-78608-3

  • Online ISBN: 978-3-030-78609-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics