dsh-ths-holdings
DSH 持仓盈亏悬浮卡片(同花顺投资账本)— 自动同步真实持仓数据,显示今日盈亏、上证指数和当日走势图,无需手动添加股票。Real portfolio holdings overlay for the DSH web GUI — automatically syncs your positions from the Tonghuashun investment-ledger API.
AI 분석
核心用途是在 DSH 网页端界面上提供同花顺持仓盈亏的悬浮卡片。适合需要在 DSH 界面中实时监控股票持仓和今日盈亏的投资理财用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PM25000/dsh-ths-holdingsUsage
- Open https://tzzb.10jqka.com.cn and log in.
- Press F12 → Console and run:
copy(document.cookie) - The cookie is now in your clipboard.
- Open the DSH web GUI — click ⚙ on the card.
- Paste the cookie into STOCK_PNL_COOKIE → save.
- The plugin auto-discovers your portfolio — if you have several, pick one from the dropdown. Done.
The session cookie expires eventually — when it does, the card shows a Token 已过期 banner; repeat steps 1–5 with a fresh cookie (the v anti-bot token is handled automatically).