{"title":"Indian Stock Movement Prediction with Global Indices and Twitter Sentiment using Machine Learning","authors":"Shwetha Salimath, Triparna Chatterjee, Titty Mathai, Pooja Kamble, Megha M. Kolhekar","doi":"10.1109/CSI54720.2022.9924056","DOIUrl":null,"url":null,"abstract":"In recent times, there is great interest shown in the stock market activities, for reasons like unpredictability of circumstances due to the pandemic situation. Since stock market procedures are extremely dynamic in nature and it is very challenging to do any kind of prediction, employing Machine Learning algorithms to do so is but natural. We are interested particularly in exploring the situation in Indian Stock Market. In this paper, we describe the implementation of the Long Short-Term Memory (LSTM) network, Gated Recurrent Unit (GRU) networks for stock prediction. The prediction is performed for the closing prices of stocks of twenty-five Indian companies. The results indicate that a two-layer GRU outperforms all other networks as far as these twenty-five companies are concerned. We have predicted the stock market opening of next day using the closing of global market indices, concluding that there is a high correlation between the global and Indian market movement. Work on how the twitter financial sentiment effects the stock market has been performed by predicting the change in price over the week using twitter sentiment. The tweets were divided into three categories, positive, negative, and neutral. We have used support vector machine (SVM), Gradient boost and XGBoost, of which Gradient Boost provided the best results. The accuracies of the methods we have implemented for all the three tasks-predicting stock opening price, using historic data and global indices; range between a good 93% to 99%. In case of prediction using twitter sentiment, it ranges from 85% to 91 % when relevant financial tweets are available. The work has a natural extension to study robustness of our model for the pandemic year 2020-2021; which is currently under progress.","PeriodicalId":221137,"journal":{"name":"2022 International Conference on Connected Systems & Intelligence (CSI)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Connected Systems & Intelligence (CSI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSI54720.2022.9924056","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
In recent times, there is great interest shown in the stock market activities, for reasons like unpredictability of circumstances due to the pandemic situation. Since stock market procedures are extremely dynamic in nature and it is very challenging to do any kind of prediction, employing Machine Learning algorithms to do so is but natural. We are interested particularly in exploring the situation in Indian Stock Market. In this paper, we describe the implementation of the Long Short-Term Memory (LSTM) network, Gated Recurrent Unit (GRU) networks for stock prediction. The prediction is performed for the closing prices of stocks of twenty-five Indian companies. The results indicate that a two-layer GRU outperforms all other networks as far as these twenty-five companies are concerned. We have predicted the stock market opening of next day using the closing of global market indices, concluding that there is a high correlation between the global and Indian market movement. Work on how the twitter financial sentiment effects the stock market has been performed by predicting the change in price over the week using twitter sentiment. The tweets were divided into three categories, positive, negative, and neutral. We have used support vector machine (SVM), Gradient boost and XGBoost, of which Gradient Boost provided the best results. The accuracies of the methods we have implemented for all the three tasks-predicting stock opening price, using historic data and global indices; range between a good 93% to 99%. In case of prediction using twitter sentiment, it ranges from 85% to 91 % when relevant financial tweets are available. The work has a natural extension to study robustness of our model for the pandemic year 2020-2021; which is currently under progress.