Social Media and Sentiment Analysis of Nifty 50 Index

Main Article Content

Neelam Rani
Akshay Akshay
Md Bilal Shakir

Abstract

Now-a-days, micro blogging social media platforms such as twitter, foursquare, ello etc. are used extensively by a diverse range of users to express their explicit opinions about a diverse range of topics on the internet. This paper aims to collect this freely available data using web scraping techniques and analyse it to assess the general sentiment prevailing in the market regarding the Nifty 50 index. Opinions are collected explicitly from twitter using the twitter application program interface (APl). A total of 154,398 tweets were collected and analysed to calculate the proportion of positive sentiment in the markets between Jan. 1, 2016 and Dec. 31, 2017. For assessing the sentiment of a given sentence, SentiWordNet, a lexical resource for opinion mining, was used. The average sentiment for all the tweets is calculated to assess the general sentiment prevailing in the market about the Nifty 50 index on a particular day.To understand the relationship between both the variables, linear regression analysis is performed, whereby, natural log of Nifty 50 index has been taken as the dependent variable and 10 days Moving Average (10MA) of proportion of positive sentiments as the independent variable. Based on the regression analysis, the coefficient of regression was obtained as -0.602 and its p-value was obtained as 0.00, indicating that there is a significant relationship between the 10MA of proportion of positive sentiments and natural log of Nifty 50 index. As the p-value of the regression is significant, it gives us a scope to do further analysis on the collected data. If significant, traders can have an additional tool in their technical analysis kit.

Article Details

Section
Articles
Author Biography

Neelam Rani, Indian Institute of Management Shillong

Dr. Rani is doctorate from Indian Institute of Technology Delhi. She got Fulbright Doctoral and Professional Fellowship at Rutgers Business School, USA. Dr. Rani is a graduate in Mathematics; MBA (Finance). Besides, Dr. Rani is MA (Eco.), MPhil (Eco.) and MCA. Dr. Rani has total work experience of more than 20 years covering academic, research and industry. She is recipient of various awards such as NSE prize for Best Thesis in Financial Economics, outstanding paper awards by Amity International Business School, Noida in 2013 and Indian Institute of Capital Markets, Mumbai in 2014. She has been awarded 3E Innovative Young Researcher Award. She has been awarded various travel grants such as IDRC Young Researcher Grant 2014, CSIR 2008 and 2012, ICSSR 2008, UGC 2010 and 2013. Dr. Rani has co-authored a book on Mergers and Acquisitions published by Springer. Dr. Rani has published research papers in the journals of international repute.

References

N G Barnes A M Lescault S Wright 'Fortune 500 Are Bullish on Social Media: Big Companies Get Excited About Google+, Instagram, Foursquare and Pinterest (2013) Working Paper, Charlton College of Business Center for Marketing Research, University of Massachusetts Dartmouth

J, Bollen H, Mao and X Zeng, 'Twitter mood predicts the stock market' (2011) 2 Journal of Computational Science, 1

W He L Guo J Shen and V Akula, 'Social Media-Based Forecasting: A Case Study of Tweets and Stock Prices in the Financial Services Industry'(2016) 28 Journal of Organizational and End User Computing 74

D J Hilton, 'The Psychology of Financial Decision-Making: Applications to Trading, Dealing, and Investment Analysis' (2001) 2 The Journal of Psychology and Financial Markets, 37

B Li K Chan C Ou and R Sun, 'Discovering public sentiment in social media for predicting stock movement

of publicly listed companies' (2017) 69 Information Systems 81

J R Nofsinger, 'Social mood and financial economics' (2005) 6 The Journal of Behavioral Finance 144

S Y Yang, Y S Kevin Mo, A Liu, 'Twitter financial community sentiment and its predictive relationship to stock market movement' (2015) 15 Journal of Quantitative Finance 1637