Preface

When building agents or automation workflows in DeepSeek Harness (DSH), market data, positions, and risk metrics are often scattered across scripts, spreadsheets, or temporary curl commands, disconnected from the conversation interface. If you are interested in the two-way quotes for domestic Au99.99, international XAU, and China Merchants Bank (CMB) accumulated gold, and wish to view intraday references, replay diagnostics, and local risk estimations within the same host—rather than opening a separate trading system—the community plugin dsh-plugin-goldboard provides a sidebar entry + independent main panel page, sharing authentication and process environments with Harness Web / Desktop.

The following section describes the plugin’s positioning, capabilities, installation, verification, typical usage, and precautions. Facts are subject to the GitHub repository README. The plugin is categorized as a “Networking Tool” in the SkillHub catalog, maintained by c-ling, with the current package version 1.15.0 (MIT License).

What is this

dsh-plugin-goldboard is a “Real-time Gold Dashboard and Strategy Diagnostics” plugin for DeepSeek Harness. It opens an independent page in the main content area via the sidebar entry “黄金看板 / Gold Board”, utilizing six tabs (Overview, Trading, Strategy & Replay, Analysis, Data, Settings) to host Au99.99 / XAU / CMB market data, an independent trading calendar, CMB two-way historical data, position suggestions with risk constraints, and reproducible replays with dataset and Out-of-Sample (OOS) admission thresholds.

The README explicitly states: The plugin provides technical references only; it does not place automatic orders and does not constitute investment advice. The default strategy on the live side is always control, and the experiment layer is disabled by default.

Core Features

Interface and Data Refresh

  • Starting from v1.15.0, the 0.2.1 sidebar page restructuring is adopted: sidebar.panellist entry + main independent page. The Host API route is /api/dsh-plugin-goldboard/..., and configuration is stored in the plugin’s private config.json. The old top-right floating window and Settings embedded page have been removed.
  • The page refreshes approximately every 10 seconds (60 seconds when hidden), with times displayed in Beijing Time (BJT). Real-time gold prices (Domestic Au99.99, International XAU, CMB Accumulated Gold) can be displayed to the right of the entry (configurable in the “Settings” tab).

Market Data and CMB Accumulated Gold

  • Displays Au99.99 (CNY/g), XAU (USD/oz), USDCNY, international gold price converted to CNY/g, and the price spread between domestic and international markets.
  • CMB Accumulated Gold: Prioritizes fetching customer buy/sell prices (zBuyPrc / zSelPrc) via the CMB mbmodule-openapi.paas.cmbchina.com market center interface. If the interface is unavailable, it falls back to an estimate based on the international gold price converted by exchange rate plus a fixed spread. When samples are sufficient, it can dynamically calibrate based on the two-way median. Newly collected CMB K-lines persist real ask/bid OHLC data.

Intraday Suggestions and Signal Sources

  • Suggestion zones prioritize real-time data from CMB Accumulated Gold. Signal source switching features stickiness (degrades only after ~90 seconds of unavailability, switches back only after ~90 seconds of recovery) to prevent caliber flipping caused by interface jitter.
  • Intraday signals are based on 5/10/30/60-minute data: EMA20 trend filter, 5-minute RSI/support, etc. Each window has data coverage thresholds; if insufficient, the dashboard indicates that suggestions are temporarily unavailable. Default commission assumption is 0 for buy and 5 CNY/g for sell (semantics can be adjusted in trading-related configurations; see README).
  • Supports recording multiple positions in batches, adding/reducing positions within target ranges, take-profit/trailing take-profit/stop-loss, etc. Optional target drawdown take-profit, daily EMA20 trend gate, pre-arm time stop-loss, etc. (mostly opt-in, disabled by default or maintaining control behavior).

Risk, Replay, and Experiments

  • Phase 2: Default is fixed_grams. Optional budget mode and daily/weekly/drawdown gates. Reference equity and ledger P&L are local risk estimates, not real account flows.
  • Phase 3: ReplaySimulator and report v6 (as-of, dataset/input/report fingerprint, walk-forward folds, risk-adjusted metrics, and benchmarks). When history is insufficient or coverage/fee semantics are unverified, the Host forces exploratory status and does not display “Verified Strategy”.
  • Phase 4: Strategy experiment layer (contract, control adapter, ORB, etc.) is disabled by default. promotion.liveStrategyChanged is always false.

Alerts and Analysis

  • Threshold crossings can be alerted via host system notifications and Webhooks.
  • The “Analysis” tab uses the model provider currently registered in the Harness. If no model is selected, no model calls are initiated. Analysis logs are queried via a desensitized interface.

Installation and Activation

Target runtime is DeepSeek Harness 0.2.1+ (Web and Desktop). The package declares dsh.bundle; bundle installation is recommended. The current README pins GitHub installation to #v1.15.0 (use #v1.14.0 to fall back to the old floating window).

Execute one of the following commands in the terminal. This adds the package to the profile’s dsh.profile.bundles and inserts the loader line via cordis.patch.yml, so you do not need to manually write the same loader again.

dsh plugin --profile web add "github:c-ling/dsh-plugin-goldboard#v1.15.0"
# Or
npx @deepseek-ai/dsh plugin --profile web add "github:c-ling/dsh-plugin-goldboard#v1.15.0"

Desktop (Bundle)

Use the Desktop’s built-in CLI (npx @deepseek-ai/dsh will reject --profile desktop):

"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" \
  plugin --profile desktop add "github:c-ling/dsh-plugin-goldboard#v1.15.0"

Alternatively, after quitting the App, you can install via GitHub tag or local path on the Plugins page.

Restart and Entry

After installation or update, restart the host (restart dsh web for Web; quit and reopen the App for Desktop) and hard refresh the page. client-modules caches package rulings by process; new bundles will not take effect without a restart. After the “黄金看板” (Gold Board) appears in the sidebar, open the six tabs mentioned above in the main content area.

Typical Usage and Verification

GUI Self-Check

Open the sidebar “黄金看板” in the logged-in GUI. Confirm that the page loads market data and suggestions, tabs can be switched, configurations saved independently in each tab persist after restart, and there are no slot entry crashed errors in the console.

HTTP Probes (Port needs to be replaced)

The following curl commands are used to distinguish between new and old routes. A 401 only indicates that the request reached the authentication bridge and cannot solely prove business routing availability. Full capabilities remain subject to the GUI.

curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:<port>/api/dsh-plugin-goldboard/snapshot
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:<port>/dsh-plugin-goldboard/snapshot
# The latter returning 404 indicates the old anonymous webServer route has been removed

Main APIs (All require authentication, path contains /api)

curl -s 'http://127.0.0.1:<port>/api/dsh-plugin-goldboard/snapshot'
curl -s 'http://127.0.0.1:<port>/api/dsh-plugin-goldboard/ledger?limit=20'
curl -s 'http://127.0.0.1:<port>/api/dsh-plugin-goldboard/strategies'
curl -s 'http://127.0.0.1:<port>/api/dsh-plugin-goldboard/replay-reports'

/snapshot returns aggregated fields such as market data, quality, risk, ledger, and plan. Replay statistics are in /replay-stats (report v6 structure is in the README). Strategy experiments go through GET/POST /api/dsh-plugin-goldboard/strategy-experiments, and POST is only accepted after saving the experiment configuration in “Strategy & Replay”.

Update and Uninstall

To update, re-execute the installation command for the corresponding profile, then restart and hard refresh. Uninstall example:

dsh plugin --profile web remove dsh-plugin-goldboard

Status and configuration are located in $DSH_HOME/storages/dsh-plugin-goldboard/ (including config.json, state.json, history/*.jsonl, replay-reports/, etc.). To completely clean up after uninstallation, this directory must be deleted manually.

Applicable Scenarios and Notes

Who it is for: Developers or personal use scenarios already working on DSH Web or Desktop who need to consolidate multi-variety gold quotes, intraday technical references, local positions and risk gates, exploratory replays, and experiment matrices within the same host. When CMB two-way quotes or Au99.99/XAU comparisons are needed, the Data and Health tabs facilitate troubleshooting sources and coverage.

Must Note:

  1. The plugin runs with current dsh process permissions and accesses public market interfaces and local storage. Before installation, please read the source code and LICENSE and understand the MIT terms.
  2. Fetching market data via the network and Webhook/system notifications involve outbound requests. In controlled environments, you should assess compliance and key storage methods (Webhooks are configured in the “Settings” tab).
  3. Replay and experiment reports are uniformly marked as exploratory diagnostics when evidence is insufficient. The README states clearly that there are currently no verified strategies or real performance conclusions. Do not treat UI references as investment advice or automatic trading instructions.

SkillHub is a community plugin directory site and has no official affiliation with DeepSeek / High-Flyer. Installation sources are subject to the GitHub tags and local profiles you trust.

Conclusion

dsh-plugin-goldboard converges gold market data, intraday suggestions, risk estimations, replay diagnostics, and optional strategy experiments into a single entry in the DSH sidebar, aligning with the v1.15.0 bundle / sidebar main panel form. To browse the brief or jump to the repository, use the catalog page skillhub.cn/plugins/c-ling/dsh-plugin-goldboard and github.com/c-ling/dsh-plugin-goldboard.