Sentiment-driven prediction of financial returns: a Bayesian-enhanced FinBERT approach

Raffaele Giuseppe Cestari, Simone Formentin
3/7/2024
cs.CEcs.AI

No confident code implementation found for this paper.

Abstract

Predicting financial returns accurately poses a significant challenge due to the inherent uncertainty in financial time series data. Enhancing prediction models' performance hinges on effectively capturing both social and financial sentiment. In this study, we showcase the efficacy of leveraging sentiment information extracted from tweets using the FinBERT large language model. By meticulously curating an optimal feature set through correlation analysis and employing Bayesian-optimized Recursive Feature Elimination for automatic feature selection, we surpass existing methodologies, achieving an F1-score exceeding 70% on the test set. This success translates into demonstrably higher cumulative profits during backtested trading. Our investigation focuses on real-world SPY ETF data alongside corresponding tweets sourced from the StockTwits platform.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cestari2024sentimentdriven,
  title  = {Sentiment-driven prediction of financial returns: a Bayesian-enhanced FinBERT approach},
  author = {Raffaele Giuseppe Cestari and Simone Formentin},
  year   = {2024},
  eprint = {2403.04427},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.04427v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.04427.svg)](https://codeofpaper.com/paper/2403.04427)

Discussion