Uma Abordagem de Análise de Sentimento para a Previsão da Volatilidade de Mercado
A Sentiment Analysis Approach to the Prediction of Market Volatility
A Sentiment Analysis Approach to the Prediction of Market Volatility
@misc{deveikyte2020a,
title = {A Sentiment Analysis Approach to the Prediction of Market Volatility},
author = {Justina Deveikyte and Helyette Geman and Carlo Piccari and Alessandro Provetti},
year = {2020},
eprint = {2012.05906},
archivePrefix = {arXiv},
primaryClass = {q-fin.ST},
url = {https://arxiv.org/abs/2012.05906}
}
Deveikyte, J., Geman, H., Piccari, C., & Provetti, A. (2020). A Sentiment Analysis Approach to the Prediction of Market Volatility [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.05906
DEVEIKYTE J, GEMAN H, PICCARI C, et al. A Sentiment Analysis Approach to the Prediction of Market Volatility[EB/OL]. (2020-12-10)[2026-11-30]. https://arxiv.org/abs/2012.05906.
Resumo
A previsão e quantificação da volatilidade e retornos futuros desempenham um papel importante na modelagem financeira, tanto na otimização de portfólio quanto na gestão de riscos. O processamento de linguagem natural permite atualmente processar notícias e comentários em mídias sociais para detectar sinais de confiança dos investidores. Investigamos a relação entre o sentimento extraído de notícias financeiras e tweets e os movimentos do FTSE100. Investigamos a força da correlação entre as medidas de sentimento em um dado dia e a volatilidade e retornos de mercado observados no dia seguinte. Os resultados sugerem que há evidências de correlação entre o sentimento e os movimentos do mercado de ações: o sentimento capturado a partir de manchetes de notícias pode ser utilizado como um sinal para prever retornos de mercado; o mesmo não se aplica à volatilidade. Além disso, em uma descoberta surpreendente, para o sentimento encontrado em comentários do Twitter, obtivemos um coeficiente de correlação de -0,7 e um valor-p inferior a 0,05, o que indica uma forte correlação negativa entre o sentimento positivo capturado a partir dos tweets em um dado dia e a volatilidade observada no dia seguinte. Desenvolvemos um classificador preciso para a previsão da volatilidade de mercado em resposta à chegada de novas informações, implantando modelagem de tópicos, baseada na Alocação Dirichlet Latente, para extrair vetores de características de uma coleção de tweets e notícias financeiras. As características obtidas foram utilizadas como entrada adicional para o classificador. Graças à combinação de sentimento e modelagem de tópicos, nosso classificador alcançou uma precisão de previsão direcional de volatilidade de 63%.
Prediction and quantification of future volatility and returns play an important role in financial modelling, both in portfolio optimization and risk management. Natural language processing today allows to process news and social media comments to detect signals of investors' confidence. We have explored the relationship between sentiment extracted from financial news and tweets and FTSE100 movements. We investigated the strength of the correlation between sentiment measures on a given day and market volatility and returns observed the next day. The findings suggest that there is evidence of correlation between sentiment and stock market movements: the sentiment captured from news headlines could be used as a signal to predict market returns; the same does not apply for volatility. Also, in a surprising finding, for the sentiment found in Twitter comments we obtained a correlation coefficient of -0.7, and p-value below 0.05, which indicates a strong negative correlation between positive sentiment captured from the tweets on a given day and the volatility observed the next day. We developed an accurate classifier for the prediction of market volatility in response to the arrival of new information by deploying topic modelling, based on Latent Dirichlet Allocation, to extract feature vectors from a collection of tweets and financial news. The obtained features were used as additional input to the classifier. Thanks to the combination of sentiment and topic modelling our classifier achieved a directional prediction accuracy for volatility of 63%.