获取A股指数历史价格
index_pricesRetrieve historical prices and technical indicators for A-share indices by code. Supports daily, weekly, or monthly periods with configurable data limit.
Instructions
根据A股指数代码获取指数历史价格及技术指标,例如 000300(沪深300)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "index_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回数量(int) | |
| period | No | 周期,如: daily(日线), weekly(周线), monthly(月线) | daily |
| symbol | No | A股指数代码,如: 000300(沪深300), 000001(上证指数) | 000300 |