PM25000/dsh-ths-holdings
Floating card showing your real position P&L, Shanghai Composite Index, and intraday chart, auto-synced from the Tonghuashun investment-ledger — no manual watchlist setup.
A floating position P&L card for the DSH web GUI that automatically syncs real portfolio data from the Tonghuashun investment ledger — no manual stock picking. It displays today's P&L (今日盈亏), the Shanghai Composite Index (上证指数), and an intraday mini chart in the A-share red-up/green-down convention, updating every 20 seconds. Unlike watchlist tools it reads your actual positions and shows real profit & loss, both as a percentage and a yuan amount.
Install
dsh plugin --profile web add dsh-ths-holdingsdsh plugin --profile web add dsh-ths-holdings (npm dsh-ths-holdings 0.1.7, verified npm 2026-08-31). The package's dsh.bundle.patch is applied to the profile layer automatically; restart dsh web and a floating card appears at the bottom-right.
Compatibility
DSH web profile; requires a Tonghuashun investment-ledger (同花顺投资账本) account for real position data; bilingual README (EN/zh); MIT.
Details
- Repo: PM25000/dsh-ths-holdings
- Category: Just for Fun
- Stars: 2
- Version: npm dsh-ths-holdings 0.1.7
- Last push: 2026-08-22
- First seen: 2026-08-15
Recent updates
Real position P&L from Tonghuashun ledger; today's P&L + Shanghai Composite + intraday mini chart; A-share red-up/green-down convention; 20-second refresh.
FAQ
- Does it support manual stock picking?
- No — it reads your actual positions from the Tonghuashun investment ledger automatically, showing real profit & loss rather than a watchlist.
- How often does the card update?
- The card refreshes every 20 seconds, showing today's P&L both as a percentage and as a yuan amount plus the Shanghai Composite Index.
- How do I install it manually?
- The npm install applies dsh.bundle.patch automatically; manually you can add dsh-ths-holdings to the dependencies and bundles layer of $DSH_HOME/profiles/web/package.json.
Alternatives
zh667/TokenLedger · Cassius0924/dsh-usage-dashboard · yflmq001/dsh-cost-tracker