Skip to main content

Long Short-Term Memory-Driven Recurrent Neural Network for Real-Time Stock Monitoring and Prediction

  • Conference paper
  • First Online:
Machine Intelligence Techniques for Data Analysis and Signal Processing

Abstract

A stock market has an extreme effect on today’s economy. It has always been a tough job to invest in stock market. In a world where inflation increases at 3% per year, we must invest our money to guarantee our future. The market does not allow us to predict the future of the assets with high accuracy. However, with the successful development in technologies, the opportunities to gain a fortune from the markets are increasing, and it also helps experts predict the stock market. The extensive aim of this paper is to use long short-term memory (LSTM)- based Recurrent Neural Networks (RNNs) to build a machine learning model that can monitor and predict the stock market prices. The performance of this model was determined by accuracy, Root Mean Squared Error (RMSE), and how epochs can modify our model. We evaluated the model using Yahoo Finance data and reported higher accuracy with a prediction of 88.2% in the same cohorts of stocks.

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 299.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 379.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 379.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. Yahoo Finance. https://in.help.yahoo.com/kb/SLN2311.html. Last Accessed 15 Dec 2021

  2. Stock Knowledge. https://stockslibrary.com/. Last Accessed 20 Oct 2021

  3. Li Y, Pan Y (2021) A novel ensemble deep learning model for stock prediction based on stock prices and news. Int J Data Sci Anal. https://doi.org/10.1007/s41060-021-00279-9

    Article  Google Scholar 

  4. Devi B, Shankar VG, Srivastava S, Srivastava DK (2020) AnaBus: a proposed sampling retrieval model for business and historical data analytics. In: Sharma N, Chakrabarti A, Balas V (eds) Data management, analytics, and innovation. advances in intelligent systems and computing, vol 1016. Springer, Singapore. https://doi.org/10.1007/978-981-13-9364-8_14

  5. Jagwani MG, Sachdeva H, Singhal A (2018) Stock price forecasting using data from yahoo finance and analysing seasonal and nonseasonal Trend. In: 2018 Second international conference on intelligent computing and control systems (ICICCS), pp 462–467. https://doi.org/10.1109/ICCONS.2018.8663035

  6. Li W, Bastos GS (2020) Stock market forecasting using deep learning and technical analysis: a systematic review. IEEE Access 8:185232–185242. https://doi.org/10.1109/ACCESS.2020.3030226

    Article  Google Scholar 

  7. Wu JMT, Li Z, Herencsar N et al (2021) A graph-based CNN-LSTM stock price prediction algorithm with leading indicators. Multimedia Syst (2021). https://doi.org/10.1007/s00530-021-00758-w

  8. Kumar D, Sarangi P, Verma R (2021) A systematic review of stock market prediction using machine learning and statistical techniques. Mater Today: Proc https://doi.org/10.1016/j.matpr.2020.11.399

  9. Devi B, Shankar VG, Srivastava S, Nigam K, Narang L (2021) Racist tweets-based sentiment analysis using individual and ensemble classifiers. In: Micro-electronics and telecommunication engineering. Lecture Notes in Networks and Systems, vol 179. Springer, Singapore. https://doi.org/10.1007/978-981-33-4687-1_52

  10. Shankar VG, Devi B, Bhatnagar A, Sharma AK, Srivastava DK (2021) Indian air quality health index analysis using exploratory data analysis. In: Micro-electronics and telecommunication engineering. Lecture Notes in Networks and Systems, vol 179. Springer, Singapore. https://doi.org/10.1007/978-981-33-4687-1_51

  11. Devi B, Kumar S, Anuradha, SVG (2019) AnaData: a novel approach for data analytics using random forest tree and SVM. In: Computing, communication and signal processing. Advances in Intelligent Systems and Computing, vol 810. Springer, Singapore. https://doi.org/10.1007/978-981-13-1513-8_53

  12. Shankar VG, Devi B, Srivastava S (2019) DataSpeak: data extraction, aggregation, and classification using big data novel algorithm. In: Iyer B, Nalbalwar S, Pathak N (eds) Computing, communication, and signal processing. Advances in intelligent systems and computing, vol 810. Springer, Singapore. https://doi.org/10.1007/978-981-13-1513-8_16

  13. Hochreiter S (1997) Jürgen Schmidhuber. Long Short-Term Memory Neural Comput 9(8):1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735

    Article  Google Scholar 

  14. Selvamuthu D, Kumar V, Mishra A (2019) Indian stock market prediction using artificial neural networks on tick data. Financ Innov 5:16. https://doi.org/10.1186/s40854-019-0131-7

    Article  Google Scholar 

  15. Faraz M, Khaloozadeh H, Abbasi M (2020)Stock market prediction-by-prediction based on autoencoder long short-term memory networks. In: 2020 28th Iranian conference on electrical engineering (ICEE), pp 1–5. https://doi.org/10.1109/ICEE50131.2020.9261055

  16. Mittal A (2011) Stock prediction using twitter sentiment analysis

    Google Scholar 

  17. Bengio Y, Simard P, Frasconi P (1994) Learning long-term dependencies with gradient descent is difficult. IEEE Trans Neural Netw 5(2):157–166. https://doi.org/10.1109/72.279181

    Article  Google Scholar 

  18. NDEP. https://pubs.er.usgs.gov/publication/70182536

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Venkatesh Gauri Shankar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 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

Patil, S., Shankar, V.G., Devi, B., Singh, A.P., Upadhyay, N.R. (2023). Long Short-Term Memory-Driven Recurrent Neural Network for Real-Time Stock Monitoring and Prediction. In: Sisodia, D.S., Garg, L., Pachori, R.B., Tanveer, M. (eds) Machine Intelligence Techniques for Data Analysis and Signal Processing. Lecture Notes in Electrical Engineering, vol 997. Springer, Singapore. https://doi.org/10.1007/978-981-99-0085-5_66

Download citation

Publish with us

Policies and ethics