← Back to blog

Sentiment Analysis for Investing: Why OPT and FinBERT Aren’t Enough

October 10, 2026
Sentiment Analysis for Investing: Why OPT and FinBERT Aren’t Enough

Sentiment analysis can meaningfully improve investment decisions, but only when it's tested rigorously, combined with other signals, and run through a disciplined process, rather than treated as a standalone tip. Recent research shows large language models like OPT and FinBERT outperform older dictionary-based scoring by a wide margin. The practical move: treat sentiment as a quantified input inside rules, not a reason to trade on its own.


TL;DR:

  • Cross-check textual sentiment with an independent source, especially options data, because social posts can be manipulated while options activity reflects capital at risk.
  • Match signal timing to the trade: execute trades reacting to events the same day or next day, while aggregated sentiment trends suit multiweek holdings.
  • Backtest out of sample with transaction costs of 10 to 50 basis points per trade, then test across market regimes before committing capital.
  • OPT’s long short strategy returned 355% with a Sharpe ratio near 3.05 from August 2021 to July 2023, but live costs can reduce returns.
  • Keep model versions and data sources documented, monitor performance for drift, and require human review before an untested signal changes a live allocation.

StockPilot
stockpilot.io
Put Sentiment in a Rules-Based Portfolio
StockPilot combines sentiment with market, fundamental, technical, and statistical data to guide portfolio changes through predefined investment and risk criteria.
Explore StockPilot

Table of Contents

What Sentiment Analysis Is and Where It Fits in Your Process

Sentiment analysis converts text, headlines, social posts, earnings call transcripts, or market activity into a polarity score or a continuous number that estimates how positive or negative the market feels about a stock, sector, or the broader market. That score becomes useful only once it's plugged into a workflow with rules around it.

Most investors use sentiment in one of three ways:

  • As a short-term signal that flags unusual attention or tone shifts around a stock before or after an event
  • As a filter that screens out trades when sentiment contradicts a fundamental or technical setup
  • As an input into portfolio construction, where sentiment adjusts position weights alongside valuation and momentum data

The tools behind these scores range widely in sophistication. The Loughran-McDonald dictionary counts finance-specific positive and negative words, a fast but blunt approach. FinBERT, a transformer model trained specifically on financial text, reads context and nuance that word counting misses. Some portfolio systems, including StockPilot's rules-based model, fold sentiment into a broader governance structure alongside fundamental, technical, and statistical data rather than acting on sentiment alone.

Where Sentiment Data Actually Comes From

Sentiment scores are only as good as the raw material feeding them, and that material varies enormously in quality, speed, and cost.

Newswire and financial press headlines offer the advantage of editorial filtering: a Reuters or Bloomberg headline has already passed through a layer of fact-checking, which cuts down on noise but can also mean the signal arrives after the fastest traders have already moved. Social media and forum data move faster, sometimes minutes ahead of news wires, but volume and velocity on platforms like X or Reddit can be gamed, and a sudden spike in mentions doesn't always mean informed money is behind it.

News and social feeds entering sentiment analysis

Options and market-based signals work differently: put-call ratios, implied volatility skew, and unusual options volume reflect actual capital at risk rather than opinions, which gives them a different kind of credibility than text-based sentiment. Options flow and similar market-based signals are worth cross-referencing against textual sentiment rather than relying on either alone.

Beyond these, earnings call transcripts, analyst notes, and proprietary vendor feeds round out the picture, though each requires scrutiny of data provenance and licensing terms before it goes into any model.

  • Newswire sentiment is filtered but can lag the fastest-moving signals
  • Social sentiment moves quickly but carries real manipulation risk
  • Options-based signals reflect capital commitments, not just opinions

Pro Tip: Cross-check at least two independent sentiment sources before acting on any single signal; agreement between a textual score and an options-based proxy carries more weight than either alone.

Dictionary Scores, Machine Learning, and Transformer Models Compared

Three broad approaches dominate sentiment analysis for investing, and they differ sharply in accuracy, cost, and complexity.

Dictionary methods like Loughran-McDonald assign fixed positive or negative weights to finance-specific words. They're fast, transparent, and cheap to run, but they miss context entirely: a sentence like "losses narrowed" reads as negative to a word-counter even though it's genuinely good news.

Supervised machine learning and topic-model screening improve on this by training models directly on historical return data, learning which words and phrases actually predicted price moves rather than relying on a fixed list. A supervised, return-targeted sentiment model built on news text outperformed off-the-shelf vendor scores and produced economically meaningful gains in long-short strategies out of sample.

Transformer-based LLMs, including BERT, FinBERT, and OPT, go further still by reading full sentences in context rather than isolated words or phrases.

Statistic callout: An OPT-based long-short trading strategy produced a very large cumulative gain with a Sharpe ratio near 3.05 over a recent sample window, substantially ahead of dictionary and earlier model benchmarks tested over the same period. That gap comes with real trade-offs: transformer models cost more to run, introduce latency, and demand governance that a dictionary lookup never required.

  • Dictionary methods: fast and cheap, but context-blind
  • Supervised ML: tailored to returns, more interpretable than black-box LLMs
  • Transformer LLMs: highest accuracy in recent studies, but costlier and harder to govern

Converting any of these outputs into a usable signal means normalizing scores into a consistent range, often negative one to positive one, then testing whether that score correlates with forward returns before it ever touches a live portfolio.

How to Put Sentiment Signals to Work in Your Portfolio

Turning a sentiment score into an investment decision requires matching the signal's horizon to the right kind of trade.

  1. Match the horizon to the trade type. Short-horizon event trades, reacting to an earnings surprise or a sudden news spike, call for same-day or next-day execution, while medium-horizon tilts based on aggregated sentiment trends suit a multi-week holding period.
  2. Choose an integration template. Sentiment can act as a binary filter that blocks trades when tone contradicts the setup, as a weighted input alongside fundamental and technical scores, or as a formal view inside a Black-Litterman allocation model, where FinBERT-derived sentiment scores have been used to generate inputs that improved short-term price forecasts in tested examples.
  3. Set position-sizing and turnover rules before you trade. Conservative transaction-cost assumptions, generally in the range of 10 to 50 basis points per trade, prevent a strategy that looks profitable on paper from losing money once real-world costs are applied.
  4. Run a testing checklist before committing capital. Out-of-sample backtesting, conservative cost assumptions, and sensitivity analysis across different market regimes separate a durable signal from one that only worked in a lucky sample period.

Investors who want a structured way to translate a thesis like this into testable rules can look at how a quantamental investing framework converts qualitative ideas into quantified, rules-based criteria.

Pro Tip: Test equal-weighted and value-weighted versions of any sentiment-driven portfolio separately; equal-weighting often reveals a stronger signal that gets diluted in value-weighted tests.

What the Research Actually Shows About Sentiment-Driven Returns

The strongest evidence for sentiment analysis in investing comes from a handful of rigorous academic studies, and the results vary meaningfully depending on the model and methodology used.

The LSE study comparing OPT, BERT, FinBERT, and dictionary-based models found that the OPT-based long-short strategy generated a 355% cumulative return with a Sharpe ratio of roughly 3.05 over the August 2021 to July 2023 sample window, well ahead of the older models tested in the same study.

Statistic callout: A supervised text-mining framework applied to Dow Jones Newswires outperformed commercial vendor sentiment scores, delivering economically significant gains in a long-short strategy built on screening and penalized topic modeling rather than off-the-shelf tools.

These results come with caveats that matter for anyone trying to replicate them:

  • Sample periods in both studies cover specific windows and market regimes that may not repeat
  • Reported returns typically don't fully account for real-world liquidity constraints or shorting costs
  • Transaction costs in live trading often exceed the conservative assumptions used in academic backtests

The direction of the evidence is consistent: newer, context-aware models beat older dictionary approaches, and supervised, return-targeted builds tend to beat generic commercial scores. The magnitude of those gains in live trading will typically run below what a clean academic backtest reports.

Where Sentiment Signals Can Mislead You

Sentiment data carries real failure modes that deserve the same scrutiny as any other input to a portfolio decision.

Model risk sits at the top of the list. LLMs can hallucinate, generating confident-sounding interpretations of text that don't reflect what was actually said, and models trained on historical data can overfit to patterns that were pure coincidence rather than genuine signal. Governance frameworks for AI-driven investment tools increasingly call for retraining windows, drift detection, and a human review step before any model output triggers a live capital allocation change.

Data risk compounds the problem. Social media sentiment can be skewed by coordinated manipulation and spam volume, and vendor quality varies widely even among firms selling similar-sounding sentiment products.

The practical controls that address both risks:

  • Validate any single sentiment signal against at least one independent source before acting on it
  • Keep a versioned record of which model version produced which signal, and audit it periodically
  • Size positions conservatively when a signal is new or untested, and run stress tests across different market regimes

None of this means sentiment data is unreliable. It means it behaves like any other noisy input: valuable in aggregate, dangerous in isolation.

A Practical Checklist for Adopting Sentiment Analysis

Adopting sentiment analysis responsibly comes down to a short sequence most investors can follow without a data science background.

  1. Start with a specific hypothesis. "Negative sentiment spikes around earnings predict a short-term pullback" is testable; "sentiment matters" is not.
  2. Backtest out of sample with conservative costs. Run the test on data the model never saw during development, and apply transaction cost assumptions on the higher end of realistic ranges.
  3. Watch for signal drift over time. A sentiment model's accuracy can degrade as language, platforms, and market structure shift, so recheck performance on a regular schedule.
  4. Build in governance from day one. Track data provenance, document model versions, and revalidate periodically rather than treating a working model as finished.

Open models like FinBERT and vetted data vendors offer a reasonable starting point for investors who want to experiment without building infrastructure from scratch. Reviewing how auditability gets built into AI-driven portfolio management is a useful reference point before adopting any sentiment-based process.

Pro Tip: Document every assumption behind a sentiment-based rule before you trade it live; the rule you can't explain in one sentence is the rule most likely to fail silently.

How We Treat Sentiment Inside a Rules-Based Portfolio

We built our system to treat sentiment as one input among several, never a trigger on its own. Market, fundamental, technical, sentiment, and statistical data all feed the same evaluation process behind our 19-position model portfolio, which combines six income positions with 13 AI-selected growth positions. When predefined risk criteria call for a change, a clear after-hours alert is issued, and during unfavorable conditions capital can be shifted toward Treasury ETFs rather than ride out a downturn fully exposed.

— David Elliot

A Rules-Based Way to Put Sentiment Analysis to Work

We offer a Premium subscription for investors who want sentiment data working inside a disciplined process rather than spending hours interpreting headlines and social feeds themselves. Subscribers mirror a transparent 19-position model portfolio in their own brokerage accounts, combining income-producing positions with AI-selected growth picks, while the service handles continuous evaluation of sentiment alongside fundamental, technical, and statistical signals.

StockPilot

Every change we recommend arrives as a clear after-hours alert tied to predefined criteria, not a prediction or a hot tip, and you retain full control of your account and every trade. Explore how StockPilot Premium works and review our risk disclosure before you get started, or see current pricing to find the plan that fits.

This article is general information, not a substitute for advice from a qualified financial advisor. Consult a qualified financial professional about your own circumstances before acting on anything here.

FAQ

What is Warren Buffett's 70/30 rule?

Definitions of this rule vary across sources, and it isn't a formally published Buffett policy so much as a popularized heuristic attributed to his general investing philosophy.

Is sentiment analysis still relevant for investors?

Yes, sentiment analysis remains relevant, and recent research shows it has gotten more powerful rather than less. Studies comparing transformer-based models like OPT and FinBERT against older dictionary methods found the newer models produced significantly stronger trading results in sample, suggesting the technique's value is growing as the models improve.

Can ChatGPT do a sentiment analysis?

General-purpose language models can generate sentiment-style interpretations of text, but finance-specific transformer models like FinBERT are trained directly on financial language and tend to score financial sentiment with more domain accuracy. For investment decisions, a model purpose-built for financial text and validated against return data is the more reliable choice over a general-purpose chatbot.

What percentage of Americans have over $100,000 in the stock market?

We don't have a sourced figure for this specific threshold and won't state one without a direct citation. What's well established is that equity market participation and account balances vary widely by age, income, and retirement savings stage, so any single percentage would need its own clearly named source to be trustworthy.

Sources