Field reference / fundamentals

fundamentals_pe_vs_historical_zone

Band of the current P/E's percentile within the stock's own daily P/E history of the last 5 years (positive values only; needs at least a year of daily values), lowest to highest: historic_low, below_average, average, above_average, historic_high. Null without a P/E or enough history. Stocks only

LevelPer stock, ETF and coin, one value per date
Typestring (band)
Can be nullNo, whenever its section has data
Categoryfundamentals
Returned by/v1/history, /v1/search

Values

One of these, in order:

historic_low below_average average above_average historic_high

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
fundamentals_pe_vs_historical_zone_stabilitystring (band)How settled fundamentals_pe_vs_historical_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).
fundamentals_pe_vs_historical_zone_periodsintegerDaily or weekly rows, including this one, that fundamentals_pe_vs_historical_zone has held its current value; 1 means it changed on this row.
fundamentals_pe_vs_historical_zone_flips_recent_countintegerHow many times fundamentals_pe_vs_historical_zone changed value in the last 30 days (12 weeks on weekly rows).
fundamentals_pe_vs_historical_zone_flips_lookbackstringThe window fundamentals_pe_vs_historical_zone_flips_recent_count covers: 30d on daily rows, 12w on weekly.
fundamentals_pe_vs_historical_zone_prevstring (band)The value fundamentals_pe_vs_historical_zone had before it changed, on the row where it changed (when _periods = 1); null otherwise.

Getting it

Its history for one ticker:

curl -G "https://api.tickerdb.com/v1/history" \ --data-urlencode 'tickers=AAPL' \ --data-urlencode 'fields=fundamentals_pe_vs_historical_zone' \ --data-urlencode 'start=2025-01-01' \ -H "Authorization: Bearer YOUR_API_KEY"

Stocks matching it today:

curl -G "https://api.tickerdb.com/v1/search" \ --data-urlencode 'filters=[{"field":"fundamentals_pe_vs_historical_zone","op":"eq","value":"historic_low"}]' \ --data-urlencode 'fields=["ticker","fundamentals_pe_vs_historical_zone"]' \ -H "Authorization: Bearer YOUR_API_KEY"

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