Get archived daily closes over a date range
get_asset_seriesGet what mkts recorded for one symbol on every day in a date range, from the immutable point-in-time archive. Use this for backtesting rather than calling get_assets_as_of once per day — a 90-day study is one call here and 90 there. Distinct from get_price_history, which fetches OHLCV live from upstream providers: this returns what was observed at the time, with observedAt and isRevision per row, so a later restatement is visible instead of silently replacing the original. Days the market was shut are absent rather than zero-filled. Maximum range 366 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last date in the range, YYYY-MM-DD. Defaults to today. | |
| from | Yes | First date in the range, YYYY-MM-DD. | |
| type | No | Only needed when a ticker is shared across asset types. Omit to get the larger by market cap. | |
| symbol | Yes | Ticker or mkts symbol. |