KB / signal
SPY next-5d return
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 next-5d return
What it is
SPY next-5d return — registry key spy_next_5d_rtn.
Realized forward return persisted for matcher calibration. Five-trading-day lag.
Source
Source module: capture
Data source: computed
Derived metric — produced inside the platform (app/signals/capture.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
Realized SPY 5-day forward return: (spy_close[T+5] − spy_close[T]) / spy_close[T]. Backfilled when row T+5 lands. Same backfill helper. Used by the base-rates matcher.
Where it surfaces
- API field:
signals.spy_next_5d_rtnonGET /api/v1/signals/latest - Surface:
daily_signalsrow (daily-cadence persistence) - Surface:
/signals/historytime series
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:
daily - Lag days:
5
Backfilled onto row T when row T+5’s spy_close lands.
See also
- /kb/api/get-signals-latest — API endpoint that serves this field.