Field reference / patterns

pattern_falling_wedge_state

Falling wedge (usually bullish): both lines falling, the upper one faster, with price held between them as they converge. The lines are fitted through swing highs and lows over the last 60 to 252 bars. immature = the shape is there but young; mature = enough touches on both lines, over long enough, with price well on its way to the apex; invalidated = a mature wedge broke clearly below its lower line within the last 3 bars; not_detected otherwise. A breakout upward has no field of its own: the state stops reading mature. A row reports at most one triangle or wedge, the most developed. Null with fewer than 60 bars.

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

Values

One of these, in order:

not_detected immature mature invalidated

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
pattern_falling_wedge_state_stabilitystring (band)How settled pattern_falling_wedge_state 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).
pattern_falling_wedge_state_periodsintegerDaily or weekly rows, including this one, that pattern_falling_wedge_state has held its current value; 1 means it changed on this row.
pattern_falling_wedge_state_flips_recent_countintegerHow many times pattern_falling_wedge_state changed value in the last 30 days (12 weeks on weekly rows).
pattern_falling_wedge_state_flips_lookbackstringThe window pattern_falling_wedge_state_flips_recent_count covers: 30d on daily rows, 12w on weekly.
pattern_falling_wedge_state_prevstring (band)The value pattern_falling_wedge_state 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=pattern_falling_wedge_state' \ --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":"pattern_falling_wedge_state","op":"eq","value":"not_detected"}]' \ --data-urlencode 'fields=["ticker","pattern_falling_wedge_state"]' \ -H "Authorization: Bearer YOUR_API_KEY"

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