Batch Stock Prices
stock_prices_batchThe same digested price context for UP TO 50 tickers in ONE call — a watchlist / cohort snapshot
("which of these names are most extended, or deepest in drawdown"). Returns results (in input order)
+ unresolved (unknown / no-price-history tickers). to/from_ as in stock_prices.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tickers": "<tickers>"
},
"name": "stock_prices_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | As-of date `YYYY-MM-DD` (point-in-time). Omit → latest. | |
| from_ | No | Lower bound of price history `YYYY-MM-DD` (below ~1y nulls the long windows). | |
| context | No | OPTIONAL but RECOMMENDED — paste the user's FULL request VERBATIM (any language: 'ขอราคาผลไม้ apple', 'compare Apple and Microsoft stock'). The server uses it to disambiguate which candidate each `ticker` entity means (the apple COMPANY vs the fruit COMMODITY; which Samsung). One context per call, shared by all tickers here. | |
| tickers | Yes | UP TO 50 items, EACH a Ava Advisor ticker OR a plain company/asset NAME — the SERVER resolves names (pass `context` to disambiguate); a watchlist/cohort. Returns `results` in input order + `unresolved`. | |
| chart_range | No | Leave unset. For apps/devices that draw charts themselves: adds `chart` (≤ 65 points) to the first 5 results. |