dsh-vibe-trading: Interactive Trading Research Workbench

Preface

When building trading research workflows in DeepSeek Harness, developers typically need to manually orchestrate the steps of data retrieval, computation, and interpretation. In traditional approaches, model-driven invocations tend to produce non-deterministic numbers and lack an auditable execution path.

dsh-vibe-trading encapsulates this process into a single plugin, completing the “plan → data → compute → interpret” loop with one command. Every number originates from a deterministic computation layer, and every finding references its corresponding computed field. The output includes a terminal briefing, zero-dependency SVG chart cards, and a complete auditable trail.

Plugin Positioning

The plugin is named vicfei/dsh-vibe-trading, maintained by vicfei, and categorized under Workflows. It is an interactive trading research workbench running on DeepSeek Harness.

The plugin is inspired by HKUDS/Vibe-Trading but has been restructured for a native DSH experience and is not affiliated with the latter. It is part of the dsh-TradingAgents series.

Installation & Activation

The plugin is installed via npm. Ensure that python3 is installed on your system (only the standard library is used, no pip dependencies required) and that Node.js version is >= 16.

npm i -g dsh-vibe-trading

After installation, the plugin registers typed host tools vibe_research and vibe_research, as well as a skill.

You can also install it via the DSH plugin command:

dsh plugin add dsh-vibe-trading

Run from source:

git clone https://github.com/vicfei/dsh-Vibe-Trading && cd dsh-Vibe-Trading
python3 scripts/vibe_research.py --question "Moutai vs the Shanghai index: which leg is weaker, and what does the price-volume structure say?" --symbols sh600519,sh000001

Core Features

Deterministic Research Loop

The plugin orchestrates the research process as: plan → data → compute → interpret. The model is responsible only for interpretation and does not generate numbers. Every finding references its computed field [F#]; any unavailable result returns unavailable (reason) rather than a fabricated 0.

K-line & Statistics

  • A-share and index K-line data are retrieved via accessible Tencent APIs (no API key required).
  • Statistical fields include: ret20/60, SMA60 posture, 30d vol, 120d peak drawdown, volume z-score, MACD histogram, Wilder RSI14.
  • For US stocks, the current upstream API only returns boundary bars; the engine honestly refuses to compute rather than basing results on a degenerate series.

Backtesting & Screening

  • Mini trend backtest: SMA20/60 crossover, long-only, no commissions.
  • Backtests are split into in-sample and out-of-sample; parameters are frozen before out-of-sample use.
  • Deterministic screening board: momentum / volatility / volume rankings + 60d correlation matrix, with no LLM invocation.

Charts & Trails

  • Zero-dependency inline SVG chart cards, usable offline, with no CDN dependency.
  • Each card includes a data source metadata line.
  • Versioned research trails: append-only named trails, supporting diff and export. Trail files are in HTML format and can be opened at trails/*.html.

Multi-Session & Caching

Supports multi-question sessions based on cached data (chat directory). Research artifacts can persist beyond the current session.

Typical Usage

Run an interactive research session:

dsh-vibe-trading run --question "Moutai vs the index: whose price-volume structure is weaker?" \
  --symbols sh600519,sh000001 --name moutai-vs-index

Run a scan board:

dsh-vibe-trading scan --symbols sh600519,sz000001,sh000001 --board momentum

Switch language to Chinese (labels and interpreter language):

python3 scripts/vibe_research.py --question "茅台 vs 上证:量价结构谁更弱?" --lang zh

Use Cases & Cautions

The plugin is suited for developers who need to quickly set up trading research workflows in DSH, particularly in scenarios emphasizing auditability, deterministic computation, and chart visualization.

The plugin runs with the current DSH process privileges. It is recommended to review the source code and license (MIT) before installation.

Summary

dsh-vibe-trading standardizes the trading research workflow into a single command through a deterministic plan → data → compute → interpret loop. Every number has a source, and every finding is traceable. Combined with zero-dependency SVG cards and versioned trails, the plugin provides an auditable, reproducible workbench for quantitative research.

Plugin directory page: https://www.skillhub.cn/plugins/vicfei/dsh-Vibe-Trading
GitHub: https://github.com/vicfei/dsh-Vibe-Trading

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye