stock_zh_index_hist_csindex
Fetch historical closing price data for specific China Securities Index (CSI) codes from the official CSIndex website, covering a date range and returning daily closing values.
Instructions
中证指数-具体指数-历史行情数据 P.S. 只有收盘价,正常情况下不应使用该接口,除非指数只有中证网站有 https://www.csindex.com.cn/zh-CN/indices/index-detail/H30374#/indices/family/detail?indexCode=H30374 :param symbol: 指数代码; e.g., H30374 :type symbol: str :param start_date: 开始日期 :type start_date: str :param end_date: 结束日期 :type end_date: str :return: 包含日期和收盘价的指数数据 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | 000928 | |
| end_date | No | 20240604 | |
| start_date | No | 20180526 |