Foreword¶
In DeepSeek Harness (DSH), handling market-related capabilities often involves separately connecting to market APIs, building chart frontends manually, and splitting indicators and news into multiple conversation turns for switching. dsh_kline, maintained by FTShare-Lab, consolidates multi-market quotes, technical indicators, support/resistance levels, news, and fundamental information into a single plugin. Analysis results are displayed directly in the Harness native sidebar, and you can simply express your needs in natural language within the conversation.
What is this¶
dsh_kline (GitHub: FTShare-Lab/dsh_kline) is an interactive K-line analysis plugin for DeepSeek Harness, classified as a network tool. The current version is v0.1.2, licensed under MIT. The plugin provides market data and analysis capabilities through MCP, with the frontend sidebar responsible for chart interaction. It is recommended to use the FTShare Python SDK to fetch Hong Kong, US, and A-share market data, which is then unified into a standard OHLCV structure.
Core Features¶
Multi-Market Quotes and Search¶
Supports Hong Kong, US, and A-share markets, allowing queries by stock name, abbreviation, or code. The sidebar search box directly accepts names or codes; clicking the star icon adds the target to favorites, which supports grouping, sorting, and batch opening. Data is saved locally in the current browser.
Interactive Charts and Technical Indicators¶
Offers daily, weekly, monthly, quarterly, yearly, and minute K-lines, with support for zooming, dragging, crosshairs, and responsive layouts. You can switch between K-line, volume, MA, MACD, KDJ, RSI, BOLL, ATR, VWAP, and other indicators as needed.
Key Price Levels and Range Statistics¶
When you explicitly request it in the conversation, the plugin identifies and marks support levels, resistance levels, and touch counts. For range statistics, sequentially click the start and end K-lines in the sidebar to view range price change, amplitude, maximum drawdown, K-line count, trading volume, and more.
News and Fundamentals¶
You can switch to view individual stock news, company overview, financials, and shareholder information, without needing to jump back and forth between conversations and external pages.
MCP Tools¶
The plugin exposes four MCP tools externally, with analyze_kline as the default entry point for daily use:
| Tool | Purpose |
|---|---|
analyze_kline |
Returns market data, indicators, chart data, and optional support/resistance analysis in one call |
fetch_candles |
Fetches standardized OHLCV K-line data |
calc_metrics |
Computes technical and statistical indicators on OHLCV data |
health |
Checks service and data adapter status |
Typically, only analyze_kline needs to be called; the other tools are for scenarios requiring raw data, separate calculations, or health checks.
Installation and Enabling¶
View the installation instructions for ftshare-lab/dsh_kline in the SkillHub Plugin Directory and complete the installation. The plugin runs with the current DSH process permissions. Before installation, it is recommended to review the source code in the GitHub repository and the MIT License.
After installation, enable dsh_kline in DeepSeek Harness. If running from source, the project requires Node >=22.19.0. The sidebar will prompt for updates when a new stable version is available, and you can check the version history in Releases.
Typical Usage¶
Once the plugin is enabled, simply express your needs as if conversing with an analysis assistant—there’s no need to remember fixed code formats. Examples from the README include:
Fetch the K-line for Zijin MiningShow the daily K-line for Tencent Holdings, with resistance and support levels markedAnalyze the volume, MACD, and RSI for NVIDIA over the last monthView recent news and fundamental information for this stockSwitch to the weekly chart and check if the trend is strengthening
After analysis, you can continue switching periods, indicators, news, and overview in the chart sidebar. For range statistics, simply click on two K-lines sequentially.
Use Cases and Notes¶
This plugin is suitable for developers or analytical scenarios that require quick access to multi-market quotes, technical indicator and price level analysis, and a quick glance at news and fundamentals within DSH conversation flows. Market data may be delayed, during market close, or affected by upstream data availability. Support levels, resistance levels, and indicators are all based on historical price data and do not constitute investment advice. For commercial, high-frequency, or time-sensitive scenarios, use data sources with appropriate authorization and service guarantees.
Links¶
- Plugin Directory: https://www.skillhub.cn/plugins/FTShare-Lab/dsh_kline
- GitHub Repository: https://github.com/FTShare-Lab/dsh_kline