Skip to content

KB / signal

SPY/TNX correlation

Last verified

Auto-generated. This article is rebuilt from app/signals/config/signal_definitions.json by scripts/build_signals_kb.py. Edit the registry entry and re-run the script — do not edit this file directly.

SPY/TNX correlation

What it is

SPY/TNX correlation — registry key corr_spy_tnx.

20-day rolling correlation; per-pair classification thresholds live in app/signals/correlations.py:PAIR_CONFIG (not band-reducible). Tracked in history; classification surfaces via the correlations composite component.

Source

Source module: correlations
Data source: computed

Derived metric — produced inside the platform (app/signals/correlations.py or equivalent) rather than fetched as a raw upstream value. See the How it's computed section below for the formula.

How it’s computed

20-day rolling Pearson correlation of daily SPY returns vs daily 10y yield returns. From daily_signals.spy_close / tnx_close. See app/signals/correlations.py pair spy_tnx.

Where it surfaces

Health-score / alignment role

Data carrier — no implication, no health-score contribution.

Persisted for downstream consumers (sparklines, base-rate matcher, calibration substrate) but does not classify into BULLISH / NEUTRAL / BEARISH and does not contribute to the 0-100 health score.

Release cadence

See also