Abstract
Stock market prediction is a practice of forecasting the company’s future stock values. A few years back, it was very challenging even for the expert analysts to project stock prices for various companies, but in the recent years, it has become easier to predict future stock values as people have started assigning more time to stock price prediction using various algorithms like SVM, LSTM, CNN, and RNN. So, in this context, an idea of comparative study of two frequently used ML algorithms like convolutional neural networks and long short-term memory is being suggested for stock price forecasting. To conduct this research, the network is trained by using the input data of previous years to predict the prospect value of the company’s stock and provide a graphical outcome that compares the actual prices and prices predicted using the model. The comparison of the two methods will be based on specific criteria that are required for obtaining a model. The major factors needed for implementation are open and closed pricing. Moreover, the RMSE, R2 score, and accuracy values for both models are compared for both open and closed prices in this study. The use of parameters will give us an overview on these two models which will define future global trade and economic growth of a country. Based on the results of the experiment, it has been observed that it is more reliable to use LSTM which gives an accuracy of 99.68% for open price and 99.89% for close price prediction than using CNN which gives 99.07% for open price and 97.89% for close price prediction.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Kranthi VSR (2018) Stock market prediction using machine learning. Int Res J Eng Technol 5(10)
Pramod, B. S., Mallikarjuna, S. P. M (2020) Stock price prediction using LSTM. Test Eng Manag 5246–5251
Jiabao L (2022) The comparison of LSTM, LGBM, and CNN in stock volatility prediction. International conference on financial innovation and economic development 2022, vol 648
Achyut G, Soumik B, Giridhar M, Narayan CD, Soumya S (2020) Stock price prediction using LSTM on Indian share market. International conference on computer applications in industry and engineering 2020, vol 63, pp 101–110
Shen J, Shafiq MO (2020) Short-term stock market price trend prediction using a comprehensive deep learning system. J Big Data
Payal S, Yogya T, Prof. Deepa K (2021) Machine learning approaches in stock price prediction: a systematic review. International conference on artificial intelligence, computational electronics and communication system 2021
Shreya P (2022) Stock price prediction using machine learning algorithms. Int J Res Appl Sci Eng Technol 10(01)
Sidra M, Jaydip S (2020) Stock price prediction using CNN and LSTM-based deep learning models. International conference on decision aid sciences and applications 2020
Nusrat R, Majid BM, Tasleem A, Sparsh S, Saurabh S, Satyabrata A, Hee CK (2021) Stock market prediction using machine learning techniques: a decade survey on methodologies, recent developments, and future directions. Mult Digital Publishing Inst 10(21)
Troy JS, John JR, Thomas HR, Huang Y-H (2020) Machine learning stock market prediction studies: review and research directions. J Int Technol Inf Manage 28(4)
Ajinkya R, Aayush K, Aniket R, Nilima K (2021) Stock market price prediction and analysis. Int J Eng Res Technol 10(06)
Jiake L (2021) Research on market stock index prediction based on network security and deep learning. Hindawi security and communication networks 2021
Raj GT, Ambuj KA, Nishant G, Aman A, Nikita V (2022) Conceptualization of effective algorithm for minimizing power consumption in cloud servers. 2022 11th international conference on system modeling & advancement in research trends (SMART). Moradabad, India, pp 445–449
Abhineet A, Naresh KT, Abdul Wassay M, Yousef AS, Shikha M (2021) Application and uses of big data analytics in different domain. Machine intelligence and data science applications. Proceedings of MIDAS 2021, vol 132, pp 481–500
Rao PS, Srinivas K, Mohan AK (2020) A survey on stock market prediction using machine learning techniques. In: ICDSMLA 2019: proceedings of the 1st international conference on data science, machine learning and applications. Springer Singapore, pp 923–931
Malti B, Apoorva G, Apoorva C (2022) Stock market prediction with high accuracy using machine learning techniques. International conference on innovative data communication technology and application 2022, pp 247–265
Siddhesh K, Anvit K, Shubham K, Deepali P (2022) Study and analysis of stock market prediction techniques. ITM web of conferences 2022
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Madaan, D., Gupta, T., Rani, L., Sahoo, A.K., Sarangi, P.K. (2024). Comparative Study of CNN and LSTM on Short-Term Future Stock Price Prediction. In: Swaroop, A., Polkowski, Z., Correia, S.D., Virdee, B. (eds) Proceedings of Data Analytics and Management. ICDAM 2023. Lecture Notes in Networks and Systems, vol 786. Springer, Singapore. https://doi.org/10.1007/978-981-99-6547-2_12
Download citation
DOI: https://doi.org/10.1007/978-981-99-6547-2_12
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-6546-5
Online ISBN: 978-981-99-6547-2
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)