加载中...
同花顺盈利预测综合值的标准差、预测机构家数、净利润修订家数和基准股本,仅在个股有研报发布的交易日取值,每个预测年度一行,2017 年起。
12 个字段
本表记录同花顺盈利预测综合值中的离散度、预测机构家数和净利润修订家数,补充 cn_stock_financial_forecast_consensus_rolling 没有的字段。
cn_stock_research_report_eastmoney 为准)| 关键字 | 释意 |
|---|---|
| date | 快照日期,个股有研报发布的交易日 |
| instrument | 证券代码 |
| forecast_year | 预测年度,即指标针对的财年 |
每个快照对个股取 3 个预测年度,每个预测年度一行,forecast_year 标明指标针对哪一年的预测,last_report_year 标明快照日期最近已公布的年报是哪一年。
last_report_year),预测年度取 Y+1、Y+2、Y+3。公布 Y 年年报后,不再取 Y 年的预测。cn_stock_financial_changedate 中利润表、报告期为 12 月 31 日的首次公告日。公告日当天的快照仍按未公布处理,次一个快照起才切换。例:某股票 2025 年报在 2026-03-28 公布。2026-03-28 及之前的快照,last_report_year 为 2024,预测年度为 2025、2026、2027。2026-03-28 之后的快照,last_report_year 为 2025,预测年度为 2026、2027(2028 超过上限)。
| 字段 | 含义 | 综合值周期 |
|---|---|---|
| last_report_year | 快照日期最近已公布的年报所属财年;个股没有年报公告记录时为推断值 | - |
| eps_sd | 预测每股收益标准差,元 | 180 天 |
| eps_org_num | 每股收益预测机构家数 | 180 天 |
| np_org_num | 净利润预测机构家数 | 180 天 |
| dps_org_num | 每股股利预测机构家数 | 180 天 |
| np_upper_num | 净利润调高家数 | 30 天 |
| np_lower_num | 净利润调低家数 | 30 天 |
| np_keep_num | 净利润维持家数 | 30 天 |
| bench_share | 预测基准股本综合值,单位沿用同花顺口径 | 180 天 |
date 与快照日期的间隔自行截断。forecast_year 在不同快照日期的相对位置不同:同一只股票,2026-03 的 2026 是未来第二年,2026-06 的 2026 是当年。比较前先用 forecast_year 对齐。取 2025 年度的预测,按个股向后填充到每个交易日,并保留快照日期用于判断数据是否过时:
from bigquant import dai
sql = """SELECT a.date, a.instrument, b.date AS snapshot_date, b.forecast_year, b.eps_sd, b.eps_org_num,2026-11-13 至 2026-11-20 的数据,按日期、股票代码和预测年度排序,展示前 5 行和后 5 行。
| date | instrument | forecast_year | last_report_year | eps_sd | eps_org_num | np_org_num | dps_org_num | np_upper_num | np_lower_num | np_keep_num | bench_share |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2026-11-13 00:00:00 | 000560.SZ | 2026 | 2025 | 0.0202 | 7 | 7 | nan | 2 | 1 | 1 | 1.6254e+09 |
| 2026-11-13 00:00:00 | 000560.SZ | 2027 | 2025 | 0.0261 | 7 | 7 | 1 | 2 | 1 | 1 | nan |
| 2026-11-13 00:00:00 | 000680.SZ | 2026 | 2025 | 0.025 | 11 | 11 | 3 | nan | 6 | 1 | nan |
| 2026-11-13 00:00:00 | 000680.SZ | 2027 | 2025 | 0.0342 | 11 | 11 | 3 | 1 | 5 | 1 | nan |
| 2026-11-13 00:00:00 | 002138.SZ | 2026 | 2025 | 0.0721 | 13 | 13 | 3 | 1 | 6 | 2 | nan |
| 2026-11-20 00:00:00 | 688302.SH | 2027 | 2025 | 0.4592 | 3 | 1 | nan | nan | nan | nan | nan |
| 2026-11-20 00:00:00 | 688382.SH | 2026 | 2025 | 0.0978 | 8 | 6 | nan | nan | 1 | 1 | nan |
| 2026-11-20 00:00:00 | 688382.SH | 2027 | 2025 | 0.2596 | 8 | 6 | nan | nan | 1 | 1 | nan |
| 2026-11-20 00:00:00 | 688575.SH | 2026 | 2025 | 0.0372 | 10 | 9 | 1 | 2 | 1 | 1 | nan |
| 2026-11-20 00:00:00 | 688575.SH | 2027 | 2025 | 0.0706 | 10 | 9 | 1 | 2 | 1 | 1 | nan |
SELECT date, instrument, forecast_year, last_report_year, eps_sd, eps_org_num, np_org_num FROM cn_stock_earning_forecast_consensus WHERE date >= '2026-10-22' ORDER BY date LIMIT 100
SELECT date, instrument, forecast_year, last_report_year, eps_sd, eps_org_num, np_org_num FROM cn_stock_earning_forecast_consensus WHERE date >= '2026-10-22' ORDER BY date LIMIT 100