News Sentiment Trading Strategy Backtest: 75,456 Headlines, No Better Than Shuffled Scores
Our news sentiment trading strategy backtest scored 75,456 headlines across 1,490 trading days. It matched shuffled scores, and inverting it failed too.
In our news sentiment trading strategy backtest, the real sentiment scores did no better than the same scores shuffled at random. We scored 75,456 headlines and traded what the record calls a “naive long/short” on them across the record’s 1,490 trading days. Out of sample, after costs, it posted Sharpe ratios of −0.44 and −0.58. The same strategy on shuffled scores averaged −0.60, and an inverted version of the signal failed the same test in all four runs.
So this page is less about sentiment than about method: how to show a signal has no edge. Each check below answers an objection a reader would raise, and each has a number from the record attached.
Every figure on this page is a backtest simulation — not live results, not a prediction, not advice. The figures come from a desk research record (news_sentiment_results.md, run 2026-07-01) that states its data source and trading-day count. No positions, signals or account values appear on this page, and it isn’t a verdict on any commercial sentiment product.
What was tested
The record’s header gives the source and the window. The other rows come from the record’s own lines:
| Parameter | As the record states it |
|---|---|
| News source | Alpaca/Benzinga news, via Alpaca |
| Articles scored | 75,456 |
| Window (header) | 2018-11-01 → 2026-06-30 (1,490 trading days) |
| Sentiment scorers | Loughran–McDonald (LM) word lists and FinBERT |
| Timing | every scored headline published before its trade day’s 09:30 ET open |
| Strategy | a “naive long/short” on the sentiment score |
| Evaluation | cost-aware walk-forward, out of sample, in two window modes |
| Control | the same strategy on shuffled sentiment scores |
One line in that header doesn’t add up. The 2018-11-01 → 2026-06-30 window holds 1,923 NYSE sessions (per the exchange_calendars library), not 1,490, and the excerpt doesn’t say which 1,490 days the results cover. So this page gives the results’ period as the record’s 1,490 trading days, not the full window. Our opening-range breakout post shows why that check matters.
LM is a dictionary approach that counts positive and negative finance words. FinBERT is a language model tuned for financial text. The excerpt doesn’t give the stock universe, the holding period, the cost level, how many times the scores were shuffled, or what the two window modes are. We don’t fill those in. Every figure below belongs to this one design.
Check 1: no headline may arrive after the trade
A sentiment backtest that lets a headline published at 10:15 inform a trade at the 09:30 open is trading on the future, and it can look brilliant. So the first check runs before any return is computed. The record, verbatim:
Look-ahead audit: 0 violations in both window modes — every scored headline was published before its trade day’s 09:30 ET open. The firewall held.
The audit itself is a single comparison per headline. Here’s a simplified version:
# Illustrative, not the desk's code: count headlines published at or after their
# trade day's 09:30 ET open. The firewall holds only if the count is zero.
import pandas as pd
def lookahead_violations(news: pd.DataFrame) -> int:
open_et = (pd.to_datetime(news["trade_date"]) + pd.Timedelta(hours=9, minutes=30)
).dt.tz_localize("America/New_York")
return int((news["published_at"] >= open_et).sum())
news = pd.DataFrame({
"published_at": pd.to_datetime(["2026-06-29 08:55", "2026-06-29 09:41"]
).tz_localize("America/New_York"),
"trade_date": ["2026-06-29", "2026-06-29"],
})
print(lookahead_violations(news)) # 1: the 09:41 headline leaked into its own trade day
A zero doesn’t make a strategy good. It rules out leaked timestamps as the explanation for any result.
Check 2: beat the shuffled version, not zero
A Sharpe of −0.44 says the strategy lost money, not why. The random control answers that: shuffle the scores so they lose any link to returns, rerun the identical strategy with identical costs, and repeat. The spread of results is what costs and luck produce with no information at all. The record’s control row and its reading, verbatim:
| Random-control Sharpe (shuffled sentiment) | mean −0.60, p95 −0.09 | mean −0.60, p95 −0.00 | — |
The out-of-sample Sharpe (−0.44 / −0.58) sits inside the random-control distribution (mean −0.60). The signal is indistinguishable from shuffling the sentiment scores — the losses come from costs and the naive long/short’s slight negative drift, not from any information in the sentiment.
Laid out side by side (the excerpt carries the control row’s values but not its column headers):
| Out-of-sample Sharpe, after costs | Value |
|---|---|
| Sentiment signal, as reported | −0.44 / −0.58 |
| Shuffled-score control, first column | mean −0.60, 95th percentile −0.09 |
| Shuffled-score control, second column | mean −0.60, 95th percentile −0.00 |
To show an edge, the real signal had to finish above the control’s 95th percentile, which only 5% of shuffled runs reach. Both reported figures are below both 95th percentiles. So “it didn’t work” becomes something specific: on this design and these 1,490 trading days, the sentiment carried no information we could detect. Here’s the control as a sketch, run on synthetic scores that contain no information by construction:
# Illustrative, not the desk's code: a shuffled-score control for a signal backtest.
import numpy as np
def sharpe(r):
return np.sqrt(252) * r.mean() / r.std()
def strategy_returns(scores, next_ret, cost):
pos = np.sign(scores) # naive long/short: long if score > 0, short if < 0
return pos * next_ret - cost * np.abs(pos) # simplification: cost charged on every position
def shuffle_control(scores, next_ret, cost, n=1000, seed=1):
rng = np.random.default_rng(seed)
return np.array([sharpe(strategy_returns(rng.permutation(scores), next_ret, cost))
for _ in range(n)])
# Synthetic demo: scores that carry no information about the next day's return.
rng = np.random.default_rng(0)
scores, next_ret = rng.normal(size=1500), rng.normal(0, 0.01, size=1500)
real = sharpe(strategy_returns(scores, next_ret, cost=0.0005))
ctrl = shuffle_control(scores, next_ret, cost=0.0005)
p95 = np.percentile(ctrl, 95)
print(f"real {real:.2f} | control mean {ctrl.mean():.2f}, p95 {p95:.2f}")
print("edge" if real > p95 else "indistinguishable from shuffled scores")
# real -0.89 | control mean -0.78, p95 -0.11
# indistinguishable from shuffled scores
The synthetic numbers only show the mechanics. They aren’t the study’s figures.
Check 3: is there any edge before costs?
The obvious rescue for a loser is to trade the opposite. That only works if, before costs, the signal is reliably wrong. The record tested the gross, pre-cost daily edge for each scorer:
| Scorer | Gross pre-cost daily edge, t-statistic (two values, as reported) |
|---|---|
| Loughran–McDonald | −1.42 / −1.34 |
| FinBERT | −0.16 / −0.19 |
None reaches 2 in absolute value, the usual bar for “probably not noise”. We go through what that bar costs in sample size in our tool-trial protocol. The record’s verdict: “the GROSS pre-cost daily edge is not significant in any case”.
Check 4: “just invert it”, tested
The reasoning, verbatim from the record:
Inverting a losing strategy only wins if the loss is a real anti-signal exceeding costs; it can’t rescue a zero-signal that loses to cost drag.
Flipping a signal flips its gross edge, but the costs don’t flip. Here’s the arithmetic with hypothetical numbers:
# Illustrative arithmetic with hypothetical numbers (not from the study):
# flipping a signal flips its gross edge, but the costs stay.
def net(gross_bps, cost_bps):
return gross_bps - cost_bps
cost = 5.0 # hypothetical cost per trade, bps
for label, gross in [("no signal", 0.0), ("weak anti-signal", -2.0), ("strong anti-signal", -8.0)]:
print(f"{label:<19} original {net(gross, cost):+5.1f} inverted {net(-gross, cost):+5.1f}")
# no signal original -5.0 inverted -5.0
# weak anti-signal original -7.0 inverted -3.0
# strong anti-signal original -13.0 inverted +3.0
Only the last row gets rescued, and it needs an anti-signal bigger than costs. Check 3 found no significant gross edge in either direction. The record still ran the fully inverted signal through the same cost-aware walk-forward:
| Test (record’s order) | Inverted signal, out-of-sample Sharpe | Shuffle-control 95th percentile | Clears the control? |
|---|---|---|---|
| 1 | +0.16 | 0.55 | No |
| 2 | −0.00 | 0.66 | No |
| 3 | +0.40 | 0.91 | No |
| 4 | −0.22 | 0.79 | No |
The record gives a separate control percentile for each inverse test, higher than those in Check 2; the excerpt doesn’t say why. Two inverted runs posted positive Sharpe ratios, but a +0.40 that more than 5% of shuffled runs beat isn’t evidence. In the record’s words: “Inverting does not produce a winner.”
Check 5: swap the scorer
The last objection is “your sentiment model was bad”, so the study scored the same headlines with two unrelated methods. Under LM, it found a faint contrarian pattern:
Bull/bear spectrum: a faint contrarian flicker under LM (fade sentiment extremes) vanished under FinBERT (extreme days ~50/50) — it was scorer noise, not signal.
The Check 3 t-statistics agree. The record’s reading: “LM’s faint anti-lean (t=−1.4) collapses to ~0 under FinBERT → scorer artifact, not market structure.”
Running these checks on your own signal
The order matters, because each check settles a question the next depends on:
- Audit timing first. Zero look-ahead violations before any return is computed.
- Build the shuffled control. Judge the real result against its 95th percentile, not zero.
- Test the gross edge before costs. If |t| is under 2, there’s nothing to invert.
- Invert only an anti-signal that beats costs, and run the inverted version through the same control.
- Re-score with an unrelated method. Keep only a pattern that survives the change.
These checks sit inside the wider sequence in how we validate a strategy. They assume the price and news data have already passed the checks in backtesting mistakes that only real data reveals.
What this does and doesn’t show
It shows that one simple design, a naive long/short on pre-open headline sentiment scored two ways, carried no detectable information over the record’s 1,490 trading days on this news source. It doesn’t show that news sentiment can never inform a strategy: a different universe, holding period or scoring method is a different hypothesis that needs its own control. And it says nothing about any vendor’s sentiment product, since none was tested.
Frequently asked questions
Does a news sentiment trading strategy work?
Ours didn’t. A naive long/short on pre-open headline sentiment, scored with Loughran–McDonald and with FinBERT over the record’s 1,490 trading days, posted out-of-sample Sharpe ratios of −0.44 and −0.58 after costs. Both sat inside the range the same strategy produced on shuffled scores (mean −0.60). That’s one backtest simulation of one simple design. It isn’t a verdict on every sentiment strategy or product, and it isn’t a prediction.
What is a random control in a backtest?
The same strategy, run many times with the same costs and dates on a shuffled copy of the signal. Shuffling breaks the signal’s link to returns, so the results show what costs and chance produce on their own. A real edge has to beat that range, usually its 95th percentile, not just zero.
Can you invert a losing strategy to make it profitable?
Only if the loss comes from a real anti-signal bigger than costs, because flipping a signal flips its gross edge but not its costs. In our backtest the pre-cost edge wasn’t significant for either scorer (every |t| below 2), and the inverted signal failed to clear the shuffled-score control’s 95th percentile in all four tests.
Why test a sentiment signal with two different scorers?
A pattern that appears under one scorer and not another is a property of the scorer, not the market. In our backtest, the Loughran–McDonald word lists showed a faint contrarian lean (t ≈ −1.4) that collapsed to about zero under FinBERT.
Source: desk research record news_sentiment_results.md (run 2026-07-01; Alpaca/Benzinga news, 75,456 articles, 2018-11-01 → 2026-06-30, 1,490 trading days), via pipeline/desk-log/2026-W36.md. On the 1,490-day count, see the note under the first table.
This is educational content about research methodology, not financial advice. Every Sharpe ratio and t-statistic above comes from a historical backtest simulation over the record’s 1,490 trading days. None is a live result, a prediction or a recommendation to trade any strategy. We have no affiliate or commercial relationship with Alpaca or Benzinga.