Stock Market Price Prediction Using LSTM RNN

  • Conference paper
  • First Online:
Emerging Trends in Expert Applications and Security

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 841))

  • 2857 Accesses

Abstract

Financial Analysis has become a challenging aspect in today’s world of valuable and better investment. This paper introduces the implementation of Recurrent Neural Network (RNN) along with Long Short-Term Memory Cells (LSTM) for Stock Market Prediction used for Portfolio Management considering the Time Series Historical Stock Data of Stocks in the Portfolio. The comparison of the model with the traditional Machine Learning Algorithms—Regression, Support Vector Machine, Random Forest, Feed Forward Neural Network and Backpropagation have been performed. Various metrics and architectures of LSTM RNN model have been considered and are tested and analysed. There is discussion on how the sentiments of the customer would affect the stocks along with the changes in trends.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.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 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** 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. Li, R., Fu, D., & Zheng, Z. (2017). An Analysis of the Correlation between Internet Public Opinion and Stock Market. In 2017 4th International Conference on Information Science and Control Engineering (ICISCE) (pp. 150–153). IEEE.

    Google Scholar 

  2. Tiwari, V., Gupta, S., & Tiwari V. (2010). Association rule mining: A graph based approach for mining frequent itemsets. International Conference of Networking and Information Technology (ICNIT) (pp. 309–313). IEEE.

    Google Scholar 

  3. Kunal, S., Saha, A., Varma, A., & Tiwari, V. (2018). Textual Dissection of Live Twitter Reviews using Naive Bayes. Procedia Computer Science, 132, 307–313. Elsevier.

    Google Scholar 

  4. Khaidem, L., Saha, S., & Dey, S. R. (2016). Predicting the direction of stock market prices using random forest. ar**v preprint ar**v:1605.00003.

  5. Al-Nasseri, A., & Ali, F. M. (2018). What does investors' online divergence of opinion tell us about stock returns and trading volume?. Journal of Business Research, 86, 166–178.

    Article  Google Scholar 

  6. Lin, Y., Guo, H., & Hu, J. (2013). An SVM-based approach for stock market trend prediction. In Neural Networks (IJCNN), The 2013 International Joint Conference on (pp. 1–7). IEEE.

    Google Scholar 

  7. Gupta, A., & Dhingra, B. (2012). Stock market prediction using hidden markov models. In Engineering and Systems (SCES), 2012 Students Conference on (pp. 1–4). IEEE.

    Google Scholar 

  8. Bhuriya, D., Kaushal, G., Sharma, A., & Singh, U. (2017). Stock market prediction using linear regression. International conference of electronics, communication and aerospace technology (ICECA), Coimbatore, India. IEEE.

    Google Scholar 

  9. Yang, J., Rao, R., Hong, P., & Ding, P. (2016). Ensemble model for stock price movement trend prediction on different investing periods. In Computational Intelligence and Security (CIS), 2016 12th International Conference on (pp. 358–361). IEEE.

    Google Scholar 

  10. Labiad, B., Berrado, A., & Benabbou, L. (2016). Machine learning techniques for short term stock movements classification for Moroccan stock exchange. In Intelligent Systems: Theories and Applications (SITA), 2016 11th International Conference on (pp. 1–6). IEEE.

    Google Scholar 

  11. Mingyue, Q., Cheng, L., & Yu, S. (2016). Application of the Artifical Neural Network in predicting the direction of stock market index. In 2016 10th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS) (pp. 219–223). IEEE.

    Google Scholar 

  12. Mithani, F., Machchhar, S., & Jasdanwala, F. (2016). A modified bpn approach for stock market prediction. In Computational Intelligence and Computing Research (ICCIC), 2016 IEEE International Conference on (pp. 1–4). IEEE.

    Google Scholar 

  13. Sharma, A., Bhuriya, D., & Singh, U. (2017). Survey of stock market prediction using machine learning approach. International conference of electronics, communication and aerospace technology (ICECA), Coimbatore, India. IEEE.

    Google Scholar 

  14. George, S., & Changat, M. (2017). Network approach for stock market data mining and portfolio analysis. In Networks & Advances in Computational Technologies (NetACT), 2017 International Conference on (pp. 251–256). IEEE.

    Google Scholar 

  15. Dewan, A., & Sharma, M. (2015). Prediction of heart disease using a hybrid technique in data mining classification. In Computing for Sustainable Global Development (INDIACom), 2015 2nd International Conference on (pp. 704–706). IEEE.

    Google Scholar 

  16. Sak, H., Senior, A., & Beaufays, F. (2014). Long short-term memory recurrent neural network architectures for large scale acoustic modeling. In Fifteenth annual conference of the international speech communication association.

    Google Scholar 

  17. Heaton, J., Polson, N., & Witte, J. (2017). Deep learning for finance: deep portfolios. Applied Stochastic Models in Business and Industry, 33(1).

    Article  MathSciNet  Google Scholar 

  18. Mrcela, L., Mercep, A., Begusic, S., & Kostanjcar, Z. (2017) Portfolio optimization using preference relation based on statistical arbitrage. In Smart Systems and Technologies (SST), 2017 International Conference on (pp. 161–165). IEEE.

    Google Scholar 

  19. Fang, J., & **aoyun, M. (2017) Dynamic Multi-Mode Portfolio Optimization Strategy for Markovian Arrival Process. In Robots & Intelligent System (ICRIS), 2017 International Conference on (pp. 139–142). IEEE.

    Google Scholar 

  20. Das, S., & Goyal, M. (2012) Rebalancing a two-asset Markowitz portfolio: A fundamental analysis. In Computational Intelligence for Financial Engineering & Economics (CIFE), 2012 IEEE Conference on (pp. 1–8). IEEE.

    Google Scholar 

  21. Yang, Y., & Hasuike, T. (2017) Construction of Investor Sentiment Index in the Chinese Stock Market. In Advanced Applied Informatics (IIAI–AAI), 2017 6th IIAI International Congress on (pp. 23–28). IEEE.

    Google Scholar 

Download references

Acknowledgements

This research was partially supported by DSPM International Institute of Information Technology Naya Raipur (IIIT-NR). We thank our colleagues from IIIT-NR who provided insight that greatly helps us in this research. We would like to show our gratitude to Dr. Vivek Tiwari, Asst. Prof. CSE, IIIT-NR for mentoring us and sharing his experience and knowledge with us during this research. We thank every person associated with this research directly or indirectly.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vivek Tiwari .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pawar, K., Jalem, R.S., Tiwari, V. (2019). Stock Market Price Prediction Using LSTM RNN. In: Rathore, V., Worring, M., Mishra, D., Joshi, A., Maheshwari, S. (eds) Emerging Trends in Expert Applications and Security. Advances in Intelligent Systems and Computing, vol 841. Springer, Singapore. https://doi.org/10.1007/978-981-13-2285-3_58

Download citation

Publish with us

Policies and ethics

Navigation