Skip to main content

A Hybrid Deep Learning Approach for Stock Price Prediction

  • Conference paper
  • First Online:
Machine Learning for Predictive Analysis

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 141))

Abstract

Prediction of stock prices has been the primary objective of an investor. Any future decision taken by the investor directly depends on the stock prices associated with a company. This work presents a hybrid approach for the prediction of intra-day stock prices by considering both time-series and sentiment analysis. Furthermore, it focuses on long short-term memory (LSTM) architecture for the time-series analysis of stock prices and Valence Aware Dictionary and sEntiment Reasoner (VADER) for sentiment analysis. LSTM is a modified recurrent neural network (RNN) architecture. It is efficient at extracting patterns over sequential time-series data, where the data spans over long sequences and also overcomes the gradient vanishing problem of RNN. VADER is a lexicon and rule-based sentiment analysis tool attuned to sentiments expressed in social media and news articles. The results of both techniques are combined to forecast the intra-day stock movement and hence the model named as LSTM-VDR. The model is first of its kind, a combination of LSTM and VADER to predict stock prices. The dataset contains closing prices of the stock and recent news articles combined from various online sources. This approach, when applied on the stock prices of Bombay Stock Exchange (BSE) listed companies, has shown improvements in comparison to prior studies.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.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
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 329.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

Similar content being viewed by others

References

  1. B.G. Malkiel, A Random Walk Down Wall Street: Including a Life-Cycle Guide to Personal Investing (WW Norton & Company, New York, 1999)

    Google Scholar 

  2. H. Mizuno, M. Kosaka, H. Yajima, N. Komoda, Application of neural network to technical analysis of stock market prediction. Stud. Inf. Control 7(3), 111–120 (1998)

    Google Scholar 

  3. W. Leigh, R. Purvis, J.M. Ragusa, Forecasting the NYSE composite index with technical analysis, pattern recognizer, neural network, and genetic algorithm: a case study in romantic decision support. Decis. Support Syst. 32(4), 361–377 (2002)

    Google Scholar 

  4. K.J. Kim, Financial time series forecasting using support vector machines. Neurocomputing 55(1–2), 307–319 (2003)

    Google Scholar 

  5. K.J. Kim, W.B. Lee, Stock market prediction using artificial neural networks with optimal feature transformation. Neural Comput. Appl. 13(3), 255–260 (2004)

    Google Scholar 

  6. H. Maqsood, I. Mehmood, M. Maqsood, M. Yasir, S. Afzal, F. Aadil, K. Muhammad, A local and global event sentiment based efficient stock exchange forecasting using deep learning. Int. J. Inf. Manage. 50, 432–451 (2020)

    Google Scholar 

  7. S.L.O. Lim, H.M. Lim, E.K. Tan, T.P. Tan, Examining machine learning techniques in business news headline sentiment analysis, Computational Science and Technology (Springer, Singapore, 2020), pp. 363–372

    Google Scholar 

  8. R.P. Schumaker, H. Chen, A quantitative stock prediction system based on financial news. Inf. Process. Manage. 45(5), 571–583 (2009)

    Google Scholar 

  9. S. Selvin, R. Vinayakumar, E.A. Gopalakrishnan, V.K. Menon, K.P. Soman, in Stock price prediction using LSTM, RNN and CNN-sliding window model, in 2017 International Conference on Advances in Computing, Communications and Informatics (icacci) (IEEE, 2017), pp. 1643–1647

    Google Scholar 

  10. J.R. Nofsinger, The impact of public information on investors. J. Banking Finan. 25(7), 1339–1366 (2001)

    Google Scholar 

  11. W. Wang, W. Li, N. Zhang, K. Liu, Portfolio formation with preselection using deep learning from long-term financial data. Expert Syst. Appl. 143, 113042 (2020)

    Google Scholar 

  12. S. Hamori, Empirical Finance (2020)

    Google Scholar 

  13. R.P. Schumaker, H. Chen, Textual analysis of stock market prediction using breaking financial news: The AZFin text system. ACM Trans. Inf. Syst. (TOIS) 27(2), 1–19 (2009)

    Google Scholar 

  14. P.D. Yoo, M.H. Kim, T. Jan, Machine learning techniques and use of event information for stock market prediction: A survey and evaluation, in International Conference on Computational Intelligence for Modelling, Control and Automation and International Conference on Intelligent Agents, Web Technologies and Internet Commerce (CIMCA-IAWTIC’06), vol. 2 (IEEE, 2005), pp. 835–841

    Google Scholar 

  15. B. Wüthrich, D. Permunetilleke, S. Leung, W. Lam, V. Cho, J. Zhang, Daily prediction of major stock indices from textual www data. Hkie Trans. 5(3), 151–156 (1998)

    Google Scholar 

  16. C.J. Hutto, E. Gilbert, Vader: a parsimonious rule-based model for sentiment analysis of social media text, in Eighth International AAAI Conference on Weblogs and Social Media (2014, May)

    Google Scholar 

  17. Yahoo Finance data for Reliance Industries Limited. https://in.finance.yahoo.com/quote/RELIANCE.NS. Last accessed on 23 Dec 2019

  18. Yahoo Finance data for PC Jeweller Limited. www.in.finance.yahoo.com/quote/PCJEWELLER.NS. Last accessed on 23 Dec 2019

  19. Economic Times articles for PC Jeweller Limited. www.economictimes.indiatimes.com/pc-jeweller-ltd/stocks/companyid-42269.cms. Last accessed on 23 Dec 2019

  20. Economic Times articles for Reliance Industries Limited. www.economictimes.indiatimes.com/reliance-industries-ltd/stocks/companyid-13215.cms. Last accessed on 23 Dec 2019

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

    Google Scholar 

  22. M.R. Vargas, B.S. De Lima, A.G. Evsukoff, Deep learning for stock market prediction from financial news articles, in 2017 IEEE International Conference on Computational Intelligence and Virtual Environments for Measurement Systems and Applications (CIVEMSA) (IEEE, 2017, June), pp. 60–65

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Abhishek Dutta .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Editor(s) (if applicable) and 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

Dutta, A., Pooja, G., Jain, N., Panda, R.R., Nagwani, N.K. (2021). A Hybrid Deep Learning Approach for Stock Price Prediction. In: Joshi, A., Khosravy, M., Gupta, N. (eds) Machine Learning for Predictive Analysis. Lecture Notes in Networks and Systems, vol 141. Springer, Singapore. https://doi.org/10.1007/978-981-15-7106-0_1

Download citation

Publish with us

Policies and ethics