行情数据
查询品种、K 线和分时数据,不改变图表。
1aa5e22)。工具说明保留模型实际收到的英文原文,不做翻译。instruments_query_name
Look up security names by an exact symbol through the active market-data sources. Optionally restrict the lookup to sourceIds. Returns a Markdown table of every exact match with all instrument fields; never infer a name from a partial match. When the table contains more than one row, do not pick a candidate yourself: call ask_user with one option per row, where value is that row's id, label is its name, and description lists its source, exchange, and assetClass; wait for the user to choose before continuing.
参数
| 字段 | 类型 | 必填 | 约束 | 说明 |
|---|---|---|---|---|
symbol | string | 是 | min length 1 | |
sourceIds | string[] | — | item min length 1 |
最小输入 · 仅含必填字段,占位值由 schema 推导。
{
"symbol": "<symbol>"
}JSON Schema
…market_bars_query
Fetch the latest page of market bars for any symbol without changing the chart. limit must be an integer from 1 to 798. Pagination and retries are handled by the cache.
参数
| 字段 | 类型 | 必填 | 约束 | 说明 |
|---|---|---|---|---|
symbol | string | 是 | min length 1 | |
period | enum | 是 | one of "1min", "5min", "15min", "30min", "60min", "4h", "daily", "weekly", "monthly", "quarterly", "yearly" | |
adjustment | enum | 是 | one of "qfq", "hfq", "splits", "none" | |
barAggregation | enum | 是 | one of "original", "aligned", "europe-traditional" | |
limit | integer | 是 | ≥ 1; ≤ 798 | |
sourceId | string | — | min length 1 | |
exchange | string | — | min length 1 | |
assetClass | enum | — | one of "stock", "index", "fund", "etf", "future", "option", "forex", "crypto" |
最小输入 · 仅含必填字段,占位值由 schema 推导。
{
"symbol": "<symbol>",
"period": "1min",
"adjustment": "qfq",
"barAggregation": "original",
"limit": 1
}JSON Schema
…market_timeshare_query
Fetch one trading day of intraday time-share data for any symbol without changing the chart.
参数
| 字段 | 类型 | 必填 | 约束 | 说明 |
|---|---|---|---|---|
symbol | string | 是 | min length 1 | |
tradingDate | string | 是 | pattern ^\d{4}-\d{2}-\d{2}$ | |
sourceId | string | — | min length 1 | |
exchange | string | — | min length 1 | |
assetClass | enum | — | one of "stock", "index", "fund", "etf", "future", "option", "forex", "crypto" |
最小输入 · 仅含必填字段,占位值由 schema 推导。
{
"symbol": "<symbol>",
"tradingDate": "YYYY-MM-DD"
}JSON Schema
…market_timeshare_range_query
Fetch multiple trading days of intraday time-share data for any symbol without changing the chart.
参数
| 字段 | 类型 | 必填 | 约束 | 说明 |
|---|---|---|---|---|
symbol | string | 是 | min length 1 | |
endTradingDate | string | 是 | pattern ^\d{4}-\d{2}-\d{2}$ | |
days | integer | 是 | ≥ 1 | |
sourceId | string | — | min length 1 | |
exchange | string | — | min length 1 | |
assetClass | enum | — | one of "stock", "index", "fund", "etf", "future", "option", "forex", "crypto" |
最小输入 · 仅含必填字段,占位值由 schema 推导。
{
"symbol": "<symbol>",
"endTradingDate": "YYYY-MM-DD",
"days": 1
}JSON Schema
…