by shy3130
自托管、零运维的 A 股「选股 + 监控 + 回测」量化工作台 | 基于 TickFlow 数据源 | LLM能力驱使策略定制+个股分析+复盘 | 自由接入第三方数据源与个性化扩展数据 | 个人开源 ,非TickFlow官方项目
# Add to your Claude Code skills
git clone https://github.com/shy3130/tickflow-stock-panelGuides for using ai agents skills like tickflow-stock-panel.
Last scanned: 6/24/2026
{
"issues": [
{
"file": "README.md",
"line": 164,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -LsSf https://astral.sh/uv/install.sh \\| sh\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-06-24T07:39:47.264Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}自托管、零运维的 A 股「选股 + 监控 + 回测」量化工作台
面向个人散户与量化爱好者而生
本项目个人开源,基于 TickFlow 数据源,非 TickFlow 官方项目。仅供学习研究使用,严禁商业用途。
⚠️ 明确不做:不对标同花顺 / 通达信,不内置「AI 荐股 / 涨停预测」。
有更多想法,想提交建议/意见的道友可以邮件到 415333856@qq.com,或加qq交流群 109338242(二维码在结尾),群内会不定时维护一些个性化数据。
觉得有用可以点个 Star,蟹蟹 🌹
| 模块 | 一句话 | 详见 |
|---|---|---|
| 🔍 选股引擎 | 18 个内置策略 + 自定义信号 + AI 生成 + 代码迁移,Polars 毫秒级扫全 A 股 | strategy.md |
| 📊 指标流水线 | MA/EMA/MACD/RSI/KDJ/布林/量比等,一次扫表落盘 enriched Parquet | features.md |
| 🧪 回测引擎 | 三种模式(个股/策略组合/自由信号),T+1/手续费/滑点/止损,SSE 流式进度 | features.md |
| 📡 监控中心 | 四类监控(策略/个股信号/价格/异动),多条件 AND/OR + 语音播报 + 飞书推送 | features.md |
| 📈 个股分析 | 9 类关键价位 + AI 四维分析(技术/基本面/财务/消息面) | features.md |
| 🏆 连板梯队 | 连板层级统计 + 概念涨幅轮动 + 盘后 AI 复盘 + 炸板/翘板预警 | features.md |
| 🧰 数据扩展 | TickFlow 多源 + 第三方接入(接口/推送/CSV/JSON)同台分析 | features.md |
📊 行情总览
🔍 选股与回测
📈 个股与板块分析
🔔 监控与复盘
🗄️ 数据与扩展
前置依赖:Python ≥ 3.11 · Node ≥ 20 ·
uv·pnpm(npm i -g pnpm)
cp .env.example .env # 按需填 TICKFLOW_API_KEY(留空 = None 模式)
./dev.sh # Windows: .\dev.ps1
自动检查 / 下载依赖、释放端口、同时起前后端。后端 → http://localhost:3018 · 前端 → http://localhost:3011。
cp .env.example .env
docker compose up --build
# 打开 http://localhost:3018
镜像已内置 stock-sdk 数据源插件(Node 运行时 + 依赖),开箱即用。
📖 Docker 进阶、GitHub Actions 自构建、老 CPU 兼容、访问密码设置等见 docs/deployment.md。
所有配置从根目录 .env 读取(复制 .env.example 开始),也可在面板 设置 页修改。最常用的三项:
TICKFLOW_API_KEY= # 留空 = None 模式(历史日K免费);填 Key 解锁更多
AI_API_KEY= # 留空 = 关闭 AI;填 Key 启用策略生成
PORT=3018 # 服务端口
📖 完整配置项(数据源档位、AI、服务、密码、老 CPU 兼容)见 docs/configuration.md。
| 层 | 选型 |
|---|---|
| 后端 | FastAPI · Pydantic v2 · APScheduler · sse-starlette |
| 数据 | Polars(计算)· DuckDB(查询)· Parquet(存储) |
| 回测 | vectorbt(全项目唯一 pandas 边界) |
| 数据源 | TickFlow 官方 SDK · 其他数据源后续迭代实装 |
| AI(可选) | OpenAI 兼容接口(DeepSeek / 通义 / Ollama 等) |
| 前端 | React 18 · Vite · TypeScript · Tailwind · Tanstack Query · Lightweight Charts · ECharts · dnd-kit |
| 部署 | Docker 两阶段构建,前端 dist 拷进后端镜像,单容器 |
| Phase | 内容 | 状态 |
|---|---|---|
| 0-1 | 仓库骨架 · FastAPI 壳 · 能力探测 · K 线同步与分析页 | ✅ |
| 2-3 | Polars enriched 流水线 · Screener · vectorbt 回测(T+1/手续费/止损) | ✅ |
| 4-5 | 监控引擎 · 四类监控规则 · 实时 SSE 推送 · 持久化记录 | ✅ |
| 6 | 个股分析(专用日 K + 9 类关键价位 + AI 四维分析) | ✅ |
| v2 | Webhook 推送(QMT/掘金下单)· 板块异动 · 早晚报 · 更多扩展 | 🚧 |
| 文档 | 内容 |
|---|---|
| docs/deployment.md | 部署方式(Dev / Docker / GH Actions)、老 CPU 兼容、更新代码、访问密码 |
| docs/configuration.md | 所有 .env 配置项详解(数据源、AI、服务、密码、数据目录) |
| docs/features.md | 各功能模块详细说明(选股/指标/回测/监控/个股分析/数据扩展) |
| docs/custom-data-source.md | 自定义数据源接入、YAML 配置与 mock 联调示例 |
| docs/strategy.md | 策略体系(18 内置策略 + 三种扩展方式 + 文件结构) |
| backend/app/strategy/prompts/strategy-guide.md | 策略开发完整规范(AI 生成与手写) |
fork同时请点个star哦,欢迎 Issue 和 PR。
欢迎加入交流群,讨论使用问题、功能建议或量化策略。
本项目仅供学习与量化研究,不构成任何投资建议。回测结果不代表未来收益。A 股有风险,入市需谨慎。数据准确性以数据源 TickFlow 官方为准。
MIT © tickflow-stock-panel contributors
本项目依赖 TickFlow 提供数据服务,使用前请遵守其服务条款
数据源插件 stock-sdk 遵循其各自的 ISC 协议。
本开源项目已链接并认可 LINUX DO 社区。
tickflow-stock-panel is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by shy3130. 自托管、零运维的 A 股「选股 + 监控 + 回测」量化工作台 | 基于 TickFlow 数据源 | LLM能力驱使策略定制+个股分析+复盘 | 自由接入第三方数据源与个性化扩展数据 | 个人开源 ,非TickFlow官方项目. It has 2,004 GitHub stars.
Yes. tickflow-stock-panel passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/shy3130/tickflow-stock-panel" and add it to your Claude Code skills directory (see the Installation section above).
tickflow-stock-panel is primarily written in TypeScript. It is open-source under shy3130 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 tickflow-stock-panel against similar tools.
No comments yet. Be the first to share your thoughts!