Price Series
price_seriesA SMALL, bounded price SERIES for drawing a chart (a device screen, a sparkline) plus headline numbers —
the counterpart of stock_prices, which is a digested read with no series. Returns ticker, name, metric_kind
(yield = a bond yield / rate: levels in %, moves in bps via period_change_bps / change_bps_by_period), currency,
range, interval (day|week|month), period_start_date / period_end_date, last_close, period_change_pct,
period_high / period_low (+ their dates), last_volume, average_daily_volume, change_pct_by_period
{1w, 1mo, 3mo, ytd, 1y}, and series {dates, closes[, volumes]} as parallel arrays (≤ 65 points). EOD daily
data, split/dividend-adjusted closes — the last point is the LAST CLOSE, not an intraday quote. Weekly/monthly
points are each period's last close. Use this when a chart or a few chart numbers are needed; for "is it
cheap / extended / why is it moving" use stock_prices or pulse(kind='asset').
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": {
"ticker": "<ticker>"
},
"name": "price_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Chart window. `1w`|`1mo`|`3mo` → daily points; `6mo`|`1y` → weekly; `3y`|`5y` → monthly; `10y` → 2-month; `max` = full history (1–12-month points). Default `1mo`. Never more than 65 points. | |
| ticker | Yes | A Ava Advisor ticker OR a company/asset NAME — the SERVER resolves it (no lookup step). A COMPANY/proper NAME passes AS-IS in any language (茅台/トヨタ/삼성 resolve natively — never translate a name); a generic COMMODITY/SECTOR concept must be ENGLISH (黄金→'gold', 原油→'crude oil'). Pass the user's full request in `context` to disambiguate ('apple' company vs fruit); if still ambiguous you get a `needs_confirmation` with candidates — resolve from conversation or ask, then re-call. Exact tickers pass through (Ava Advisor suffixes: Korea .KO, Taiwan .TW, commodity .COMM, crypto .CC, FX .FOREX, bond .GB, rate .MM). | |
| 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. | |
| country | No | OPTIONAL market disambiguator — pass ONLY when `ticker` is a plain NAME that collides across markets (the Thai vs Korean 'KBANK'); omit for a distinctive name or an exact ticker (an unneeded country silently 0-matches). A country NAME or ISO-2 code ('South Korea'/'KR'); the server normalizes, so pass the NAME when unsure — never GUESS a 2-letter code ('CH' = Switzerland, not China). | |
| include_volume | No | Add `series.volumes` (summed per week/month). Default false — closes only. |