Enhanced financial sentiment analysis and trading strategy development using large language models

Proceedings of the 14th Workshop on Computational Approaches to Subjectivity, Sentiment, & Social Media Analysis, pages 1–10; August 15, 2024

https://aclanthology.org/2024.wassa-1.1/

10 Pages Posted: 19 Mar 2025 Last revised: 27 Mar 2025

See all articles by Kemal Kirtac

Kemal Kirtac

University College London

Guido Germano

University College London; London School of Economics and Political Science

Date Written: March 15, 2025

Abstract

We proposes a novel methodology for enhanced financial sentiment analysis and trading strategy development using large language models (LLMs) such as OPT, BERT, FinBERT, LLAMA 3 and RoBERTa. Utilizing a dataset of 965,375 U.S. financial news articles from 2010 to 2023, our research demonstrates that the GPT-3-based OPT model significantly outperforms other models, achieving a prediction accuracy of 74.4% for stock market returns. Our findings reveal that the advanced capabilities of LLMs, particularly OPT, surpass traditional sentiment analysis methods, such as the Loughran-McDonald dictionary model, in predicting and explaining stock returns. For instance, a self-financing strategy based on OPT scores achieves a Sharpe ratio of 3.05 over our sample period, compared to a Sharpe ratio of 1.23 for the strategy based on the dictionary model. This study highlights the superior performance of LLMs in financial sentiment analysis, encouraging further research into integrating artificial intelligence and LLMs in financial markets.

Suggested Citation

Kirtac, Kemal and Germano, G., Enhanced financial sentiment analysis and trading strategy development using large language models (March 15, 2025).
Proceedings of the 14th Workshop on Computational Approaches to Subjectivity, Sentiment, & Social Media Analysis, pages 1–10; August 15, 2024
, https://aclanthology.org/2024.wassa-1.1/, Available at SSRN: https://ssrn.com/abstract=5181105

Kemal Kirtac (Contact Author)

University College London ( email )

Department of Computer Science
66-72 Gower Street
London, WC2A 2AE
United Kingdom

G. Germano

University College London ( email )

Department of Computer Science
66-72 Gower Street
London, WC1E 6EA
United Kingdom
+44 20 3108 7105 (Phone)
+44 20 7387 1397 (Fax)

HOME PAGE: http://www.cs.ucl.ac.uk/staff/g.germano

London School of Economics and Political Science ( email )

Systemic Risk Centre
Houghton Street
London, WC2A 2AE
United Kingdom
+44 20 3108 7105 (Phone)
+44 20 7387 1397 (Fax)

HOME PAGE: http://www.systemicrisk.ac.uk/people/guido-germano

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
254
Abstract Views
2,046
Rank
260,712
PlumX Metrics