Back to search

Universidade do Minho

Mining social media sentiment to forecast stock market behavior

Abstract

dc:description.abstract

This thesis proposes a novel and fast procedure for creating stock market lexicons based on statistical measures applied over a vast set of labeled messages from a stock market microblog (StockTwits). Using StockTwits, we show that the new lexicons are competitive for measuring investor sentiment when compared with six popular lexicons. This thesis also presents a robust methodology to assess the value of microblogging data to forecast stock market variables: returns, volatility and trading volume of diverse indices and portfolios. The methodology uses sentiment and attention indicators extracted from microblogs. Such indicators were obtained using a large Twitter data set and the proposed financial microblog lexicon. The methodology also includes the usage of survey indices, several forms to aggregate sentiment indicators, a Kalman Filter to merge microblog and survey sources, a realistic rolling windows evaluation, several Machine Learning methods and the Diebold-Mariano test to validate if the sentiment and attention based predictions are valuable when compared with an autoregressive baseline. Experimental results show that Twitter sentiment and posting volume were relevant for forecasting the returns of the S&P 500 index, portfolios of lower market capitalization and some industries. Additionally, Kalman Filter sentiment was informative for the forecasting of returns. Moreover, Twitter and Kalman Filter sentiment indicators were useful for the prediction of some survey sentiment indicators. These results confirm the utility of microblogging data for financial decision support systems, allowing the prediction of stock market behavior and providing a valuable alternative for existing survey measures with advantages (e.g., fast and cheap creation, daily frequency).

Degree

thesis:*
Name thesis:degree_name
Doutoramento em Tecnologias e Sistemas de Informação
Grantor
Universidade do Minho
Year dc:date.issued
2017

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Oliveira, Nuno Miguel da Rocha
Advisors dc:contributor.advisor
  • Cortez, Paulo
  • Areal, Nelson

Rights

dc:rights
Statement dc:rights
  • openAccess
Language dc:language.iso
por

Identifiers

dc:identifier.*
Dc Identifier Tid
101540680

Chain of custody

source
Harvested from
Universidade do Minho
Base URL
repositorium.sdum.uminho.pt/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Oliveira, Nuno Miguel da Rocha. Mining social media sentiment to forecast stock market behavior. Universidade do Minho, 2017. https://hdl.handle.net/1822/58341