Skip to main content

Stock Market Prediction Through a Chatbot: A Human-Centered AI Approach

  • Conference paper
  • First Online:
Ubiquitous Intelligent Systems (ICUIS 2021)

Part of the book series: Smart Innovation, Systems and Technologies ((SIST,volume 302))

Abstract

Accurate prediction of stock market prices is a very challenging task due to the volatile and non-linear nature of financial stock markets. A furthermore difficult job is to present these predictions and insights to the users in a human-centric and user-friendly approach. In this paper, a deep learning to predict the closing value of stocks and attempt to respond to the related questions asked by users via chatbot. Long short-term memory (LSTM) model was used in predicting stock market prices based on the data provided by Yahoo Finance, these insights and information is then served to investors through a chatbot. The aim of this paper is to provide full insights in a graphical and an easy to understand manner so that people with no experience in both information technology and financial world can interpret the insights provided by the model. Finally, the results are tested and the chatbot is trained using the wizard of Oz experiment to ensure user satisfaction. The proposed method fetched a MAPE value of 2.38 and the chatbot response was recorded using the aforementioned method.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 299.99
Price excludes VAT (USA)
  • Durable hardcover 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

References

  1. J. Sousa, J. Montevechi, R. Miranda, Economic lot-size using machine learning, parallelism, metaheuristic and simulation. J. Logistics, Inform. Serv. Sci. 18(2), 205–216 (2019)

    Google Scholar 

  2. A. Coser, M.M. Maer-Matei, C. Albu, Predictive models for loan default risk assessment. Econ. Comput. Econ. Cybern. Stud. Res. 53(2), 149–165 (2019)

    Google Scholar 

  3. C. Jung, R. Boyd, Forecasting UK stock prices. Appl. Financ. Econ. 6(3), 279–286 (1996)

    Article  Google Scholar 

  4. G.E.P. Box, D.A. Pierce, Distribution of residual autocorrelations in autoregressive-integrated moving average time series models. J. Am. Stat. Assoc. 65(332), 1509–1526 (1970)

    Google Scholar 

  5. A. Adebiyi, A. Adewumi, C. Ayo, Stock price prediction using the ARIMA model, in Proceedings of the 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, IEEE, Cambridge, UK (2014)

    Google Scholar 

  6. C. Zhang, X. Cheng, M. Wang, An empirical research in the stock market of Shanghai by GARCH model. Oper. Res. Manag. Sci. 4, 144–146 (2005)

    Google Scholar 

  7. C. Anand, Comparison of stock price prediction models using pretrained neural networks. J. Ubiquitous Comput. Commun. Technol. (UCCT) 3(02), 122–134 (2021)

    Google Scholar 

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

    Article  Google Scholar 

  9. H.K. Andi, An accurate bitcoin price prediction using logistic regression with LSTM machine learning model. J. Soft Comput. Paradigm 3(3), 205–217 (2021)

    Google Scholar 

  10. J. Li, S. Pan, L. Huang, X. Zhu, A machine learning based method for customer behavior prediction. Tehnicki Vjesnik-Tech. Gazette 26(6), 1670–1676 (2019)

    Google Scholar 

  11. H. White, Economic prediction using neural networks: the case of IBM daily stock returns. Earth Surf. Proc. Land. 8(5), 409–422 (1988)

    Google Scholar 

  12. G.P. Zhang, Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing 50(1), 159–175 (2003)

    Article  Google Scholar 

  13. E. Alibasic, B. Fazo, I. Petrovic, A new approach to calculating electrical energy losses on power lines with a new improved three-mode method. Tehnicki Vjesnik-Tech. Gazette 26(2), 405–411 (2019)

    Google Scholar 

  14. E. Axelsson, A. Fathallah, M. Schertell, Rin Tohsaka—a discord bot for community management (2018)

    Google Scholar 

  15. T. Bocklisch et al., Rasa: open source language understanding and dialogue management. arXiv preprint arXiv:1712.05181 (2017)

  16. S. Keyner, V. Savenkov, S. Vakulenko, Open data chatbot, in European Semantic Web Conference (Springer, Cham, 2019)

    Google Scholar 

  17. N. Mehta, P. Shah, P. Gajjar, Oil spill detection over ocean surface using deep learning: a comparative study. Mar. Syst. Ocean Technol. 16(3), 213–220 (2021)

    Article  Google Scholar 

  18. X. Cheng, Y. Bao, A. Zarifis, A. Zarifis, W. Gong, J. Mou, Exploring consumers’ response to text-based chatbots in e-commerce: the moderating role of task complexity and chatbot disclosure (2021)

    Google Scholar 

  19. A. De Myttenaere, B. Golden, B. Le Grand, F. Rossi, Mean absolute percentage error for regression models. Neurocomputing 192, 38–48 (2016)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to S. Priya .

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

Halder, A., Saxena, A., Priya, S. (2022). Stock Market Prediction Through a Chatbot: A Human-Centered AI Approach. In: Karuppusamy, P., García Márquez, F.P., Nguyen, T.N. (eds) Ubiquitous Intelligent Systems. ICUIS 2021. Smart Innovation, Systems and Technologies, vol 302. Springer, Singapore. https://doi.org/10.1007/978-981-19-2541-2_34

Download citation

Publish with us

Policies and ethics