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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
B.G. Malkiel, A Random Walk Down Wall Street: Including a Life-Cycle Guide to Personal Investing (WW Norton & Company, New York, 1999)
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)
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)
K.J. Kim, Financial time series forecasting using support vector machines. Neurocomputing 55(1–2), 307–319 (2003)
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)
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)
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
R.P. Schumaker, H. Chen, A quantitative stock prediction system based on financial news. Inf. Process. Manage. 45(5), 571–583 (2009)
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
J.R. Nofsinger, The impact of public information on investors. J. Banking Finan. 25(7), 1339–1366 (2001)
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)
S. Hamori, Empirical Finance (2020)
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)
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
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)
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)
Yahoo Finance data for Reliance Industries Limited. https://in.finance.yahoo.com/quote/RELIANCE.NS. Last accessed on 23 Dec 2019
Yahoo Finance data for PC Jeweller Limited. www.in.finance.yahoo.com/quote/PCJEWELLER.NS. Last accessed on 23 Dec 2019
Economic Times articles for PC Jeweller Limited. www.economictimes.indiatimes.com/pc-jeweller-ltd/stocks/companyid-42269.cms. Last accessed on 23 Dec 2019
Economic Times articles for Reliance Industries Limited. www.economictimes.indiatimes.com/reliance-industries-ltd/stocks/companyid-13215.cms. Last accessed on 23 Dec 2019
S. Hochreiter, J. Schmidhuber, Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)
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
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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
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
DOI: https://doi.org/10.1007/978-981-15-7106-0_1
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-7105-3
Online ISBN: 978-981-15-7106-0
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)