index_component_sw
Retrieve constituent stocks for a specified Shenwan Hongyuan research index code. Returns a DataFrame listing component securities to analyze index composition.
Instructions
申万宏源研究-指数发布-指数详情-成分股 https://www.swsresearch.com/institute_sw/allIndex/releasedIndex/releasedetail?code=801001&name=%E7%94%B3%E4%B8%8750 :param symbol: 指数代码 :type symbol: str :return: 成分股 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | 801001 |