by Travisun
Opptrix — AI驱动的全球多市场投研工作台 | Open-source LLM research assistant for China A-shares. 170+ MCP tools, factor screening, backtest, watchlist & Electron desktop. TypeScript · React · Fastify monorepo.
# Add to your Claude Code skills
git clone https://github.com/Travisun/OpptrixLast scanned: 7/13/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@electron/rebuild: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@fastify/static: @fastify/static vulnerable to path traversal in directory listing",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "app-builder-lib: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "cacache: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "dmg-builder: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "electron: Electron: AppleScript injection in app.moveToApplicationsFolder on macOS",
"severity": "high"
},
{
"type": "npm-audit",
"message": "electron-builder: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "electron-builder-squirrel-windows: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "form-data: form-data uses unsafe random function in form-data for choosing boundary",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "glob: glob CLI: Command injection via -c/--cmd executes matches with shell:true",
"severity": "high"
},
{
"type": "npm-audit",
"message": "jimp: Vulnerability found",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "jpeg-js: Infinite loop in jpeg-js",
"severity": "high"
},
{
"type": "npm-audit",
"message": "make-fetch-happen: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "minimist: Prototype Pollution in minimist",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "mkdirp: Vulnerability found",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "node-gyp: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "qs: qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "request: Server-Side Request Forgery in Request",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "resize-img: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "tar: node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal",
"severity": "high"
},
{
"type": "npm-audit",
"message": "to-ico: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "tough-cookie: tough-cookie Prototype Pollution vulnerability",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "url-regex: Regular expression denial of service in url-regex",
"severity": "high"
},
{
"type": "npm-audit",
"message": "uuid: uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided",
"severity": "medium"
},
{
"file": ".cursor/skills/codegraph/SKILL.md",
"line": 55,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install\"",
"severity": "medium"
}
],
"status": "FAILED",
"scannedAt": "2026-07-13T06:52:03.308Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}Opptrix is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Travisun. Opptrix — AI驱动的全球多市场投研工作台 | Open-source LLM research assistant for China A-shares. 170+ MCP tools, factor screening, backtest, watchlist & Electron desktop. TypeScript · React · Fastify monorepo. It has 208 GitHub stars.
Opptrix failed SkillsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.
Clone the repository with "git clone https://github.com/Travisun/Opptrix" and add it to your Claude Code skills directory (see the Installation section above).
Opptrix is primarily written in TypeScript. It is open-source under Travisun on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Opptrix against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
使用问题、功能建议、贡献讨论,欢迎扫码加入 微信技术交流群;也可扫码在 抖音 关注项目作者,获取产品与开发动态:
Opptrix 坚持免费、开源。赞助不是购买,而是对理念的认可——你的支持会帮助我们把 Opptrix 发展得更加强大。
感谢每一位支持者(与 官网赞助墙 同步):
请在使用前仔细阅读。使用本软件即表示你已理解并同意以下条款。
| 说明 | 内容 |
|---|---|
| 产品性质 | Opptrix 是 数据查询与投研信息整理工具,用于聚合公开/授权数据源、辅助阅读与检索。不是 证券投顾软件、不是 券商交易终端、不提供 代客理财、不支持 自动下单或实盘交易。 |
| 非投资建议 | 软件内展示的行情、财务、新闻、因子、策略信号、机构观点摘要及一切 AI 生成内容,均仅供学习、研究与信息整理,不构成 任何形式的投资建议、要约、邀约或承诺。 |
| AI 内容风险 | 大模型可能产生错误、遗漏或「幻觉」;请 以工具返回的结构化数据为准,勿单独依据自然语言结论做决策。 |
| 数据局限性 | 行情可能延迟、缺失或错误;多数据源回退 不保证 实时性与准确性;第三方接口受各自服务条款与限流约束。 |
| 策略与回测 | 因子筛选、回测、信号验证基于历史数据,过往表现不代表未来收益。 |
| 责任归属 | 你基于本软件所作的任何投资或交易决定及由此产生的一切后果,由你自行承担;开发者与贡献者不对因使用本软件导致的任何直接或间接损失负责。 |
| 合规 | 请遵守所在国家/地区的证券、数据与隐私相关法规;接入 Tushare、LLM 等服务须自行配置凭证并遵守其协议。 |
界面截图、示例对话与演示数据 不代表 真实荐股或实盘推荐,请勿作为实际投资依据。
Opptrix 是一款开源的 全球多市场投研工作台:覆盖 A 股、美股、港股、日股、韩股与加密货币 等市场。用自然语言提问,由大模型按意图挂载 150+ 投研工具,并可激活 170+ 内置工作流技能(量化因子 / 择时 / 价值投资流程等),把结构化数据整理成中文报告或可预览投研页。支持 浏览器 Web 与 Electron 桌面端,共用同一套 React 界面与 Fastify API;设置中可选开启 自进化,让同一模型在投研主路径上更稳、更完整。
🤖 协作者 / Vibe Coding:请先阅读 docs/AGENT-GUIDE.md — 单文件说明项目用途、目录地图、架构约束与设计规范。工作流技能详见 docs/AGENT-SKILLS.md。
| 维度 | 说明 |
|---|---|
| 是什么 | 本地/自托管的 全球多市场数据查询与投研整理 工作台:跨市场标的搜索、聊天问答、工作流技能、新闻订阅、行情动态、关注列表、发现策略、计划任务与多市场本地数据包(A 股深度最强) |
| 不是什么 | 持牌投顾、券商交易软件、理财销售或荐股/喊单系统;也不提供自动下单与实盘交易 |
| 支持市场 | CN A 股/ETF/指数 · US 美股 · HK 港股 · JP 日股 · KR 韩股 · CRYPTO 现货等(能力因市场而异,见 MULTI-MARKET-ARCHITECTURE.md) |
| 适合谁 | 希望 自行查询与整理 全球或多市场信息的投资者、研究者;需自备 LLM API Key 使用对话能力 |
| 适合学习 | TypeScript monorepo、LLM Function Calling、Agent Skills、多市场数据标准层、Fluent UI 产品设计 |
界面称 工作流技能:可发现、可激活的投研步骤说明 + 附件(参考资料 / 可运行脚本)。与「专家人设」「工具包」正交——对话里可以同时有角色偏好、按意图挂载的工具,以及最多若干已激活技能。
| 能力面 | 作用 |
|---|---|
| 激活与执行 | 对话中按需激活技能 → 按步骤取数、写入工作区、运行脚本 → 默认可生成 可预览投研页 |
| 本地扩展 | 内置技能在仓库;你也可导入/编辑个人技能(落在本机数据目录) |
| 数据纪律 | 技能脚本走 Opptrix 本地取数与工作区,不依赖外部券商脚本环境;数据不足时如实标注,避免虚假「完整回测」 |
| 家族 | 大致规模 | 做什么 |
|---|---|---|
| 核心投研 | 数十个 | 个股深潜、多角色研讨、报告审计、网页/画布交付等日常投研流程 |
| Lean 量化 | 约 27(lean-*) |
组合构建、风险、执行与研究等工作流参照 Lean 方法论 |
| 量化方法库 | 约 60+ | 因子、择时、行业轮动、情绪与微观结构等可运行方法(由开源量化研究材料映射为自洽技能) |
| 价值投资 | 约 20+ | 财务严谨检查、报告审计、论点跟踪与组合复盘;总入口 ai-berkshire(AI Berkshire 分析)(场景路由 → 取数 → 子技能 → 交付) |
开发者映射与契约:docs/AGENT-SKILLS.md、docs/quants-playbook-skill-map.md、docs/ai-berkshire-skill-map.md。
| 能力 | 说明 |
|---|---|
| Chat Agent | 流式对话,自动调用投研工具,展示执行过程;按意图 智能挂载工具包,避免一次塞满全部工具 |
| 工作流技能 | 170+ 内置技能:量化 / 价值投资 / Lean / 核心投研;可导入个人技能 |
| 自进化 | 设置中可选开启:在不换模型的前提下,按使用反馈合入更稳妥的「分析习惯」;可关停、按模型查看、恢复默认 |
| 多会话 | 历史对话持久化(SQLite),侧栏新建/切换/归档 |
| 全球多市场 | A 股 / 美股 / 港股 / 日股 / 韩股 / 加密货币:标的搜索、行情、K 线、截面筛选与跨市场分析 |
| 投研工具矩阵 | 150+ 注册工具:个股诊断、基本面事实表、策略信号、资金流向、筹码分布、机构评级与产业链透视等 |
| 网页交付 | 投研结果可生成可预览网页,便于分享与复盘 |
| 子 Agent | 复杂任务可派生子任务并行或接力,父会话汇总 |
| 发现策略 | 多市场内置策略(ETF / 美股 / 加密 / 日 / 韩 / 港等),支持自建策略与回测验证 |
| 计划任务 | 定时 / 周期 / Cron 调度,支持智能体提示词与受控脚本(应用内 + 桌面 OS tick) |
| Agent 工作区 | 文件读写、Shell、HTTP、网页浏览、Python、密钥保险箱;会话隔离沙盒 |
| 专家体系 | 内置与本地自建专家;技能专长注入对话,配合投研纪律(与工作流技能互补) |
| 右侧投研面板 | 跨市场关注列表、发现策略、行业透视、组合账本、决策卡 |
| 新闻中心 | RSS 订阅、RSSHub 路由、文章阅读、本地/远程翻译 |
| 行情动态 | 全球与 A 股大盘/板块/龙虎榜/涨跌停/市场情绪等动态视图 |
| 本地数据 | 多市场基础数据包同步(.opmd)、A 股全市场能力、多市场本地列表筛选 |
| 桌面端 | Electron 打包、系统托盘、计划任务 OS tick、自动更新、opptrix:// 深链 |
| 设置 | 模型与 API、分市场数据源、市场数据同步、新闻、翻译/多模态、自进化、MCP 服务器管理 |
从 GitHub Releases 下载对应平台安装包(标签 desktop-v*):
| 平台 | 下载 |
|---|---|
| Apple Silicon Mac | Opptrix-{version}-MacOS-arm64-M-CPU.dmg |
| Intel Mac | Opptrix-{version}-MacOS-x64-Intel-CPU.dmg |
| Windows | Opptrix-{version}-Windows.exe |
| Linux | Opptrix-{version}-Linux.AppImage |
安装后首次启动:
桌面端启动约 10 秒后会 后台检查更新;有新版本时会提示下载,需你点击 重启更新 才会安装(不会静默强制升级)。详见 docs/DESKTOP-RELEASE.md。
未签名/dev 包在 macOS 上若提示「已损坏」,可在终端执行 xattr -cr /Applications/Opptrix.app 或 右键 → 打开 一次。
适合在本机或服务器部署后通过浏览器访问:
git clone https://github.com/Travisun/Opptrix.git
cd Opptrix
npm install
cp example/startup/env.example .env # 填入 LLM_API_KEY
npm run build
npm run serve # → http://127.0.0.1:5173
在 设置 中同样配置 LLM 与数据源。生产环境请自行做好 HTTPS、访问控制与密钥管理。
见下方 快速开始(开发者) 与 docs/DEVELOPMENT.md。
跨市场行情与档案统一经 标的 + 能力 标准查询,多数据源按市场自动回退;Agent 侧为 工具包路由 + 工作流技能 + 工作区脚本,Hub 负责投研 feature 调度。
┌──────────────────────────────────────────────────────────────────┐
│ client-ui (React + Fluent UI + Vite) │
│ 聊天 · 技能 · 新闻 · 行情动态 · 右侧面板 · 设置 · Electron chrome │
└────────────────────────────┬─────────────────────────────────────┘
│ /api/* (dev: Vite proxy → :8711)
┌────────────────────────────▼─────────────────────────────────────┐
│ apps/server (Fastify) │
│ REST · Chat SSE · 配置 · 会话 · 静态 SPA │
└────────────────────────────┬─────────────────────────────────────┘
│
┌───────────────────────┼───────────────────────┐
▼ ▼ ▼
packages/agent research-hub / search-hub user-store
LLM + 150+ 工具 dispatch / instrument_* SQLite 用户数