dsh-bayes-predict
Run the following command in DeepSeek Harness:
dsh plugin install pg527322814/dsh-bayes-predict
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install pg527322814/dsh-bayes-predict in the DeepSeek Harness terminal to install; the source is hosted at https://github.com/pg527322814/dsh-bayes-predict .
About this plugin
Most technical-analysis tools stop at qualitative calls—"MACD crossed above," "RSI is overbought"—without a way to fuse multiple indicators into a single probability answer. dsh-bayes-predict reframes stock prediction as a Bayesian inference problem: a prior built from the recent weighted win-rate is updated with empirical likelihood ratios drawn from MACD, RSI, moving-average alignment, Bollinger-band position, volume, momentum, and the 5-day trend, yielding a posterior probability of an N-day rally (with a 95 % confidence interval), a 0–100 score, and a three-state trend classification. Multi-horizon tables for 2/5/10/20 days let you compare confidence across time frames at a glance. Under the hood every signal is time-decay weighted (200-trading-day half-life), Laplace-smoothed with sample shrinkage, normalized by rolling volatility so thresholds adapt per ticker, and capped to a likelihood ratio of [¼, 4] to keep any single indicator from dominating. A layered prior mixes a market-wide likelihood table (market-prior.json) with per-stock statistics so small-sample tickers are not overwhelmed by noise. The data layer is entirely free and key-less: A-share daily bars come from Tencent's hfq endpoint (with Eastmoney as fallback), US bars from Tencent/Sina, and a built-in 30-minute TTL cache plus a hedge-adjustment break detector (single-day move > 8 % triggers an unadjusted cross-check) guard against silent data glitches. Zero third-party dependencies, Node 18+. It is aimed at quant enthusiasts who want a probability-driven single-stock view inside the DeepSeek Harness workspace, developers who want a clean, reproducible code base for studying Bayesian signal fusion in finance, and anyone who needs a sidebar one-click panel that returns a calibrated probability score without juggling API keys or heavy back-end stacks.
Use Cases
- Enter a ticker to get multi-horizon posterior win-probabilities, 95% CIs, and a 0-100 score in one click
- Invoke the Bayesian tool from chat so the agent returns a structured conclusion with multi-window comparison and trend state
- Inspect bull/bear likelihood-ratio contributions to see which signal type carries the most evidentiary weight in the current regime
Best For
- Quant enthusiasts who want a probability-driven single-stock view inside chat
- Developers who want a reproducible codebase for Bayesian signal fusion in finance
- Users needing a key-less, zero-dependency sidebar panel for instant, calibrated analysis
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.