get_prices
Fetch commodity price history filtered by date, currency, and pagination. Returns a count or structured price list for analysis.
Instructions
Get price history for a commodity.
Leads with a Showing X-Y of Z prices (date range) line, then
a compact aligned text table by default. Page with offset;
limit=0 returns the count only. Use verbose=true for the full
structured envelope (prices list, showing, total,
offset, count).
Args: commodity: Symbol of the commodity (e.g., "VTSAX"). namespace: Namespace of the commodity (e.g., "FUND"). start_date: Optional start date filter (YYYY-MM-DD). end_date: Optional end date filter (YYYY-MM-DD). currency: Optional currency filter (e.g., "USD"). limit: Page size (default 50, max 250). 0 = count only. verbose: If true, return the structured dict. offset: 0-indexed first row to return (default 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| verbose | No | ||
| currency | No | ||
| end_date | No | ||
| commodity | Yes | ||
| namespace | Yes | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |