Skip to content

[Good first issue] 对比页显示行情源已提供的股息率 #103

Backlog

Description

@ydflow

Compare displays a missing dividend yield even when the valuation capability returns one.

复现

让长桥估值行情的 fixture 返回 dps_rate: "2.5",同时让分红历史返回一条包含 ex_date 的 DividendRecord。解析和能力层输出已包含 company.valuation.data.dpsRate = 2.5,但离线调用 buildComparison() 后,Dividend Yield 单元格仍是 —,因为服务只在分红历史数据里查找股息率。

验收标准

  • 有有效的 company.valuation.dpsRate 时,对比页把 2.5 展示为 2.5%。确认 0 也能作为有效值展示。
  • 两种来源均缺少股息率时保留缺失态,并用已有的显式 dividendYield fixture 做兼容回归。

源码与测试入口

欢迎评论 /claim 认领。PR 请关联本 Issue,并附上实际执行的测试命令和结果。 贡献指南

Activity

  1. added
    bug
    help wanted
    good first issue
    area:desktop
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:desktopbuggood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions