stock_zh_a_hist
Fetch historical A-share stock prices from East Money, with daily, weekly, or monthly periods and optional price adjustment for accurate backtesting and analysis.
Instructions
东方财富网-行情首页-沪深京 A 股-每日行情 https://quote.eastmoney.com/concept/sh603777.html?from=classic :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 :param adjust: choice of {"qfq": "前复权", "hfq": "后复权", "": "不复权"} :type adjust: str :param timeout: choice of None or a positive float number :type timeout: float :return: 每日行情 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adjust | No | ||
| period | No | daily | |
| symbol | No | 000001 | |
| timeout | No | ||
| end_date | No | 20500101 | |
| start_date | No | 19700101 |