rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:zhangchenyuan21-create/dsh-ths-dashboard
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
在 DeepSeek Harness(DSH)左侧快捷栏增加「模拟持仓」和「回测回放」两个入口,展示:
DSH 左侧栏入口 + 主面板(lib/client.js)
|
| /ths-dashboard/api (同源代理)
v
宿主插件(lib/index.js)
|
| 启动并转发到 127.0.0.1:8766
v
ths_sim.dashboard_server (Python 后端,源码已随包放在 python/ths_sim)
|
+-- 同花顺模拟盘:账户 / 持仓 / 五档盘口
+-- 新浪:分钟/日线 K 线,资金流
+-- 腾讯:盘口与名称兜底
宿主插件会自动启动包内自带的 Python 服务;DSH 关闭时停止它。若服务没有启动,面板错误区会提示,也可以手动运行:
cd <package-root>
$env:PYTHONPATH = "$PWD\python"
python -m ths_sim.dashboard_server --port 8766
从 npm 安装:
dsh plugin --profile desktop add dsh-ths-dashboard
本地开发时用 link: 安装当前目录:
dsh plugin --profile desktop add "link:<this-directory>"
新增客户端 bundle 后需要重启 DSH 桌面客户端,左侧栏才会出现「模拟持仓」。
.ths_sim/dashboard.json 的 backtest_root 配置,或环境变量 THS_BACKTEST_ROOT:{"backtest_root": "C:\\path\\to\\local_backtest\\out"}
lib/index.js 宿主:启动 Python 服务 + 同源 API 代理
lib/client.js 浏览器:模拟持仓/回测回放入口、持仓表、K线/MACD、资金流、五档盘口
cordis.patch.yml DSH bundle patch
package.json DSH 插件描述 CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。