get_cni_index_hist
Retrieve daily historical market data for Chinese stock indices by specifying index code and date range, with output in multiple formats including JSON, CSV, and Excel.
Instructions
获取指定指数的日频率历史行情数据
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | 指数代码 (例如: '399005') | |
| start_date | Yes | 开始日期,格式为 YYYYMMDD (例如: '20230114') | |
| end_date | Yes | 结束日期,格式为 YYYYMMDD (例如: '20240114') | |
| output_format | No | 输出数据格式: json, csv, xml, excel, markdown, html。默认: markdown | markdown |
Input Schema (JSON Schema)
{
"properties": {
"end_date": {
"description": "结束日期,格式为 YYYYMMDD (例如: '20240114')",
"type": "string"
},
"output_format": {
"default": "markdown",
"description": "输出数据格式: json, csv, xml, excel, markdown, html。默认: markdown",
"enum": [
"json",
"csv",
"xml",
"excel",
"markdown",
"html"
],
"type": "string"
},
"start_date": {
"description": "开始日期,格式为 YYYYMMDD (例如: '20230114')",
"type": "string"
},
"symbol": {
"description": "指数代码 (例如: '399005')",
"type": "string"
}
},
"required": [
"symbol",
"start_date",
"end_date"
],
"type": "object"
}