dsh-stock-watch: A Real-time A-share Watchlist Plugin for DeepSeek Harness

awu12277/dsh-stock-watch

UI & ExperienceVerified
Listed on 2026-08-20
Page last updated 2026-08-20

A DSH plugin that adds a collapsible popup to the top-right of the web UI for real-time A-share watchlist monitoring.

Provides a collapsible popup in the top-right corner of the DeepSeek Harness Web interface to monitor watchlist quotes, intraday and K-line charts, and set buy/sell target prices.

install
dsh plugin --profile web add github:awu12277/dsh-stock-watch
Category
UI & Experience
Platform
DSH-Plugin
Author
awu12277
Distribution
Plugin

dsh-stock-watch Key Features

Collapsible top-right popupMulti-group watchlistMinute & K-line chartsTarget price alertsDark/light themes

dsh-stock-watch Repository

awu12277
Publisher
awu12277
Repository
awu12277/dsh-stock-watch
56
Stars
5
Forks
0
Watchers
4
Open issues
LanguageJavaScript
LicenseMIT License
Website
Repo last push2026-08-17 16:22:52
Repo created2026-08-14 18:27:29
Topics
dsh-plugindsh-plugin-marketdsh-pluginspluginstockstock-market
Default branchmain

dsh-stock-watch Repo Summary

dsh-stock-watch is an A-share watchlist real-time quote monitoring plugin (DSH plugin) for DeepSeek Harness (DSH), maintained by Awu12277 under the MIT license. It solves the problem of quickly monitoring watchlist quotes within the DSH Web interface: it provides a collapsible popup in the top-right corner of the browser, displaying real-time quotes, intraday charts, and K-line charts, with support for setting buy/sell target prices. Core capabilities include a draggable and snap-to-edge pill popup, multi-group watchlist management, a real-time quote list (auto-refresh every 10 seconds), intraday and K-line views (based on TradingView Lightweight Charts with automatic fallback to SVG), editable target prices, and dark/light theme switching. The data source is the same as the author's other CLI project stocking (Tencent Finance), and the color scheme follows the A-share convention of red for gains and green for losses.

What core features does the dsh-stock-watch DSH plugin support?

  • Top-right collapsible popup: When collapsed, shows a pill with real-time gain/loss counts; when expanded, shows a full list; clicking a row enters details.
  • Draggable and snap-to-edge pill: Hold the "📈 自选股" pill to drag it anywhere on the screen; when dragged to the screen edges, it auto-snaps and becomes a hemisphere (showing gain/loss counts like 3↑0↓); position persists to localStorage.
  • Multi-group watchlist: Group tabs for switching, configuration stored in browser localStorage (first run auto-migrates from ~/.stocking/settings.json).
  • Real-time quote list: Displays name/code, current price, change percentage, mini intraday sparkline, target price trigger markers (buy/sell/wait/-), auto-refresh every 10 seconds with countdown.
  • Intraday view: Full-day minute price line (red up, green down) + yellow VWAP line + dashed yesterday-close baseline; time axis labeled according to A-share trading hours (Beijing time 09:30–11:30 / 13:00–15:00), with lunch break left blank.
  • K-line view: Daily/weekly/monthly forward-adjusted candlestick chart + volume bars + MA lines (MA5 white / MA10 yellow / MA20 purple / MA60 green, A-share colors, customizable visibility in top-right, config stored in localStorage), supports + / − / reset buttons for zooming, based on TradingView Lightweight Charts (CDN lazy-loaded, falls back to self-drawn SVG on failure).
  • Editable target prices: Click "buy target / sell target" on the detail page to enter an input box (numbers with two decimals, clear to remove, Enter to confirm / Esc to cancel), recalculates trigger markers instantly and persists.
  • Dark/light themes: Two sets of CSS variables, default dark, one-click toggle with ☀️/🌙, chart colors adapt accordingly.

How to install dsh-stock-watch?

Published to npm, install with one command to your web profile:

bash
dsh plugin --profile web add dsh-stock-watch
  • Local development install: dsh plugin --profile web add file:D:\projects\github\dsh-stock-watch
  • Or directly via git: dsh plugin --profile web add github:awu12277/dsh-stock-watch
  • After installation, restart dsh web to take effect; uninstall: dsh plugin --profile web remove dsh-stock-watch

After installation, refresh the page and the "📈 自选股" pill appears in the top-right corner.

What is the architecture and data source of dsh-stock-watch?

The plugin is split into a browser-side (client.js) and a DSH Host-side (index.js). The browser side renders the popup via the shell.overlay slot, uses React + Lightweight Charts + SVG fallback, and stores configuration in localStorage. The Host side is a cordis plugin that registers 5 routes: /config reads ~/.stocking/settings.json, /stocks searches all A-shares, /quotes fetches real-time quotes (Tencent minute API), /kline gets daily/weekly/monthly K-lines, and /minute gets intraday details. The data source is Tencent Finance APIs, and the parsing logic is consistent with stocking's market.ts. The Host side uses Node's native fetch for direct connections, so it works even if a web fetch provider is not mounted or the sandbox blocks network access.

Which DeepSeek Harness versions and platforms does dsh-stock-watch support?

As a DSH plugin, it is declared via the dsh.bundle composite package manifest and targets the DSH Web interface. The --profile web in the install command indicates it is for the web profile. The plugin is written in JavaScript and relies on Node's native fetch, so a Node environment is required. For specific version compatibility, refer to the official documentation or the repository's release notes.

What is the license and update status of dsh-stock-watch?

The project is licensed under the MIT License, maintained by Awu12277, and last updated on 2026-08-16. The repository currently has 25 stars, 3 forks, and no open issues.

View more DSH plugins at dsh-plugin.org

DSH-Plugin FAQ