Metric history series
get_metric_seriesHistorical series for a TGMCharts-computed metric (daily valuation/yield lines, rolling TTM flows, quarterly margins). Points are even-time downsampled to max_points (default 120) to stay token-frugal — raw density is available at https://tgmcharts.com/api/v1/series/{symbol}/{metric}. points:null = intentionally withheld (sector-inappropriate, message included); [] = no stored history.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Trailing window in years (default: full stored history) | |
| metric | Yes | Series-tier metric slug (see list_metrics) | |
| symbol | Yes | Ticker symbol, e.g. KO | |
| max_points | No | Downsample cap (default 120) |