rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:stitchmaps/dsh-marketboard
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 | English
A focused real-time quote board for DeepSeek Harness. It puts A-shares, Hong Kong and US stocks, FX majors and crosses, domestic/international commodity futures and global indices into one clean watchlist — lists and live prices only, no charts.
The UI is a native DSH Client plugin: it follows the active light/dark theme, uses the Harness locale service, and persists the watchlist on the host side.
<DSH_HOME>/dsh-marketboard/data.json with atomic writes, a .bak fallback and the latest 20 timestamped backups. No localStorage.| Group | Markets | Default examples |
|---|---|---|
| A-shares | cn |
600519 贵州茅台, 300750 宁德时代, 002594 比亚迪 |
| Hong Kong | hk |
00700 腾讯控股, 09988 阿里巴巴-W, 03690 美团-W |
| US | us |
AAPL, NVDA, MSFT, TSLA, AMZN, META |
| FX | fx |
USDCNH, EURUSD, GBPUSD, USDJPY, EURJPY, GBPJPY, AUDJPY … |
| China futures | futcn |
RB0, CU0, AU0, AG0, SC0, M0, I0, TA0 |
| Global futures | futgl |
CL=F, GC=F |
| Indices | index |
上证指数, 深证成指, 创业板指, 恒生指数, 标普500, 纳斯达克, 道琼斯, 日经225 |
Manual code formats:
600519 or sh600519 / sz00000100700 or 700AAPL, BRK.BEURUSD, EUR/USD, EURUSD=XRB0 (main continuous), RB (auto RB0), or a contract codeCL, CL=Fsh000001, sz399001, ^GSPC, ^HSIAll endpoints are public and require no API key or account.
| Asset | Primary | Fallback |
|---|---|---|
| A-shares / HK / US stocks / A-share indices | Tencent qt.gtimg.cn (batch) |
Sina hq.sinajs.cn |
| FX (majors + crosses) | Sina fx_s* (batch) |
Yahoo Finance chart |
| Domestic commodity futures | Sina nf_* (batch) |
— |
| International commodity futures | Sina hf_* |
Yahoo Finance chart |
| Global indices | Sina int_* |
Yahoo Finance chart |
The host fetches all primary quotes in at most two batched requests per refresh, then only falls back for symbols that are still missing. Last successful quotes are cached for 15 minutes and marked as stale when reused.
Quotes may be delayed, incomplete or temporarily unavailable. This plugin is read-only and does not place orders.
This repository is a DSH bundle (dsh.bundle.patch + dsh.client).
dsh plugin --profile desktop add file:/absolute/path/to/dsh-marketboard
Add the repository folder as a local bundle in the DSH Plugin Manager, then enable it.
After installation, refresh the DSH Web GUI (Ctrl+R). If the host half was already loaded, reload the profile patch (remove and re-add the dsh-marketboard insert row) or restart the desktop app once.
To submit this plugin to dshmarket / the plugin market, see PUBLISHING.md.
× removes it.| Half | File | Responsibility |
|---|---|---|
| Host | lib/index.js |
Cordis plugin; registers /api/dsh-marketboard/state, /quotes and /search; owns persistence, validation and all upstream fetching |
| Client | lib/client.js |
DSH __ModuleLoader__ CJS factory; registers main (keyed panel) and sidebar.panellist (nav row); renders the React UI |
Browser calls use relative paths (api/dsh-marketboard/...), which works with the IPC-backed fetch used by the DSH desktop Web GUI.
All routes are POST JSON.
| Route | Body | Description |
|---|---|---|
/api/dsh-marketboard/state |
{op:'get'} |
Load watchlist + settings |
{op:'add', item:{market,code,name?}} |
Add and normalize an instrument | |
{op:'remove', id} |
Remove an instrument | |
{op:'favorite', id} |
Toggle pin | |
{op:'saveSettings', settings} |
Persist preferences | |
{op:'resetWatchlist'} |
Restore the built-in default list, keeping settings and custom groups (members still present are kept) | |
{op:'addGroup', name} |
Create a custom group | |
{op:'renameGroup', id, name} |
Rename a custom group | |
{op:'deleteGroup', id} |
Delete a custom group (instruments stay watched) | |
{op:'setGroupItems', id, itemIds} |
Set custom group members | |
/api/dsh-marketboard/quotes |
{} |
Fetch current quotes for the watchlist |
/api/dsh-marketboard/search |
{q, group} |
Search the built-in catalog and Tencent stock search |
The host validates and canonicalizes every write; the browser never picks its own IDs. The watchlist, settings and custom groups live in the local data file; default market groups are implicit and cannot be changed or deleted.
>= 0.2.0-rc.2 || >= 0.2.1-rc.2 (verified against the current desktop build)^22.19.0 || >= 24.0.0The quotes are aggregated from public endpoints for personal reference only. They are not guaranteed to be accurate, complete or real-time and do not constitute investment advice. You are responsible for complying with the terms of the upstream data providers and for any decisions you make.
MIT © 2026 gary
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。