Per-Day Observation Status
get_observation_statusClassify each calendar day in a lookback window as traded, weekend, holiday, pre_listing, delisted, or no_print to understand missing price reasons and avoid treating no_print as a zero return.
Instructions
For every CALENDAR day in a lookback window, get why a price is or is not present: traded, weekend, holiday, pre_listing, delisted, or no_print. USE THIS when a price series has gaps and the user needs to know whether a missing day was a market holiday, a suspension, a pre-listing date, or genuinely missing data — and ESPECIALLY before computing returns over a gappy series. A missing price is NOT a zero return: no_print means a listed trading day with no print and should be treated as not-a-return (carry forward or mask), never as 0%. HONESTY LIMITS in the response's classification_limits: no_print deliberately does NOT distinguish an illiquid no-trade from a suspension from missing data (no per-day suspension feed exists, so a specific reason would be fabricated), and pre_listing can only be asserted where a listing date is known — its absence is not evidence the stock was trading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Calendar days to look back (default 365, max 10000) | |
| symbol | No | REQUIRED. The stock symbol, e.g. "TRENT". | |
| ticker | No | Alias for `symbol`. | |
| identifier | No | Alias for `symbol`. |