index_data
Retrieve historical data for specific stock indices, such as the Shanghai or Shenzhen Index, using the MCP protocol. Input index code and date range to access financial data.
Instructions
获取指定股票指数的数据,例如上证指数、深证成指等
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | 指数代码,如'000001.SH'表示上证指数,'399001.SZ'表示深证成指 | |
end_date | Yes | 结束日期,格式为YYYYMMDD,如'20230131' | |
start_date | Yes | 起始日期,格式为YYYYMMDD,如'20230101' |