Field reference / market breadth
market_advance_decline_zone
Percent of US common stocks that closed above their previous close, among those that closed above or below it (unchanged excluded), on the row's session (weekly rows: the week's last session): a one-session reading, from weakest to strongest: broad_selloff, declining, mixed, advancing, broad_rally. Null with fewer than 100 stocks that moved.
| Level | Market-wide, one value per date |
| Type | string (band) |
| Can be null | Yes |
| Category | market breadth |
| Returned by | /v1/market, /v1/search |
Values
One of these, in order:
broad_selloff declining mixed advancing broad_rally
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.
| Field | Type | What it says |
|---|---|---|
market_advance_decline_zone_stability | string (band) | How settled market_advance_decline_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_advance_decline_zone_periods | integer | Daily or weekly rows, including this one, that market_advance_decline_zone has held its current value; 1 means it changed on this row. |
market_advance_decline_zone_flips_recent_count | integer | How many times market_advance_decline_zone changed value in the last 30 days (12 weeks on weekly rows). |
market_advance_decline_zone_flips_lookback | string | The window market_advance_decline_zone_flips_recent_count covers: 30d on daily rows, 12w on weekly. |
market_advance_decline_zone_prev | string (band) | The value market_advance_decline_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_advance_decline_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_advance_decline_zone' \
-H "Authorization: Bearer YOUR_API_KEY"
Related fields
Every field, with its type and values, is also in /v1/schema/fields.