get_timeseries
Bounded timeseries for an entity: price, macro_series, or etf_flows.
Returns points oldest-first with an explicit downsampling flag when the raw series exceeded max_points. etf_flows is filing-cadence (one point per SEC filing refresh), NOT per calendar day, so even a wide window yields a handful of points. Times are UTC. Costs 1 unit per call.
Args: metric: One of price / macro_series / etf_flows. entity: Entity dict from resolve_entity ({"namespace": ..., "ids": ...}). granularity: Requested point granularity (default "1d"). max_points: Hard cap on returned points (default 500).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | ||
| metric | Yes | ||
| max_points | No | ||
| granularity | No | 1d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||