index_stock_cons_csindex
Retrieve current constituent stocks for a Chinese index from CSIndex using its code. Provide an index symbol like 000300 to receive a DataFrame with the latest holdings.
Instructions
中证指数网站-成份股目录 https://www.csindex.com.cn/zh-CN/indices/index-detail/000300 :param symbol: 指数代码, 可以通过 ak.index_stock_info() 函数获取 :type symbol: str :return: 最新指数的成份股 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | 000300 |