Market data
Query instruments, bars and time-share data without changing the chart.
04d191a). Descriptions are the exact text the model receives.instruments_query
Find instruments by an exact symbol or by a name keyword. Exact symbol matches win; otherwise keyword candidates are returned. When several instruments match, choose from the table or ask the user — never invent a symbol. No source can serve this tool right now.
Parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
query | string | Yes | min length 1 | Exact symbol such as "600519", or a name keyword such as "茅台". |
sources | string[] | — | item min length 1 | Restrict the search to these sources. Omit to search every available source. |
limit | integer | — | ≥ 1; ≤ 50 | Maximum number of matches to return. Defaults to 10. |
Minimal input · Required fields only; placeholders are derived from the schema.
{
"query": "<query>"
}JSON Schema
…market_bars_query
Fetch bars for any symbol without changing the chart. Omit every date to get the latest bars. from/to select a window: "YYYY-MM-DD" for daily and above, RFC 3339 with offset for intraday. limit caps the returned bars; truncated=true means the window was not fully covered. No source can serve this tool right now.
Parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
symbol | string | Yes | min length 1 | Exact symbol as returned by instruments_query. |
exchange | string | — | min length 1 | Exchange from instruments_query, case-insensitive. Pass it when one symbol exists on several exchanges. |
instrumentType | enum | — | one of "stock", "index", "fund", "etf", "future", "option", "forex", "crypto" | Asset class filter from instruments_query. Pass it only when candidates differ by class. |
period | enum | — | one of "1min", "5min", "15min", "30min", "60min", "4h", "daily", "weekly", "monthly", "quarterly", "yearly" | Bar period. Defaults to "daily". |
adjustment | enum | — | one of "qfq", "hfq", "splits", "none" | Price adjustment. Defaults to "none". |
from | string | — | — | Window start, inclusive. "YYYY-MM-DD" for daily and above; RFC 3339 with offset for intraday, for example "2026-11-18T09:30:00+08:00". |
to | string | — | — | Window end, inclusive. Same format as from. Omit to end at the latest bar. |
limit | integer | — | ≥ 1; ≤ 2000 | Maximum number of bars to return. Defaults to 200. |
source | string | — | min length 1 | Data source from instruments_query. Omit to let Core resolve across every enabled source. |
Minimal input · Required fields only; placeholders are derived from the schema.
{
"symbol": "<symbol>"
}JSON Schema
…market_timeshare_query
Fetch intraday time share for any symbol. Omit tradingDate to use the latest trading day with data; days returns that many trading days ending at tradingDate, each with its own preClose. Multi-day requests need a source that supports timeShareRange. No source can serve this tool right now.
Parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
symbol | string | Yes | min length 1 | Exact symbol as returned by instruments_query. |
exchange | string | — | min length 1 | Exchange from instruments_query, case-insensitive. Pass it when one symbol exists on several exchanges. |
instrumentType | enum | — | one of "stock", "index", "fund", "etf", "future", "option", "forex", "crypto" | Asset class filter from instruments_query. Pass it only when candidates differ by class. |
tradingDate | string | — | pattern ^\d{4}-\d{2}-\d{2}$ | Trading day in the instrument timezone, for example "2026-11-18". |
days | integer | — | ≥ 1; ≤ 30 | Number of trading days ending at tradingDate. Defaults to 1, at most 30. |
source | string | — | min length 1 | Data source from instruments_query. Omit to let Core resolve across every enabled source. |
Minimal input · Required fields only; placeholders are derived from the schema.
{
"symbol": "<symbol>"
}JSON Schema
…