Skip to main content

Stock Price Prediction Using LSTM, CNN and ANN

  • Conference paper
  • First Online:
Soft Computing and Signal Processing ( ICSCSP 2023)

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

Included in the following conference series:

  • 76 Accesses

Abstract

Forecasting the stock market is difficult because the stock price time series is so intricate. We applied long short-term memory (LSTM) algorithm, convolutional neural network (CNN) and artificial neural network (ANN) because of the following reason: Recent work provides preliminary proof that machine learning methods could locate relationships in stock price sequences that are not linear. The stock market's non-stationary and high volatility makes it difficult to foresee the trajectory time series data in the economy. We expanded the scope of our model training outside the Indian stock market. More specifically on stock prices of MAANG and Divis labs, all three models were performing really well with RMSE of LSTM being 0.42 and R2 score being 0.55, and this being the best result among all.

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 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight 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. Hsu Y-L, Tsai Y-C, Li C-T (2023) FinGAT: Financial graph attention networks for recommending top-KK profitable stocks. In: IEEE transactions on knowledge and data engineering 2023

    Google Scholar 

  2. Parekh R, Patel NP, Thakkar N, Gupta R, Tanwar S, Sharma G, Davidson IE, Sharma R (2022) DL-GuesS: deep learning and sentiment analysis-based cryptocurrency price prediction. IEEE Access

    Google Scholar 

  3. Kabbani T, Duman E (2022) Deep reinforcement learning approach for trading automation in the stock market. IEEE Access

    Google Scholar 

  4. Li G, Zhang A, Zhang Q, Wu D, Zhan C (2022) Pearson correlation coefficient-based performance enhancement of broad learning system for stock price prediction. IEEE Trans Circuits Syst II: Express Briefs

    Google Scholar 

  5. Vargas G, Silvestre L, Júnior LR, Rocha H (2022) B3 stock price prediction using LSTM neural networks and sentiment analysis. IEEE Lat Am Trans

    Google Scholar 

  6. Yeng Z, Wong L, Zheng Y, Bindir A (2019) DeepClue: visual interpretation of text-based deep stock prediction. by Lee Shei, Senior Member, IEEE, was published in IEEE 2019

    Google Scholar 

  7. Jenho L, Rahyun K, Yokyvng K, Jaewo K (2019) Glowbal Stoc Maarket Prediktion based on stoc charat photos using deep Q-network, IEEE

    Google Scholar 

  8. Li G, Zhan A, Zhang Q, Woo D, Zhan C (2022) Pearsun coorrelation co-efficient-baised performance enhancement of board learning computer for Stoc Price Prediktion. IEEE

    Google Scholar 

  9. Len Y-F, Huang T-M, Chvng W-H, Ung Y-L (2021) Forecasting fluctuations in the financial index using a recurrent neural network based on price features. IEEE

    Google Scholar 

  10. Wen M, Li P, Zhang L, Chen Y (2019) Stock market trend prediction using high-order information of time series. IEEE

    Google Scholar 

  11. Wu M-E, Chung W-H (2018) A unique technique to option portfolio design utilizing the Kelly criteria. IEEE Access 6:53044–53052

    Google Scholar 

  12. Wu M-E, Wang C-H, Chung W-H, Tso R, Yang I-H (2015) An empirical comparison of the Kelly criteria and vince's optimum F is made. In: Proceeding IEEE international conference smart City/SocialCom/SustainCom (SmartCity), Dec 2015, pp 806–810

    Google Scholar 

  13. Chen SM, Chen CD (2011) TAIEX forecasting based on fuzzy time series and fuzzy variation groups. IEEE Trans Fuzzy Syst 19(1):1–12, Feb 2011

    Google Scholar 

  14. Chin SM, Chin CD (2011) TAIEX forecasting based on fuzzy time series and fuzzy variation groups. IIEEE Trans Fuzzzy Syst 190(19):1–21, Feb 2011

    Google Scholar 

  15. Kang P, Fans C (2008) A hybrid system integrating a wavelet and TSK fuzzy rules for stock price forecasting. IIEEE Trans Syst Main Cyber Prt C (Apple Revision) 389(69):812–851, Nov 2008

    Google Scholar 

  16. Idrees SM, Alam MA, Agarwal P (2019) A prediction approach for stock market volatility based on time series data. IEEE Access 7:17287–17298

    Article  Google Scholar 

  17. Chen CLP, Liu Z (2018) Broad learning system: an effective and efficient incremental learning system without the need for deep architecture. IEEE Trans Neural Netw Learn Syst 29(1):10–24

    Article  MathSciNet  Google Scholar 

  18. Li Q et al. (2021) Integrating reinforcement learning and optimal power dispatch to enhance power grid resilience. IEEE Trans Circuits Syst II, Exp Briefs 69(3):1402–1406, Mar 2021

    Google Scholar 

  19. Krizhevsky A, Sutskever I, Hinton GE (2012) Imagenet classification with deep convolutional neural networks. In Proceeding 25th international conference neural Information processing systems, pp 1097–1105

    Google Scholar 

  20. Liu D, Tse CK, Zhang X (2019) Robustness assessment and enhancement of power grids from a complex network’s perspective using decision trees. IEEE Trans Circuits Syst II, Exp Briefs 66(5):833–837, May 2019

    Google Scholar 

  21. Bai L, Zhao Y, Huang X (2018) A CNN accelerator on FPGA using depthwise separable convolution. IEEE Trans Circuits Syst II, Exp Briefs 65(10):1415–1419, Oct 2018

    Google Scholar 

  22. LeCun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521(7553):436–444

    Article  Google Scholar 

  23. Ding X, Zhang Y, Liu T, Duan J (2015) Deep learning for event driven stock prediction. In: Proceeding of 24th international conference artificial intelligence, pp 2327–2333

    Google Scholar 

  24. Erhan D, Bengio Y, Courville A, Vincent P (2009) Visualizing higher-layer features of a deep network, vol. 1341. University Montreal, Montreal, QC, Canada, Technical Report

    Google Scholar 

  25. Bahdanau D, Cho K, Bengio Y (2015) Neural machine translation by jointly learning to align and translate. In: Proceeding international conference learning representations, pp 1–15

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dammalapati Chetan Sai Kiran .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

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

Kakarla, K.P., Kiran, D.C.S., Kanchana, M. (2024). Stock Price Prediction Using LSTM, CNN and ANN. In: Zen, H., Dasari, N.M., Latha, Y.M., Rao, S.S. (eds) Soft Computing and Signal Processing. ICSCSP 2023. Lecture Notes in Networks and Systems, vol 840. Springer, Singapore. https://doi.org/10.1007/978-981-99-8451-0_12

Download citation

Publish with us

Policies and ethics