Context Analytics. A Bridgewise company
← All research
Performance & Benchmarks·Nov 19, 2025 ·Campbell Taylor

Using Twitter Sentiment to Improve Portfolio Construction

Context Analytics is the leader in processing and structuring textual data for sentiment analysis. One of our longest-running and most widely deployed products is the S-Factor® feed. This feed contains a suite of metrics that measures investor sentiment, using social-media-derived text, separated by source.

Among these sources, Twitter (X) remains critical due to its real-time information velocity and rich financial discussion. Our systems read every message containing identifiers from a security’s topic model—including ticker symbols, company names, and related entity references.

Each message is scored for sentiment on a range from –1.000 to +1.000, then aggregated over a 24-hour window. These aggregates are compared against a rolling 20-day historical baseline, producing our S-Factors, which update every minute.

What Is the S-Score?

At the center of the S-Factor suite is the S-Score - a normalized indicator showing how today’s sentiment compares to the asset’s own history.

It is defined as:

S-Score = Exponential 24-hour sentiment sum compared to its 20-day mean (SMean) and volatility (SVolatility)

This exponentially weighted formulation means that messages from the past few minutes carry more influence than those from hours ago. That structure allows the S-Score to:

  • Capture true real-time sentiment pressure
  • Prevent bias from variations in message volume
  • Offer a clean cross-sectional view aligned to each company’s natural sentiment regime

For Open-to-Close predictions, we use 9:10am ET S-Scores; for Close-to-Close performance, we use 3:40pm ET values.

The S-Score has shown predictive power for nearly a decade—particularly in equally weighted quintile portfolios, where high-sentiment securities (Quintile 5) consistently outperform, and low-sentiment names (Quintile 1) underperform.

But in practice, portfolio managers rarely assign equal weights. They size positions based on conviction, magnitude, or signal strength.

This raises a key question:

Can the magnitude of the S-Score itself improve portfolio construction?

From Stock Selection to Portfolio Weighting

To answer this, we ran a simple test.

Step 1 — Traditional Quintiles (Baseline)

We form standard equal-weighted S-Score quintiles using our 3:40pm ET daily signal, evaluating daily Close-to-Close returns.

Step 2 — S-Score Weighted Portfolios (New Approach)

Within each quintile, instead of equal weight, we weight stocks by the absolute magnitude of the S-Score:

  • In Quintile 5 (Q5), stocks with the highest positive S-Scores receive the most weight.
  • In Quintile 1 (Q1), stocks with the most negative S-Scores receive the most weight.
  • Since Q1 S-Scores are all negative, magnitude weighting is naturally valid—higher magnitude simply means more negative sentiment.

We then compute:

  • Q5 long-only performance
  • Q1 short-only performance
  • A daily rebalanced long/short Q5–Q1 portfolio

The test window starts January 2016 and runs through the present.

The Results: Magnitude Matters

Weighting by S-Score meaningfully enhances both long-only and short-only performance.

1. Shorting Becomes More Powerful

Quintile 1 (Q1)—our short book—improves materially:

  • ~2% lower annualized returns (better for a short portfolio)
  • ~30% greater cumulative underperformance

This means the most negative sentiment names are more reliably bad and emphasizing them captures that effect.

2. Long-Only Performance Strengthens

Quintile 5 (Q5)—our long book—also benefits:

  • ~1% higher annual excess return
  • ~30% greater cumulative performance

The highest positive S-Scores contain meaningful incremental information about forward returns. Weighting by signal strength captures this.

3. The Long/Short Portfolio Sharpens Significantly

The Q5–Q1 spread sees the biggest improvement:

  • ~2.5% improvement in annualized returns
  • 50%+ increase in cumulative performance
  • Higher Sharpe and Sortino ratios

The enhanced risk-adjusted metrics indicate that magnitude weighting extracts more of the true cross-sectional sentiment signal while reducing noise.

Why This Works

Sentiment is not binary.
S-Scores don’t just say whether sentiment is high or low—they convey how extreme it is.

Magnitude captures:

  • Event intensity (e.g., surprise announcements, viral narratives)
  • Information velocity
  • Community consensus strength
  • Sentiment persistence

Equal weighting treats all names in a quintile as equivalent, but high-conviction positive or negative sentiment tends to cluster in the tails.

By up-weighting these signals, we extract an additional layer of alpha.

Key Takeaway

The S-Score isn’t just a stock-selection metric. It enhances portfolio construction as well.

Our analysis demonstrates that:

Incorporating S-Score magnitude into weighting improves long-only, short-only, and long/short performance—both in absolute and risk-adjusted terms.

As managers increasingly integrate alternative data into systematic processes, signal-weighted construction represents a robust next step in leveraging real-time social sentiment for alpha generation. For more information, visit www.contextanalytics-ai.com . 

TL;DR

Sentiment Strength = Better Portfolio Returns

Context Analytics tested whether weighting stocks by S-Score magnitude (not just rank) improves performance.

Results (2016–present):

  • Short positions: 2% better annual returns, 30% more underperformance
  • Long positions: 1% higher returns, 30% greater gains
  • Long/Short: 2.5% annual boost, 50%+ cumulative improvement, higher Sharpe ratios

Key insight: Extreme sentiment readings contain more predictive power. Weighting by signal strength—not equal weighting—extracts significantly more alpha from real-time Twitter sentiment data.

More research
Jan 7, 2026 Overview of S-Score Open-to-Close 2025 Performance Oct 15, 2025 Daily S-Score Analysis: Sentiment Insights in Cryptocurrency Markets Sep 18, 2025 Year-to-Date Update: Multi-Source Sentiment Strategies Continue to Deliver
Subscribe

New research, in your inbox.

One note when we publish something worth your time, written by the team that built the data, not marketing.

No spam. Unsubscribe anytime.
CadenceWeekly, at most
Written byThe research team, not marketing
Opt-outOne click, anytime

Test the data behind the research.

Request trial data