stock_us_hist
Fetch historical US stock data for a given symbol, with adjustable periods (daily, weekly, monthly), date ranges, and price adjustment options.
Instructions
东方财富网-行情-美股-每日行情
https://quote.eastmoney.com/us/ENTX.html#fullScreenChart
:param symbol: 股票代码; 此股票代码需要通过调用 ak.stock_us_spot_em() 的 代码 字段获取
: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": "1", "hfq": "2", "": "不复权"}
:type adjust: str
:return: 每日行情
:rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adjust | No | ||
| period | No | daily | |
| symbol | No | 105.MSFT | |
| end_date | No | 22220101 | |
| start_date | No | 19700101 |