stock_industry_pe_ratio_cninfo
Fetch price-to-earnings ratios for Chinese stock industries from cninfo, using a specified industry classification (CSI or national) and date.
Instructions
巨潮资讯-数据中心-行业分析-行业市盈率 http://webapi.cninfo.com.cn/#/thematicStatistics :param symbol: choice of {"证监会行业分类", "国证行业分类"} :type symbol: str :param date: 查询日期 :type date: str :return: 行业市盈率 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 20210910 | |
| symbol | No | 证监会行业分类 |