Skip to main content

Predicting Stock Market Price Using Machine Learning Techniques

  • Conference paper
  • First Online:
Proceedings of Data Analytics and Management

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

  • 601 Accesses

Abstract

Financial time-series predictions like stock and stock indexes have become the main focus of research because of their fluctuating and nonlinear nature in almost all advanced and developing countries. Predicting stock market prices is a crucial topic in the present economy as multiple factors like the global economy, political conditions, country’s performance, company’s financial reports, and many more affect the stock price. Hence, the inclination toward new opportunities to predict the stock market has increased dramatically among professionals. Thus, many predictive techniques are employed over the past few years to maximize the profit and diminish the losses from the stock market movements. With the advancement of artificial intelligence and increased computational capabilities, various methods with programming models have been proven to be more efficient in forecasting stock trends. Mostly, the data size in the stock market is huge and not linear. So, efficient models are required to deal with the complexity and nonlinearity of huge datasets and to find out the hidden pieces of information. Therefore, an effort has been made to forecast the future stock market prices by applying various machine learning techniques such as linear regression (LR), support vector machine (SVM), decision tree (DT), and long short-term memory (LSTM). Then the performance parameters of all ML models such as the root mean squared error, mean absolute error, and mean square error are computed. Our experimental results show that LSTM provides better accuracy in terms of forecasting stock prices compared to the SVM and decision tree algorithm.

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

Similar content being viewed by others

References

  1. Khan W, Malik U, Ghazanfar MA, Azam MA, Alyoubi KH, Alfakeeh A (2019) Predicting stock market trends using machine learning algorithms via public sentiment and political situation analysis. Soft Comput 24:11019–11043

    Article  Google Scholar 

  2. Upadhyay A, Bandyopadhyay G (2012) Forecasting stock performance in Indian market using multinomial logistic regression. J Bus Stud Q 3:16–39

    Google Scholar 

  3. Tan TZ, Quek C, Ng GS (2007) Biological brain-inspired genetic complementary learning for stock market and bank failure prediction. Comput Intell 23:236–261

    Article  MathSciNet  Google Scholar 

  4. Ali Khan J (2016) Predicting trend in stock market exchange using machine learning classifiers. Sci Int 28:1363–1367

    Google Scholar 

  5. Masoud NMH (2017) The impact of stock market performance upon economic growth. Int J Econ Financ Issues 3(4):788–798

    MathSciNet  Google Scholar 

  6. Murkute A, Sarode T (2015) Forecasting the market price of the stock using artificial neural network. Int J Comput Appl 124(12):11–15

    Google Scholar 

  7. Hur J, Raj M, Riyanto YE (2006) Finance and trade: a cross-country empirical analysis on the impact of financial development and asset tangibility on international trade. World Dev 34(10):1728–1741

    Article  Google Scholar 

  8. Li L, Wu Y, Ou Y, Li Q, Zhou Y, Chen D (2017) Research on machine learning algorithms and feature extraction for time series. In: IEEE 28th annual international symposium on personal, indoor, and mobile radio communications (PIMRC), pp1–5

    Google Scholar 

  9. Seber GAF, Lee AJ (2012) Linear regression analysis. Wiley Mathematics, p 582

    Google Scholar 

  10. Reichek N, Devereux RB (1982) Reliable estimation of peak left ventricular systolic pressure by M-mode echographicdetermined end-diastolic relative wall thickness: identification of severe valvular aortic stenosis in adult patients. Am Heart J 103(2):202–209

    Article  Google Scholar 

  11. Chong T-L, Ng W-K (2008) Technical analysis and the London stock exchange: testing the MACD and RSI rules using the FT30. Appl Econ Lett 15(14):1111–1114

    Article  Google Scholar 

  12. Zhang GP (2003) Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing 50:159–175

    Google Scholar 

  13. Suykens JAK, Vandewalle J (1999) Least squares support vector machine classifiers. Neural Process Lett 9(3):293–300

    Google Scholar 

  14. Liaw A, Wiener M (2002) Classification and regression by Random Forest. R news 2(3):18–22

    Google Scholar 

  15. Pierdzioch C, Risse M (2018) A machine-learning analysis of the rationality of aggregate stock market forecasts. Int J Financ Econ 23(4):642–654

    Article  Google Scholar 

  16. Nti IK, Adekoya AF, Weyori BA (2020) A comprehensive evaluation of ensemble learning for stock-market prediction. J Big Data 7:1–40

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Padmalaya Nayak .

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

Nayak, P., Srinivasa Nihal, K., Tagore Ashish, Y., Sai Bhargav, M., Saketh Kumar, K. (2023). Predicting Stock Market Price Using Machine Learning Techniques. In: Khanna, A., Polkowski, Z., Castillo, O. (eds) Proceedings of Data Analytics and Management . Lecture Notes in Networks and Systems, vol 572. Springer, Singapore. https://doi.org/10.1007/978-981-19-7615-5_56

Download citation

Publish with us

Policies and ethics