Skip to main content

Analyzing Stock Market with Machine Learning Techniques

  • Conference paper
  • First Online:
Proceedings of International Conference on Recent Innovations in Computing (ICRIC 2022)

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 1011))

Included in the following conference series:

  • 343 Accesses

Abstract

The financial market is extremely volatile, and this unstable nature of the stock market is not easy to understand. But technological advancements have given a ray of hope that it might be possible that one can make the machines understand this level of volatility and can make accurate predictions about the future market prices. This paper emphasizes various techniques by which machines can learn the financial markets and their future trends/movements. This paper has made use of four such techniques along with sentiment analysis on the news related to the undertaken tickers. This study shows that classification techniques give a good estimate of unusual highs and lows of the market, which in turn can prove helpful for the traders in taking timely and accurate decisions, i.e., bullish or bearish trends. This study is focused on determining the trends of the market while considering not only the stock trends but also the sentiments of the news headlines, using the polarity scores. The ensembled technique has given better results than other techniques in terms of R2 score and mean absolute error.

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
  • Free shipping worldwide - see info
Hardcover Book
USD 249.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

Similar content being viewed by others

References

  1. Mehta P, Pandya S, Kotecha K (2021) Harvesting social media sentiment analysis to enhance stock market prediction using deep learning. PeerJ Comput Sci 7:1–21. https://doi.org/10.7717/peerj-cs.476

    Article  Google Scholar 

  2. Business News | Stock and Share Market News | Finance News | Sensex Nifty, NSE, BSE Live IPO News. Retrieved from https://www.moneycontrol.com/. Accessed on 10 Feb 2022

  3. Zhao W et al (2018) Weakly-supervised deep embedding for product review sentiment analysis. IEEE Trans Knowl Data Eng 30(1):185–197. https://doi.org/10.1109/TKDE.2017.2756658

    Article  Google Scholar 

  4. Mohan S, Mullapudi S, Sammeta S, Vijayvergia P, Anastasiu DC (2019) Stock price prediction using news sentiment analysis. In: 2019 IEEE Fifth international conference on big data computing service and applications (BigDataService), pp 205–208. https://doi.org/10.1109/BigDataService.2019.00035

  5. Akhtar MM, Zamani AS, Khan S, Shatat ASA, Dilshad S, Samdani F (2022) Stock market prediction based on statistical data using machine learning algorithms. J King Saud Univ Sci 34(4):101940. https://doi.org/10.1016/j.jksus.2022.101940

    Article  Google Scholar 

  6. Emioma CC, Edeki SO (2021) Stock price prediction using machine learning on least-squares linear regression basis. J Phys Conf Ser 1734:012058. https://doi.org/10.1088/1742-6596/1734/1/012058

  7. Sharma K, Bhalla R (2022) Stock market prediction techniques: a review paper. In: Second international conference on sustainable technologies for computational intelligence. Advances in intelligent systems and computing, vol 1235. Springer, Singapore, pp 175–188. https://doi.org/10.1007/978-981-16-4641-6_15

  8. Sharma K, Bhalla R (2022) “Decision Support Machine- A hybrid model for sentiment analysis of news headlines of stock market.” Int J Electr Comput Eng Syst 13(9):791–798. https://doi.org/10.32985/ijeces.13.9.7

  9. Thormann ML, Farchmin J, Weisser C, Kruse RM, Safken B, Silbersdorff A (2021) Stock price predictions with LSTM neural networks and twitter sentiment. Stat Optim Inf Comput 9(2):268–287. https://doi.org/10.19139/soic-2310-5070-1202

    Article  MathSciNet  Google Scholar 

  10. Kedar SV (2021) Stock market increase and decrease using twitter sentiment analysis and ARIMA model. Turk J Comput Math Educ 12(1S):146–161. https://doi.org/10.17762/turcomat.v12i1s.1596

    Article  MathSciNet  Google Scholar 

  11. Chen W, Zhang H, Mehlawat MK, Jia L (2021) Mean–variance portfolio optimization using machine learning-based stock price prediction. Appl Soft Comput 100:106943. https://doi.org/10.1016/j.asoc.2020.106943

    Article  Google Scholar 

  12. Sarkar A, Sahoo AK, Sah S, Pradhan C (2020) LSTMSA: A novel approach for stock market prediction using LSTM and sentiment analysis. In: 2020 Int Conf Comput Sci Eng Appl (ICCSEA), pp 4–9. https://doi.org/10.1109/ICCSEA49143.2020.9132928

  13. Gondaliya C, Patel A, Shah T (2021) Sentiment analysis and prediction of Indian stock market amid Covid-19 pandemic. IOP Conf Ser Mater Sci Eng 1020(1):012023. https://doi.org/10.1088/1757-899X/1020/1/012023

  14. Gupta R, Chen M (2020) Sentiment analysis for stock price prediction. In: Proc 3rd Int Conf Multimed Inf Process Retrieval (MIPR), pp 213–218. https://doi.org/10.1109/MIPR49039.2020.00051

  15. Li X, Wu P, Wang W (2020) Incorporating stock prices and news sentiments for stock market prediction: a case of Hong Kong. Inf Process Manag 57(5):102212. https://doi.org/10.1016/j.ipm.2020.102212

    Article  Google Scholar 

  16. Yadav A, Vishwakarma DK (2020) Sentiment analysis using deep learning architectures: a review. Artif Intell Rev 53(6):4335–4385. https://doi.org/10.1007/s10462-019-09794-5

    Article  Google Scholar 

  17. Reddy NN, Naresh E, Kumar VBP (2020) Predicting stock price using sentimental analysis through twitter data. In: Proc (CONECCT) 6th IEEE Int Conf Electron Comput Commun Technol, pp 1–5. https://doi.org/10.1109/CONECCT50063.2020.9198494

  18. Suhail KMA et al (2021) Stock market trading based on market sentiments and reinforcement learning. Comput Mater Contin 70(1):935–950. https://doi.org/10.32604/cmc.2022.017069

    Article  MathSciNet  Google Scholar 

  19. Subasi A, Amir F, Bagedo K, Shams A, Sarirete A (2021) Stock market prediction using machine learning. Procedia Comput Sci 194(November):173–179. https://doi.org/10.1016/j.procs.2021.10.071

    Article  Google Scholar 

  20. Rouf N et al (2021) Stock market prediction using machine learning techniques: a decade survey on methodologies, recent developments, and future directions. Electronics 10(21):2717. https://doi.org/10.3390/electronics10212717

  21. Raubitzek S, Neubauer T (2022) An exploratory study on the complexity and machine learning predictability of stock market data. Entropy 24(3):332. https://doi.org/10.3390/e24030332

  22. Polamuri SR, Srinivas K, Mohan AK (2019) Stock market prices prediction using random forest and extra tree regression. Int J Recent Technol Eng 8(3):1224–1228. https://doi.org/10.35940/ijrte.C4314.098319

  23. Yang JS, Zhao CY, Yu HT, Chen HY (2020) Use GBDT to predict the stock market. Procedia Comput Sci 174(2019):161–171. https://doi.org/10.1016/j.procs.2020.06.071

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kirti Sharma .

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

Sharma, K., Bhalla, R. (2023). Analyzing Stock Market with Machine Learning Techniques. In: Singh, Y., Verma, C., Zoltán, I., Chhabra, J.K., Singh, P.K. (eds) Proceedings of International Conference on Recent Innovations in Computing. ICRIC 2022. Lecture Notes in Electrical Engineering, vol 1011. Springer, Singapore. https://doi.org/10.1007/978-981-99-0601-7_16

Download citation

  • DOI: https://doi.org/10.1007/978-981-99-0601-7_16

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-99-0600-0

  • Online ISBN: 978-981-99-0601-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics