index_detail_hist_cni
Retrieve historical constituent samples for CNI indices. Provide an index code like '399001' to get a pandas DataFrame of past sample details, useful for tracking index composition changes.
Instructions
国证指数-样本详情-历史样本 https://www.cnindex.com.cn/module/index-detail.html?act_menu=1&indexCode=399001 :param symbol: 指数代码; "399001" :type symbol: str :return: 历史样本 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | 399001 |