Skip to main content
L

newma-vibe-trading-dsh

leecyno1/newma-vibe-trading-dsh

Opens backtest reports and the factor catalog from the DSH sidebar and requires separate access to the local Newma business service. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Install

dsh plugin --profile web add github:leecyno1/newma-vibe-trading-dsh

README

量化与交易研究 · DSH Web 候选

在 DSH Web 0.2.2-rc.5 的侧栏打开「量化与交易研究」。选择「回测报告」读取已有报告,或选择「因子目录」浏览内置因子。两个入口都在新标签页打开原生独立应用。运行回测、模型、交易和频道操作不属于候选验收范围。

本机运行

从业务仓根目录按锁文件安装并构建。先确认 127.0.0.1:18955 空闲,另选一个空状态目录。

(cd frontend && npm ci && npm run build:standalone)
uv sync --frozen --python 3.12 --no-editable
.venv/bin/newma-trading --host 127.0.0.1 --port 18955 --frontend-dist "$PWD/frontend/dist" --state-dir "$(mktemp -d)" --no-background

在 hosts/dsh 目录执行 npm pack,从 DSH Web「插件」安装生成的本地 tgz 并启用。手动点「检查连接」会从宿主读取固定回环地址的 /health 并核对服务名和健康状态。停止独立进程后可重试连接检查。插件只提供导航和健康检查;原生页面仍按原项目权限运行。

Related plugins