PM25000/dsh-ths-holdings0

dsh-ths-holdings

DSH 持仓盈亏悬浮卡片(同花顺投资账本)— 自动同步真实持仓数据,显示今日盈亏、上证指数和当日走势图,无需手动添加股票。Real portfolio holdings overlay for the DSH web GUI — automatically syncs your positions from the Tonghuashun investment-ledger API.

AI Analysis

核心用途是在 DSH 网页端界面上提供同花顺持仓盈亏的悬浮卡片。适合需要在 DSH 界面中实时监控股票持仓和今日盈亏的投资理财用户。

Package
dsh-ths-holdings
Version
0.1.1
License
MIT
Last updated
Aug 15, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PM25000/dsh-ths-holdings

Usage

  1. Open https://tzzb.10jqka.com.cn and log in.
  2. Press F12 → Console and run:
    copy(document.cookie)
    
  3. The cookie is now in your clipboard.
  4. Open the DSH web GUI — click on the card.
  5. Paste the cookie into STOCK_PNL_COOKIEsave.
  6. 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).