IDEAS home Printed from https://ideas.repec.org/a/spr/ijsaem/v14y2023i4d10.1007_s13198-023-01934-z.html
   My bibliography  Save this article

Analysis and prediction of Indian stock market: a machine-learning approach

Author

Listed:
  • Shilpa Srivastava

    (Christ (Deemed to be University), Delhi NCR)

  • Millie Pant

    (IIT Roorkee)

  • Varuna Gupta

    (Christ (Deemed to be University), Delhi NCR)

Abstract

Prediction of financial stock market is a challenging task because of its volatile and non- linear nature. The presence of different factors like psychological, sentimental state, rational or irrational behaviour of investors make the stock market more dynamic. With the inculcation of algorithms based on artificial intelligence, deep learning algorithms, the prediction of movement of financial stock market is revolutionized in the recent years. The purpose of using these algorithms is to help the investors for taking decisions related to the Stock Pricing. A model has been proposed to predict the direction of movement of Indian stock market in the near future. This model makes use of historical Indian stock data of companies in nifty 50 since they came existence along with some financial and social indicators like financial news and tweets related to stocks. After pre-processing and normalization various machine learning algorithms like LSTM, support vector machines, KNearest neighbour, random forest, gradient boosting regressor are applied on this time series data to produce better accuracy and to minimize the RMSE error. This model has the ability to reduce major losses to the investors who invest in stock market. The social indicators will give an insight for predicting the direction of stock market. The LSTM network will make use of historical closing prices, tweets and trading volume.

Suggested Citation

  • Shilpa Srivastava & Millie Pant & Varuna Gupta, 2023. "Analysis and prediction of Indian stock market: a machine-learning approach," International Journal of System Assurance Engineering and Management, Springer;The Society for Reliability, Engineering Quality and Operations Management (SREQOM),India, and Division of Operation and Maintenance, Lulea University of Technology, Sweden, vol. 14(4), pages 1567-1585, August.
  • Handle: RePEc:spr:ijsaem:v:14:y:2023:i:4:d:10.1007_s13198-023-01934-z
    DOI: 10.1007/s13198-023-01934-z
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s13198-023-01934-z
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s13198-023-01934-z?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Sharma, Chandradew & Banerjee, Kinjal, 2015. "A study of correlations in the stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 432(C), pages 321-330.
    2. Renault, Thomas, 2017. "Intraday online investor sentiment and return patterns in the U.S. stock market," Journal of Banking & Finance, Elsevier, vol. 84(C), pages 25-40.
    3. Thomas Renault, 2017. "Intraday online investor sentiment and return patterns in the U.S. stock market," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) hal-03205113, HAL.
    4. Liu, Qingbai & Wang, Chuanjie & Zhang, Ping & Zheng, Kaixin, 2021. "Detecting stock market manipulation via machine learning: Evidence from China Securities Regulatory Commission punishment cases," International Review of Financial Analysis, Elsevier, vol. 78(C).
    5. Chandradew Sharma & Kinjal Banerjee, 2015. "A Study of Correlations in the Stock Market," Papers 1504.05844, arXiv.org.
    6. Sun, Andrew & Lachanski, Michael & Fabozzi, Frank J., 2016. "Trade the tweet: Social media text mining and sparse matrix factorization for stock market prediction," International Review of Financial Analysis, Elsevier, vol. 48(C), pages 272-281.
    7. Lee, Hsiu-Chuan & Lee, Yun-Huan & Lu, Yang-Cheng & Wang, Yu-Chun, 2020. "States of psychological anchors and price behavior of Japanese yen futures," The North American Journal of Economics and Finance, Elsevier, vol. 51(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Fan, Rui & Talavera, Oleksandr & Tran, Vu, 2023. "Information flows and the law of one price," International Review of Financial Analysis, Elsevier, vol. 85(C).
    2. Santi, Caterina, 2023. "Investor climate sentiment and financial markets," International Review of Financial Analysis, Elsevier, vol. 86(C).
    3. Na, Haejung & Kim, Soonho, 2021. "Predicting stock prices based on informed traders’ activities using deep neural networks," Economics Letters, Elsevier, vol. 204(C).
    4. Mohammad Alomari & Abdel Razzaq Al rababa’a & Ghaith El-Nader & Ahmad Alkhataybeh, 2021. "Who’s behind the wheel? The role of social and media news in driving the stock–bond correlation," Review of Quantitative Finance and Accounting, Springer, vol. 57(3), pages 959-1007, October.
    5. Shaen Corbet & Yang (Greg) Hou & Yang Hu & Les Oxley, 2022. "We Reddit in a Forum: The Influence of Message Boards on Firm Stability," Review of Corporate Finance, now publishers, vol. 2(1), pages 151-190, March.
    6. Shen, Yiran & Liu, Chang & Sun, Xiaolei & Guo, Kun, 2023. "Investor sentiment and the Chinese new energy stock market: A risk–return perspective," International Review of Economics & Finance, Elsevier, vol. 84(C), pages 395-408.
    7. Thomas Renault, 2020. "Sentiment analysis and machine learning in finance: a comparison of methods and models on one million messages," Digital Finance, Springer, vol. 2(1), pages 1-13, September.
    8. Seok, Sangik & Cho, Hoon & Ryu, Doojin, 2022. "Scheduled macroeconomic news announcements and intraday market sentiment," The North American Journal of Economics and Finance, Elsevier, vol. 62(C).
    9. Smita Roy Trivedi, 2024. "Into the Unknown: Uncertainty, Foreboding and Financial Markets," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 31(1), pages 1-23, March.
    10. repec:hal:journl:hal-04660083 is not listed on IDEAS
    11. Song, Ziyu & Yu, Changrui, 2022. "Investor sentiment indices based on k-step PLS algorithm: A group of powerful predictors of stock market returns," International Review of Financial Analysis, Elsevier, vol. 83(C).
    12. Rui Fan & Oleksandr Talavera & Vu Tran, 2023. "Social media and price discovery: The case of cross‐listed firms," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 46(1), pages 151-167, February.
    13. Simon Porcher & Thomas Renault, 2021. "Social distancing beliefs and human mobility: Evidence from Twitter," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-12, March.
    14. Salman Bahoo & Marco Cucculelli & Xhoana Goga & Jasmine Mondolo, 2024. "Artificial intelligence in Finance: a comprehensive review through bibliometric and content analysis," SN Business & Economics, Springer, vol. 4(2), pages 1-46, February.
    15. Gao, Ya & Han, Xing & Li, Youwei & Xiong, Xiong, 2019. "Overnight momentum, informational shocks, and late informed trading in China," International Review of Financial Analysis, Elsevier, vol. 66(C).
    16. Seok, Sang Ik & Cho, Hoon & Ryu, Doojin, 2021. "Stock Market’s responses to intraday investor sentiment," The North American Journal of Economics and Finance, Elsevier, vol. 58(C).
    17. Jing Zhou & Silin Ye & Wei Lan & Yunwen Jiang, 2021. "The effect of social media on corporate violations: Evidence from Weibo posts in China," International Review of Finance, International Review of Finance Ltd., vol. 21(3), pages 966-988, September.
    18. Karam KIM & Doojin RYU, 2020. "Predictive ability of investor sentiment for the stock market," Journal for Economic Forecasting, Institute for Economic Forecasting, vol. 0(4), pages 33-46, December.
    19. Söhnke M. Bartram & Jürgen Branke & Mehrshad Motahari, 2020. "Artificial intelligence in asset management," Working Papers 20202001, Cambridge Judge Business School, University of Cambridge.
    20. Szymon Lis, 2022. "Investor Sentiment in Asset Pricing Models: A Review," Working Papers 2022-14, Faculty of Economic Sciences, University of Warsaw.
    21. Kommel, Karl Arnold & Sillasoo, Martin & Lublóy, Ágnes, 2019. "Could crowdsourced financial analysis replace the equity research by investment banks?," Finance Research Letters, Elsevier, vol. 29(C), pages 280-284.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:ijsaem:v:14:y:2023:i:4:d:10.1007_s13198-023-01934-z. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.