dsh-trading-toolkit
Run the following command in DeepSeek Harness:
dsh plugin install kentleenot/dsh-trading-toolkit
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install kentleenot/dsh-trading-toolkit in your terminal to install the plugin into your DeepSeek Harness profile; the full source is available at https://github.com/kentleenot/dsh-trading-toolkit .
About this plugin
Doing A-share or US-stock strategy research inside a DeepSeek Harness agent used to mean manually wiring up market-data APIs, juggling API keys, coding ADX calculations and backtest loops from scratch—all with the ever-present risk of accidentally placing a live order. dsh-trading-toolkit compresses that entire pipeline into four read-only tools: market_quote auto-detects six-digit A-share codes, sh/sz prefixes, Chinese stock names, US tickers, and major indices, pulling data from EastMoney's domestic endpoints with no key required; kline_history fetches OHLCV bars across eight timeframes from 1-minute to monthly with optional forward, backward, or no adjustment; regime_signal applies the same ADX thresholds used in production (≥25 trend, 15–25 oscillating, <15 noise) to classify market state, including ±DI direction and 200-EMA bias; and backtest_run executes a simple cross-state long/short backtest reporting total return, max drawdown, win rate, and trade count.
Every tool is strictly read-only—no order placement, no credential access, no credential storage. The backtest module is explicitly labeled as an educational preview rather than a production-grade system. The plugin opens up the core signal logic of the author's live PrinciplesV2 strategy stack in a lightweight, safe form, making it a natural fit for quant researchers, strategy hobbyists, and anyone who wants to go "fetch quotes, classify the regime, preview a trade" in a single agent conversation without ever risking real capital.
Use Cases
- Pull Moutai daily bars and classify the current ADX regime in a single agent prompt
- Distinguish trend from oscillation with regime_signal, then run a quick long/short backtest preview
- Compare AAPL and NVDA real-time quotes and 200-EMA bias to inform directional decisions
Best For
- Quant developers building A-share or US-stock strategies inside DeepSeek Harness agents
- Strategy enthusiasts who want ADX three-state logic without wiring up data pipelines
- Trading learners who need a safe, read-only backtest preview with zero order risk
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.