Added
v1.9.3 - Intrabar Update Control for Index Endpoints
about 1 month ago by ReadMe GitHub Action
Headline and GMSI index endpoints can now exclude the current, still-updating time period from their response via a new include_intrabar_update parameter.
Added
include_intrabar_update parameter
include_intrabar_update parameterThe most recent period(s) of index data can still receive incremental updates as headlines are processed. The new include_intrabar_update query parameter (default True, preserving existing behaviour) lets you exclude that in-progress data so results only reflect fully-settled periods.
When set to False, any data point newer than 1 hour ago is excluded.
GET /v1/headlines/index/ticker/live/{ticker}
GET /v1/headlines/index/ticker/live/{ticker}GET /v1/headlines/index/ticker/live/BZ_COM?include_intrabar_update=false
include_intrabar_update=true(default) — Returns the past 2 complete hours plus the current, in-progress hour. Unchanged behaviour.include_intrabar_update=false— Excludes any data newer than 1 hour ago. The query lookback is automatically padded by 1 hour so you still receive a full 2 hours of complete data. When combined withsparse=false, the dense-fill upper bound is adjusted to match, so the excluded period is never zero-filled.
GET /v1/headlines/index/ticker/historical/{ticker}
GET /v1/headlines/index/ticker/historical/{ticker}GET /v1/headlines/index/ticker/historical/BZ_COM?start_date=2026-07-01&include_intrabar_update=false
include_intrabar_update=false— Caps the effectiveend_dateatnow - 1 hour(or your suppliedend_date, whichever is earlier). Withsparse=false, the dense-fill upper bound is data-driven from the last returned record, so it automatically respects the cutoff.
GET /v1/headlines/index/gmsi/live/{country}
GET /v1/headlines/index/gmsi/live/{country}GET /v1/headlines/index/gmsi/live/US?topic=Inflation-Food&include_intrabar_update=false
Applies to both interval=HOUR and interval=DAY:
HOUR— Excludes any hourly bucket newer than 1 hour ago.DAY— Since daily buckets are otherwise already capped at the current day, the 1-hour cutoff only changes results within the first hour after UTC midnight.
GET /v1/headlines/index/gmsi/historical/{country}
GET /v1/headlines/index/gmsi/historical/{country}GET /v1/headlines/index/gmsi/historical/US?topic=Inflation-Food&start_date=2026-07-01&include_intrabar_update=false
Same end-date capping behaviour as the asset historical endpoint (now - 1 hour, or your supplied end_date if earlier), applied to both HOUR and DAY intervals.
