get_realtime_quote
Fetch realtime quote snapshots for Chinese A-share stocks, including current price, change, volume, and market status; accepts multiple stock code formats and returns markdown, JSON, or CSV.
Instructions
Fetches realtime quote snapshot for a Chinese A-share stock.
Returns the latest trading data with correct date and change calculation.
Uses minute K-line aggregation for today's data instead of daily data.
Quick overview of current stock status.
Args:
code: The stock code. Supports multiple formats:
- 'sh600000' or 'sz000001' (Tongdaxin format)
- '600000' or '000001' (pure number, auto-detect exchange)
- 'sh.600000' or 'sz.000001' (Baostock format)
- '600519.XSHG' or '000001.XSHE' (JoinQuant format)
format: Output format: 'markdown' | 'json' | 'csv'. Defaults to 'markdown'.
Returns:
Latest quote data with: 日期, 最新价, 今开, 最高, 最低, 昨收, 涨跌额, 涨跌幅, 成交量, 市场状态
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": {
"code": "<code>"
},
"name": "get_realtime_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| format | No | markdown |