获取市场历史价格
market_pricesFetch historical prices and technical indicators for stocks and ETFs across Shanghai, Shenzhen, Hong Kong, and US markets, with standardized output fields.
Instructions
统一获取股票/ETF历史价格及技术指标,输出标准化行情字段
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": {
"symbol": "<symbol>"
},
"name": "market_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | 资产类型: equity/etf | equity |
| limit | No | 返回数量(int) | |
| market | No | 股票市场,仅支持: sh(上证), sz(深证), hk(港股), us(美股), 不支持加密货币 | sh |
| period | No | 周期,如: daily(日线), weekly(周线,不支持美股) | daily |
| symbol | Yes | 股票代码 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |