Sentiment trading with large language models
We analyse the performance of the large language models (LLMs) OPT, BERT, and FinBERT, alongside the traditional Loughran-McDonald dictionary, in the sentiment analysis of 965,375 U.S. financial news articles from 2010 to 2023. Our findings reveal that the GPT-3-based OPT model significantly outperforms the others, predicting stock market returns with an accuracy of 74.4%. A long-short strategy based on OPT, accounting for 10 basis points (bps) in transaction costs, yields an exceptional Sharpe ratio of 3.05. From August 2021 to July 2023, this strategy produces an impressive 355% gain, outperforming other strategies and traditional market portfolios. This underscores the transformative potential of LLMs in financial market prediction and portfolio management and the necessity of employing sophisticated language models to develop effective investment strategies based on news sentiment.
| Item Type | Article |
|---|---|
| Keywords | artificial intelligence investment strategies,generative pre-trained transformer (GPT),large language models,machine learning in stock return prediction,natural language processing (NLP) |
| Departments |
Management Systemic Risk Centre |
| DOI | 10.1016/j.frl.2024.105227 |
| Date Deposited | 09 Apr 2024 14:21 |
| URI | https://researchonline.lse.ac.uk/id/eprint/122592 |
Explore Further
- http://www.scopus.com/inward/record.url?scp=85188957331&partnerID=8YFLogxK (Scopus publication)
- https://www.systemicrisk.ac.uk/people/guido-germano (Author)
- https://www.sciencedirect.com/journal/finance-rese... (Official URL)
