Field reference / macro rates
macro_rates_trend
Change of the 10-year Treasury par yield over 3 months, in percentage points: the newest yield at the row's cutoff (weekly rows: the week's last session's) against the newest at or before 91 days earlier (within 10 days): falling_fast, falling, stable, rising, rising_fast. Null when either yield is unknown.
| Level | Market-wide, one value per date |
| Type | string (band) |
| Can be null | Yes |
| Category | macro rates |
| Returned by | /v1/market, /v1/search |
Values
One of these, in order:
falling_fast falling stable rising rising_fast
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 |
|---|---|---|
macro_rates_trend_stability | string (band) | How settled macro_rates_trend 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). |
macro_rates_trend_periods | integer | Daily or weekly rows, including this one, that macro_rates_trend has held its current value; 1 means it changed on this row. |
macro_rates_trend_flips_recent_count | integer | How many times macro_rates_trend changed value in the last 30 days (12 weeks on weekly rows). |
macro_rates_trend_flips_lookback | string | The window macro_rates_trend_flips_recent_count covers: 30d on daily rows, 12w on weekly. |
macro_rates_trend_prev | string (band) | The value macro_rates_trend 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=macro_rates_trend' \
-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=macro_rates_trend' \
-H "Authorization: Bearer YOUR_API_KEY"
Related fields
Every field, with its type and values, is also in /v1/schema/fields.