PreprintCited by 7Sentiment Analysis and Opinion MiningStock Market Forecasting MethodsFinancial Markets and Investment Strategies

The DOI matches its DataCite record.

FinLlama: Financial Sentiment Classification for Algorithmic Trading Applications

Open access

Abstract

There are multiple sources of financial news online which influence market movements and trader's decisions. This highlights the need for accurate sentiment analysis, in addition to having appropriate algorithmic trading techniques, to arrive at better informed trading decisions. Standard lexicon based sentiment approaches have demonstrated their power in aiding financial decisions. However, they are known to suffer from issues related to context sensitivity and word ordering. Large Language Models (LLMs) can also be used in this context, but they are not finance-specific and tend to require significant computational resources. To facilitate a finance specific LLM framework, we introduce a novel approach based on the Llama 2 7B foundational model, in order to benefit from its generative nature and comprehensive language manipulation. This is achieved by fine-tuning the Llama2 7B model on a small portion of supervised financial sentiment analysis data, so as to jointly handle the complexities of financial lexicon and context, and further equipping it with a neural network based decision mechanism. Such a generator-classifier scheme, referred to as FinLlama, is trained not only to classify the sentiment valence but also quantify its strength, thus offering traders a nuanced insight into financial news articles. Complementing this, the implementation of parameter-efficient fine-tuning through LoRA optimises trainable parameters, thus minimising computational and memory requirements, without sacrificing accuracy. Simulation results demonstrate the ability of the proposed FinLlama to provide a framework for enhanced portfolio management decisions and increased market returns. These results underpin the ability of FinLlama to construct high-return portfolios which exhibit enhanced resilience, even during volatile periods and unpredictable market events.

Overview

Integrity signals

Registry

DataCite · 10.48550/arxiv.2403.12285

Cites

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • News data from reputable sources is extensively used in various studies to stay up-to-date with the real-world financial market.

    “This type of data is extensively used in various studies [20, 27, 51, 53, 57] to stay up-to-date with the real-world financial market.”

    From Large Language Model Agent in Financial Trading: A Survey (2026) · cites this paper as [20]

Citations

Cites

Still being checked.

Cited by

Sorted by citations

Metadata

Authors
Konstantinidis, T., Iacovides, G., Xu, M., Constantinides, T. G., & Mandic, D.
Affiliations
Imperial College London (GB)
Venue
arXiv
Publisher
arXiv
Published
2024
OpenAlex
W4393027165
Cited by
6
References
0
Citations by year
2026: 1 · 2025: 5
Type
posted content
Language
en
Open access
Locations
  • RePEc: Research Papers in Economics (submittedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Sentiment Analysis and Opinion Mining
  • Social Sciences › Decision Sciences › Management Science and Operations Research › Stock Market Forecasting Methods
  • Social Sciences › Economics, Econometrics and Finance › Finance › Financial Markets and Investment Strategies
Keywords
financial sentiment analysis, algorithmic trading, Llama 2, large language models, sentiment classification, business news, portfolio management, market returns

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review