index_hist_sw
Fetch historical time series data for Shenwan Hongyuan indices. Specify the index code and period (day, week, or month) to retrieve historical records.
Instructions
申万宏源研究-指数发布-指数详情-指数历史数据 https://www.swsresearch.com/institute_sw/allIndex/releasedIndex/releasedetail?code=801001&name=%E7%94%B3%E4%B8%8750 :param symbol: 指数代码 :type symbol: str :param period: choice of {"day", "week", "month"} :type period: str :return: 指数历史数据 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | day | |
| symbol | No | 801030 |