Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By quantskillsGPL-3.0In 1 marketplace
Organizes cross-period HK/US target-price and rating revisions into a research report.
Claude hands work to one, or you mention it with @.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
一个基于 PandaData 的 QuantSkills Community Project。它的重点不是展示某一时点的一致预期快照,而是把港股与美股的目标价、评级变化组织成修订雷达:跨五个回看期的修订轨迹矩阵、规则化一致预期状态机,以及可离线复核的 HTML 研究报告。
本项目尚未经过 QuantSkills 官方审查或认可,仅用于研究与教育,不构成投资建议,不提供买卖指令、收益承诺或仓位建议。
English: README.en.md
week、1month、3month、6month、12month 五个回看期。要求:Python 3.10+、可用的 PandaData 账号,以及网络可访问 PandaData 服务。
python -m pip install -r requirements.txt
python -m scripts.run_report --market both --horizon 1month --min-analysts 5 --min-recommendations 5
默认输出到 output/:
consensus_revision_YYYYMMDD_HHMMSS.html:本次带时间戳的完整报告。latest.html:最新一次报告的固定入口。认证始终是运行时的第一个外部动作。可通过当前进程环境变量提供账号:
$env:PANDADATA_USERNAME = "your-account"
$env:PANDADATA_PASSWORD = "your-password"
python -m scripts.run_report --market both
未设置环境变量时,桌面环境会使用可见的本地登录窗口;密码仅存在于进程内存,不写入命令行、日志、配置文件或 HTML。对非 TTY 调用,只有在 GUI 桌面主机显式使用 --desktop-login-window 时才请求登录窗口:
python -m scripts.run_report --market both --desktop-login-window
86 前缀;其他账号保持原样。--no-login-window 仅适用于不允许可见登录窗口的无人值守环境。# 指定标的(.HK 自动路由到港股)
python -m scripts.run_report --market both --symbols 0700.HK,9988.HK,AAPL,NVDA
# 调整回看期、目标价覆盖与评级覆盖阈值
python -m scripts.run_report --market both --horizon 3month --min-analysts 8 --min-recommendations 8
# 调整目标价方向阈值与每榜条数
python -m scripts.run_report --market hk --revision-threshold 0.02 --ranking-limit 30
# 调整事件展示/发现窗口
python -m scripts.run_report --market both --event-past-days 30 --event-future-days 30 --event-discovery-days 730
# 不查询事件上下文,仅生成一致预期榜单与个股解读
python -m scripts.run_report --market both --no-events
关键参数:
| 参数 | 说明 |
|---|---|
--market | hk、us 或 both,默认 both。 |
--symbols | 逗号分隔的股票代码;未设置时使用支持范围内的完整股票池。 |
--horizon | 回看期:week、1month、3month、6month、12month。 |
--min-analysts | 目标价榜单的最低估计数,默认 5。 |
--min-recommendations | 评级变化榜单的最低推荐数,默认 5。 |
--revision-threshold | 目标价上修/下修的绝对变化阈值,默认 0.01。 |
--ranking-limit | 每个榜单最多展示条数,默认 20。 |
--start-date / --end-date | 可选价格查询窗口,格式 YYYYMMDD。 |
--output-dir | 输出目录,默认 output/。 |
estimates_num;评级榜使用 recommendations_num。这份报告的主要阅读路径是“修订轨迹矩阵 → 一致预期状态机 → 个股可审计证据”,而不是单点一致预期查询。修订轨迹矩阵和个股轨迹按五个回看期展示聚合目标价与评级的变化;状态如“持续上修”“目标价与评级共振改善”或“高分歧待核验”只用于解释聚合证据,不改变排名,也不是个人分析师修订记录。
事件仅作解释上下文,不改变排名。数据完整性区域披露接口来源、缺失数据、价格回退、核心股票池排除和校验信息;默认收起以保持报告聚焦。
PandaData 是本项目的唯一原始数据源;不使用其他数据源补值。完整字段映射与采集规则见 references/pandadata-api-map.md,计算方法见 references/methodology.md。
| 用途 | 港股接口 | 美股接口 |
|---|---|---|
| 证券身份、状态、类型、行业 | get_hk_detail | get_us_detail |
| 目标价聚合一致预期 | get_stock_ncycl_consensus | get_stock_ncycl_estimate |
| 评级聚合一致预期 | get_stock_recommendation_consensus | get_stock_recommendation_estimate |
| 最新返回日行情/收盘价 | get_hk_daily | get_us_daily |
| 分红与拆股事件 | get_stock_dividend_event | get_stock_dividend_activity |
| 市场/披露事件 | get_stock_market_event | get_stock_market_activity |
| 公司会议事件 | get_stock_meeting_event | get_stock_meeting_activity |
| 财务披露事件 | get_stock_financial_event | get_stock_financial_activity |
| 投资者关系事件 | get_stock_ir_event | get_stock_ir_activity |
| 最近交易日探测(可选) | get_last_trade_date | get_last_trade_date |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
hk-us-consensus-revision-radar@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin hk-us-consensus-revision-radarPlugins from other owners that cover similar ground