Stock Sentiment Tracker

price correlations historical trends for S&P 500 stocks

Abstract

The Stock Sentiment Tracker turns short financial text into a cross-sectional sentiment panel for S&P 500 names. Each headline and summary is scored with VADER (Valence Aware Dictionary and sEntiment Reasoner), a lexicon-and-rule model that does not require a trained classifier. Scores are aggregated by ticker and by window, then aligned with end-of-day prices so the page can ask a narrow empirical question: how does lexical tone co-move with contemporaneous returns?

The object of study is the compound score , not a trading signal. Coverage is uneven, the lexicon is not a causal model of prices, and news often arrives after the move it describes. The methodology below states the scoring rule, the aggregation, and the correlation diagnostics that the live panel reports.

Corpus and Price Panel

Headlines and summaries are pulled from Yahoo Finance US market news through the pipeline (yfinance; no API key). Only the headline and the short summary are retained. Full article bodies are not stored, which keeps the footprint small and avoids treating licensed long-form text as a research corpus.

A document is assigned to ticker only when the company name or the symbol appears in that short text. Documents that match no name are dropped; documents that match several names can enter more than one ticker average.

Prices are end-of-day closes. For horizons the simple price change is . Sentiment history is stored day by day so lag-1 autocorrelation of the score series can be computed without reconstructing the news feed.

VADER Scoring and Aggregation

VADER maps tokens to valence intensities in a fixed lexicon and then applies rule-based adjustments for negation, degree modifiers (intensifiers and dampeners), punctuation, and capitalisation. The four raw outputs for a document are the proportions of positive, neutral, and negative valence plus a normalised compound score. Normalisation uses

where is the sum of adjusted valence weights in the document. The constant is the VADER normalisation parameter; it bounds in and compresses long documents toward the extremes more slowly than a raw sum would.

The lexicon is useful for headlines because financial copy is short, negation-heavy ("fails to beat"), and full of intensifiers. It is not a domain language model: words outside the dictionary contribute nothing, and sarcasm or deal-contingent phrasing is scored literally.

For ticker and window , let be the documents assigned to inside that window. The reported signal is the equal-weighted mean compound score

Windows are one, three, and six months. Tickers with an empty document set are reported as inactive rather than as a zero sentiment reading, because zero would be indistinguishable from genuinely neutral coverage.

Estimation Pipeline

The job runs daily. The sequence is: fetch the headline feed, assign documents to tickers by name or symbol, score each document with VADER, average compounds inside each window, pull end-of-day prices and horizon returns, then write the aggregated report.

Persisted outputs are the per-ticker score file, the price and momentum file, a short headline list, the day-by-day sentiment history, and pipeline metadata. Raw article text is not kept.

Because the score is an average of a changing document set, is not a fixed-composition index. A single widely syndicated headline can move a thinly covered name by more than it moves a mega-cap with dozens of items in the same window. The live table therefore shows coverage implicitly: inactive names are those with no matched documents.

Cross-Sectional and Time-Series Diagnostics

The association the page reports is contemporaneous, not a forecast. For a horizon , the cross-sectional Pearson correlation is

computed on names with both a sentiment average and a price change. A scatter of six-month sentiment against six-month price change is the visual counterpart. Histograms of show whether the return cross-section is skewed in that window, which matters because Pearson is sensitive to outliers.

On the time-series side, lag-1 autocorrelation of the daily sentiment path for a selected ticker is . Persistent scores mean the lexicon is repeating the same story; a correlation near zero means the feed is turning over. Return autocorrelation at the same horizons is reported alongside so sentiment persistence is not confused with return momentum.

These statistics describe co-movement. They are not information coefficients against a future return, and they are not t-tested for multiple windows.

Limitations

VADER does not model context beyond its negation and intensifier rules. Sarcasm, conditional language, and issuer-specific jargon outside the lexicon are scored incorrectly or ignored.

Coverage rises with market capitalisation. A six-month average for a heavily covered name is a large-sample mean; the same statistic for a sparsely mentioned name is a handful of documents and should not be compared as if the standard errors were equal.

Headlines are often published after prices have moved. A positive can mean the press described a rally, not that tone predicted it. The tracker does not lag the score relative to returns, so it does not identify lead-lag.

The default feed is Yahoo Finance headlines. Broader wire coverage would change both the document counts and the averages. Research output only — not an investment recommendation.

Conclusion

Lexical compounding gives a transparent, reproducible tone measure: each document is a bounded valence score, and each ticker is an average of the documents that name it. Aligned with horizon returns, that panel shows whether the current news flow is leaning with or against recent price changes.

Read the correlations as descriptions of the latest window. Sparse coverage, a fixed lexicon, and the tendency of headlines to follow prices all limit how far the score can be pushed as a forecast. The live section below is the current cross-section under that definition.

Live Data

Loading sentiment data…
QuantifiedTrader logoQuantifiedTrader

Independent quantitative research on trading methods, backtesting, and market analytics.

Research disclaimer

QuantifiedTrader is operated by an independent quantitative research group. We study, document, and compare different methods of trading, portfolio construction, risk management, and investment analysis. Our work is exploratory and academic in nature—we build tools, run backtests, and publish findings to advance understanding, not to promote any particular strategy or product.

Not investment advice. Nothing on this website constitutes investment, trading, financial, tax, legal, or other professional advice. We do not recommend, endorse, or solicit the purchase or sale of any security, derivative, or financial instrument, nor do we suggest that any strategy, model, or result presented here is suitable for any individual or institution. Any examples, simulations, or performance figures are illustrative research outputs only.

No client or advisory relationship. We do not provide investment advisory, brokerage, portfolio-management, custody, or asset-management services to any person or entity. Browsing this site, using our tools, or contacting us does not create a client, fiduciary, or advisory relationship. We do not manage money on behalf of third parties and do not act as agents for any financial institution.

Research & education only. Content, datasets, backtests, charts, code, and software made available here are for informational and educational research. Materials may be incomplete, simulated, hypothetical, or derived from third-party sources that we do not control. Past performance, backtested results, and historical analyses are not indicative of future results. Market conditions change; models may fail; assumptions may be wrong. You are solely responsible for evaluating any information and for all decisions you make.

No responsibility or liability. To the fullest extent permitted by applicable law, QuantifiedTrader and its contributors disclaim all responsibility and liability for any loss, damage, cost, or expense—direct or indirect—arising from access to, use of, or reliance on this website, its content, or its tools. All materials are provided “as is” and “as available,” without warranties of any kind, whether express or implied, including but not limited to accuracy, completeness, fitness for a particular purpose, or non-infringement.

Non-commercial research sharing. This site does not aim to profit from the knowledge, tools, or datasets published here. Materials are shared for non-commercial research and learning, subject to applicable open-source or site terms where noted. We are a research collective, not a commercial product or service provider.

Contact. For questions about this notice, the site, or published research materials, contact support@quantedx.com. Correspondence is for administrative and research purposes only and does not constitute advice or create any professional obligation on our part.

© 2026 QuantifiedTrader. All rights reserved.