KB / signal
SPY/DXY correlation
Last verified
Auto-generated. This article is rebuilt from
app/signals/config/signal_definitions.jsonbyscripts/build_signals_kb.py. Edit the registry entry and re-run the script — do not edit this file directly.
SPY/DXY correlation
What it is
SPY/DXY correlation — registry key corr_spy_dxy.
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 DXY returns. From daily_signals.spy_close / dxy_close. See app/signals/correlations.py pair spy_dxy.
Where it surfaces
- API field:
correlations.spy_dxy.correlationonGET /api/v1/signals/latest - Surface:
daily_signalsrow (daily-cadence persistence) - Surface:
/signals/historytime series - Surface:
/signals/sparklines(UI sparklines) - Surface: change markers in the rendered report
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
- Publishes:
intraday
See also
- /kb/api/get-signals-correlations — API endpoint that serves this field.