stock_zh_index_daily_tx
Fetch daily historical data for stocks or indices from Tencent Securities, supporting custom date ranges and forward-adjusted prices. Complements other data sources when they miss certain index data.
Instructions
腾讯证券-日频-股票或者指数历史数据(支持自定义时间范围) 作为 ak.stock_zh_index_daily() 的补充, 因为在新浪中有部分指数数据缺失 注意都是: 前复权, 不同网站复权方式不同, 不可混用数据 https://gu.qq.com/sh000919/zs :param symbol: 带市场标识的股票或者指数代码 :type symbol: str :param start_date: 开始日期, 格式 "YYYYMMDD", 为空则从最早日期开始 :type start_date: str :param end_date: 结束日期, 格式 "YYYYMMDD", 为空则到当前日期 :type end_date: str :return: 前复权的股票和指数数据 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | sz980017 | |
| end_date | No | ||
| start_date | No |