PM25000/dsh-ths-holdings

PM25000★ 1TypeScriptLast synced: 2026-08-15

Open on GitHub

DSH 持仓盈亏悬浮卡片(同花顺投资账本)— 自动同步真实持仓数据,显示今日盈亏、上证指数和当日走势图,无需手动添加股票。

README excerpt

dsh-ths-holdings English 中文 A floating position P&L card for the DeepSeek Harness (DSH) web GUI. It automatically syncs your real portfolio data from the Tonghuashun investment-ledger (同花顺投资账本) — no manual stock picking. Displays 今日盈亏 (today's P&L), 上证指数 (Shanghai Composite Index), and an intraday mini chart, all in the A-share red-up/green-down convention. Unlike watchlist tools, this plugin reads your actual positions and shows your real profit & loss — both as a percentage and as a yuan amount — updating every 20 seconds. Screenshots Installation Installation is pnpm add inside your web profile: the package's dsh.bundle.patch is applied to the profile layer automatically. Then restart dsh web — a floating card appears at the bottom-right corner. To install manually (without dsh plugin ), edit $DSH HOME/profiles/web/package.json : then cd $DSH HOME/profiles/web && pnpm install and restart dsh web . The plugin row itself comes from the package's cordis.patch.yml — you don't write it by hand. Usage 1. Open https://tzzb.10jqka.com.cn and log in. 2. Press F12 → Console and run: 3. The cookie is now in your clipboard. 4. Open the DSH web GUI — click ⚙ on the card. 5. Paste the cookie …

View full README on GitHub →
Tools / Devdsh-plugin

Category