dsh-trading-agent: DSH Right Sidebar Native Market Chart Plugin

Introduction

In the plugin ecosystem of DeepSeek Harness (DSH), extending functionality to accommodate specific workflows is a core objective. For teams that need real-time access to cryptocurrency market data and technical analysis, rendering charts directly in the conversation sidebar is more efficient than switching to third-party applications. The dsh-trading-agent plugin, through a dual-panel architecture, integrates market data retrieval, mechanical calculations, and visual charts into the native DSH interface.

Feature Overview

This plugin primarily provides the following capabilities:

  • Native Sidebar Rendering: Renders cryptocurrency technical analysis charts within a native custom tab in DSH’s right sidebar.
  • Mechanical Candidate Calculations: Provides mechanical candidates such as pivot points, support/resistance levels, Fibonacci levels, and moving average alignments.
  • Multi-dimensional Signals: Includes rule-based signals, market state assessments, and multi-timeframe confluence.
  • Confidence Calibration (Optional): Can integrate with TypeSafe Jev for directional confidence calibration of model conclusions.
  • Public Data Source: Data is retrieved from Binance spot public API, with no API key configuration required.
  • Visualization Library: Uses Lightweight Charts.

Installation and Activation

This plugin has not yet been published to npm and must be installed via GitHub.

  1. Run the installation command (using the web profile as an example):
    dsh plugin --profile web add github:johnny-ggao/trading-agent
  1. After installation, the corresponding profile must be restarted to take effect:
    dsh --profile web

Usage

  • Triggering Charts: Ask the agent to draw a chart during a conversation, or directly inquire such as “How is BTC trending today?” The agent will call trading_chart to automatically open the corresponding tab in the right sidebar.
  • Viewing Previous Charts: There is an entry point at the bottom of each turn to retrieve historical chart records.
  • Switching Timeframes and Indicators: The chart card comes with a built-in toolbar that allows switching timeframes and adding/removing indicators such as BOLL/KDJ/RSI, without generating conversation messages.

Environment and Notes

  • DSH Version: Requires DSH 0.1.6-alpha.2 or a compatible version.
  • Runtime Environment: Requires Node.js ≥ 20 and pnpm > 10.
  • Data Privacy: Data transmitted externally does not include user conversation content; it only contains public market data and mechanical features.
  • Chart Drawing Limitations:
    • Intraday candles that are still forming (unclosed) do not participate in any mechanical analysis.
    • Not drawn on charts: Fibonacci retracements, swing pivot points, and rule-based signal arrows. These are described by the model in text responses but are not directly plotted on the chart.
  • Jev Calibration: The plugin functions normally without Jev configuration; it is optional.
羽毛球分组比赛记分
小程序二维码

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

Xiaoye