KB / signal
SMA stack score
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.
SMA stack score
What it is
SMA stack score — registry key sma_stack.
Composite breadth structure score; data_only because the breadth_50d/200d entries already carry the band classification.
Source
Source module: market
Data source: computed
Derived metric — produced inside the platform (app/sources/market.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
Count of SMAs (20 / 50 / 100 / 200 day) that SPY’s current price is above, 0–4. Higher = stronger trend. See app/sources/market.py:285.
Where it surfaces
- API field:
signals.sma_stack_scoreonGET /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-latest — API endpoint that serves this field.