Introduction

DeepSeek Harness (DSH) uses a plugin-based architecture to allow feature extension in the Web host environment. To address the needs of quantitative investment research and daily market monitoring, community developers maintain dsh-plugin-stock-x. This is a plugin built with Node.js and native Web technologies, designed for DSH Web mode, providing real-time market data across the entire market, professional multi-window market monitoring tools, and deeply integrated investment research workflows with the DeepSeek large language model.

Core Capabilities

Technical Foundation

  • Pure JS implementation: The plugin is written in JavaScript with zero external runtime dependencies and does not rely on a Python environment or local databases.
  • Runtime environment: Requires Node.js version >= 18.0.0 and an installed DeepSeek Harness (dsh).

UI and Interaction

  • Floating ball and theme: Provides a light frosted-glass floating ball in a laid-back style. It remains collapsed in a corner of the screen and expands on click. Supports a global settings center for adjusting the theme (dark/light), regional gain/loss color conventions (red for gains/green for losses, or green for gains/red for losses), market data refresh frequency, and watchlist data backup.
  • Global search: Supports smart pinyin search (e.g., gzmt), full pinyin search (e.g., tengxun), and ticker/code search, enabling instant market-wide search.

Market Data and Coverage

  • Full-market quotes: Covers A-shares (Shanghai/Shenzhen/BSE), HK stocks, US stocks, and eight major global core indices.
  • Deep information: Provides company F10 profiles and instant news, including main business operations, financial data, and links to announcements and news.

Charting and Market Viewing

  • Professional multi-window time-series charts: Supports intraday VWAP line, 5-day intraday, daily K-line, weekly K-line, monthly K-line, and multi-timeframe minute K-line. Supports MA/BOLL/EMA, VOL/MACD/RSI/KDJ indicators, and intelligent multi-window layouts.
  • K-line crosshair synchronization: When moving the crosshair, the top HUD data bar dynamically displays open, high, low, close, percentage change, and indicator values.
  • Five-level bid/ask depth: Displays real-time five-level buy/sell order prices and quantities, with smart conversion to 10,000-lot units.
  • Fund flow: Shows main capital flow, large-order buying/selling activity, and the 5-day continuous flow trend history.
  • Hot lists: Provides rankings of top-gaining industries and concept themes across the market, with support for viewing constituent stocks and adding them to the watchlist with one click.

AI Integration and Strategies

  • Deep DSH integration: The stock detail window supports one-click sending of quotes, key price points, and prompts to the DSH chat; supports one-click AI quantitative diagnosis questions.
  • AI text-based stock screening: Includes a built-in AI stock screening strategy library and supports custom strategies. When executing a strategy, choose the stock pool scope (watchlist/sector/all A-shares). DeepSeek calls the plugin API to perform in-depth analysis.
  • Multiple strategy templates: Provides prompt templates for panoramic investment research, short-term offense/defense, value long-term investing, and intraday T-trading for stuck position recovery.

Asset Management and Risk Control

  • Simulated holdings and P&L: Supports entering costs and holdings for watchlist stocks, automatically calculates market value, unrealized P&L, and return rate, and summarizes them at the top of the panel.
  • Trade review and tags: Supports adding category tags to individual stocks (e.g., core heavy position, breakout watch) and independent review notes, stored with local encryption.
  • Alert notifications: Supports setting target price breaks, stop-loss warning prices, and abnormal movement thresholds; triggers a toast notification when hit during trading.

Installation and Activation

Prerequisites

  1. Install Node.js, version 18.0.0 or higher.
  2. Ensure DeepSeek Harness (dsh) is installed and properly usable.

Installation Steps

  1. Enter the project directory:
cd dsh-plugin-stock-x
  1. Install dependencies:
npm install
  1. Install the plugin into the DSH Web Profile:
dsh plugin --profile web add file:.

Start the Service

After installation, start the DeepSeek Harness Web host:

dsh web

Visit the DSH Web page in the browser. A stock floating ball appears in the bottom-right corner; click it to use the plugin.

Typical Usage

Standalone Mode

If used only as a local market monitoring tool, no DSH dependency is required. Run directly in the project directory:

npm start

Then visit the following addresses in the browser:
- Standalone dashboard workspace: http://127.0.0.1:3000
- Embedded web test demo: http://127.0.0.1:3000/demo

DSH Web Mode

In the DSH Web environment, use the floating ball to enter the watchlist panel or stock detail window. In the top bar of the detail window, click “💬 Send to Chat” or “⚡ One-Click Ask AI” to send the current stock’s quote data and order book information to the DSH chat window, then combine DeepSeek’s understanding capabilities for investment research analysis.

Notes

  • License: This plugin is open-sourced under the MIT License.
  • Permissions and security: The plugin runs with the current DSH process privileges. Please inspect the source code before installation.
  • Uninstallation: To uninstall, run:
dsh plugin --profile web remove dsh-plugin-stock-x