Sentiment, Emotions and Stock Market Predictability in Developed and Emerging Markets

Date
2020-04-02
Authors
Rossouw, S
Greyling, T
Steyn, D
Supervisor
Item type
Discussion Paper
Degree name
Journal Title
Journal ISSN
Volume Title
Publisher
Global Labor Organization
Abstract

This paper investigates the predictability of stock market movements using text data extracted from the social media platform, Twitter. We analyse text data to determine the sentiment and the emotion embedded in the Tweets and use them as explanatory variables to predict stock market movements. The study contributes to the literature by analysing high-frequency data and comparing the results obtained from analysing emerging and developed markets, respectively. To this end, the study uses three different Machine Learning Classification Algorithms, the Naïve Bayes, K-Nearest Neighbours and the Support Vector Machine algorithm. Furthermore, we use several evaluation metrics such as the Precision, Recall, Specificity and the F-1 score to test and compare the performance of these algorithms. Lastly, we use the K-Fold Cross-Validation technique to validate the results of our machine learning models and the Variable Importance Analysis to show which variables play an important role in the prediction of our models. The predictability of the market movements is estimated by first including sentiment only and then sentiment with emotions. Our results indicate that investor sentiment and emotions derived from stock market-related Tweets are significant predictors of stock market movements, not only in developed markets but also in emerging markets.

Description
Keywords
Sentiment Analysis; Classification; Stock Prediction; Machine Learning
Source
GLO Discussion Paper, No. 502, Global Labor Organization (GLO), Essen
DOI
Rights statement
EconStor supports Green Open Access. All papers on EconStor are made freely available without restrictions or embargo periods. Publication on EconStor is based on usage agreements with authors or the editors/publishers of a series or journal. Authors' copyrights are safeguarded. Publication on EconStor does not inhibit further publication of the documents in journals or on other document servers. Disseminating publications with EconStor is free for publishers and authors (FAQ).