Field reference / market breadth

market_regime_zone

Headline US equity regime on the row's session (weekly rows: the week's last session), from the S&P 500 ETF (SPY)'s drawdown from its 252-session closing high, SPY's close against its 50- and 200-session simple moving averages (SMAs), the share of common stocks above their own 200-session average, and market_breadth_trend. bull_broad / bull_narrow: SPY above its 200-session average and short of a correction-sized drawdown, with most stocks above their own 200-session average (broad) or not (narrow); otherwise recovery when SPY is above its 50-session average and breadth is improving, bear in a bear-market-sized drawdown, else correction. Null without 252 SPY sessions or when breadth is unknown (fewer than 100 stocks).

LevelMarket-wide, one value per date
Typestring (band)
Can be nullYes
Categorymarket breadth
Returned by/v1/market, /v1/search

Values

One of these, in order:

bull_broad bull_narrow correction bear recovery

Change markers

Every row also says how long this band has held its value and what it was before. Ask for these by name like any field. See Diff.

FieldTypeWhat it says
market_regime_zone_stabilitystring (band)How settled market_regime_zone is: volatile when it changed often in the last 30 days (12 weeks on weekly rows); otherwise fresh (just changed), holding, or established (unchanged for a long time).
market_regime_zone_periodsintegerDaily or weekly rows, including this one, that market_regime_zone has held its current value; 1 means it changed on this row.
market_regime_zone_flips_recent_countintegerHow many times market_regime_zone changed value in the last 30 days (12 weeks on weekly rows).
market_regime_zone_flips_lookbackstringThe window market_regime_zone_flips_recent_count covers: 30d on daily rows, 12w on weekly.
market_regime_zone_prevstring (band)The value market_regime_zone had before it changed, on the row where it changed (when _periods = 1); null otherwise.

Getting it

Its latest value:

curl -G "https://api.tickerdb.com/v1/market" \ --data-urlencode 'fields=market_regime_zone' \ -H "Authorization: Bearer YOUR_API_KEY"

Its value on a date:

curl -G "https://api.tickerdb.com/v1/market" \ --data-urlencode 'date=2020-03-23' \ --data-urlencode 'fields=market_regime_zone' \ -H "Authorization: Bearer YOUR_API_KEY"

Every field, with its type and values, is also in /v1/schema/fields.