index_zh_a_hist
Get historical OHLC and volume data for Chinese stock indices on daily, weekly, or monthly frequency. Provide an index symbol and date range to receive a structured DataFrame for analysis.
Instructions
东方财富网-中国股票指数-行情数据 https://quote.eastmoney.com/zz/2.000859.html :param symbol: 指数代码 :type symbol: str :param period: choice of {'daily', 'weekly', 'monthly'} :type period: 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 |
|---|---|---|---|
| period | No | daily | |
| symbol | No | 000859 | |
| end_date | No | 22220101 | |
| start_date | No | 19700101 |