Get OHLCV bars
get_barsRead-only
Returns daily OHLCV bars for symbols between start and end, clipped to as_of (default today) so no future data leaks. Max 5000 rows per page; use next_cursor for more.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | Bar size, default '1d'. | |
| end | No | ||
| as_of | No | Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC). | |
| start | Yes | ||
| symbols | Yes |