A-share dividend ledger: record which stocks you hold, since when, and how many shares; the plugin computes how much cash dividend each holding should have received from published dividend plans, plus portfolio-level yield on cost and dividend yield. A zero-dependency Python core (standard library only, Python 3.11+) sits behind a thin TypeScript DSH adapter, exposing four conversation tools, a right-side browser panel with stock search and holdings editing, and the HTTP routes that panel uses. Dividends are summed by payment date, falling back to the ex-dividend date because public A-share sources do not expose payment dates. Announced-but-unpaid dividends are kept in a separate block, never added to the historical total. Repeated imports are idempotent. Money and ratios are decimal strings in JSON; missing inputs are null, never zero. Live data requires the westock CLI. It does not connect to brokerage accounts, read credentials, extrapolate future dividends, or schedule tasks.
This plugin has not published an npm package, so the store does not offer an install command yet. Use the repository link below to view the source.