TickFlow Stock Quant Workbench
Self-hosted, zero-ops quant workbench for A-shares: screening, monitoring, and backtesting powered by TickFlow data, with LLM-driven strategy generation.
- Source repo
- shy3130/tick-stock-panel
- Stars
- ★ 8.6k
- Last updated
- 1d ago v0.4.3
- FARS reviewed
- Nov 07, 2026 +6 new
- License
- MIT
- Primary language
- Python
- FA score
- 61/100 · Some gaps
At a glance
- How it runs
- Works with
- Platform-specificCodex
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A retail investor: uses built-in strategies after market close to screen for potential opportunities across all A-shares.
- Not a fit if
- Casual investors wanting a ready-made charting app with no coding
- Users expecting AI stock picks or limit-up predictions
- Website
- tsp.shy313.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v0.4.3 (2026-11-27)+44.0 ★/day over 7 days
- Source review
- 61/100 · Some gaps
What does this agent do, and when should you use it?
TickFlow Stock Panel (TSP) is a self-hosted, open-source quantitative workbench designed for individual investors and quant enthusiasts trading A-shares. It covers stock screening, monitoring, and backtesting. The backend is built with FastAPI and Polars/DuckDB, the frontend with React 18, and it can be deployed via a single Docker container. It includes 18 built-in screening strategies, three backtest modes (single-stock, strategy portfolio, custom signals), four monitor rule types (strategy, stock signal, price, anomaly), stock analysis with AI four-dimension (technical, fundamental, financial, news), and limit-up ladder features. Data is sourced from the TickFlow SDK, with support for third-party data sources via API, push, CSV, or JSON. AI features are optional and compatible with OpenAI-format APIs (DeepSeek, Qwen, Ollama, etc.) for strategy generation and stock analysis. This is a personal open-source project, not an official TickFlow product, intended for learning and research only.
TSP starts by syncing daily K-line and financial data via TickFlow API, then computes technical indicators (MA/EMA/MACD/RSI/KDJ/Bollinger/volume ratio) using Polars and stores enriched Parquet files. Users can select from built-in strategies or define custom conditions on the Screener page; Polars scans the entire A-share market in milliseconds. The backtest engine supports three modes, is built on vectorbt, accounts for T+1, fees, slippage, and stop-loss, and streams progress via SSE. The monitor engine supports four rule types with real-time popups, voice announcements, and Feishu push notifications. The stock analysis module provides 9 key price levels and AI four-dimension analysis. All data is served via FastAPI REST APIs and rendered in the React frontend.
- A retail investor: uses built-in strategies after market close to screen for potential opportunities across all A-shares.
- A quant enthusiast: creates custom screening conditions or uses AI to generate new strategies, then backtests them.
- A short-term trader: sets up monitor rules to receive real-time alerts on price movements and signal triggers, with voice announcements.
- A researcher: connects third-party data sources and configures custom analysis pages for combined analysis with built-in data.
- An investor: uses the stock analysis feature to get AI-driven four-dimension insights for individual stocks.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Ports
3018·3011- Environment variables
TICKFLOW_API_KEYCODEX_HOME_HOSTAI_API_KEY- Config files
.env.example.env- Runtime
- Python 3.11+ · Node.js 20+
- Install notes cover
- Windows · Docker
How do you install or deploy this agent?
Prerequisites: Python ≥3.11, Node ≥20, uv, pnpm. Option A (Dev): copy .env.example to .env, optionally leave TICKFLOW_API_KEY empty (None mode), and run ./dev.sh (Windows: .\dev.ps1). Backend at http://localhost:3018, frontend at http://localhost:3011. Option B (Docker): copy .env.example to .env and run docker compose up --build, then visit http://localhost:3018. For Docker, note that a Codex CLI is embedded; you must have codex logged in on the host and mount the .codex directory. Windows users should set CODEX_HOME_HOST in .env explicitly.
How do you use this agent?
First run: In Settings, click 'Re-detect' to confirm your data tier, then trigger 'Run post-market pipeline' to fetch daily K-line and compute enriched tables. Add stocks to your watchlist, run screens on the Screener page or configure custom signals, run backtests on the Backtest page, and set up monitor rules in the Monitor Center. To enable AI features, configure AI_API_KEY (OpenAI-compatible) in .env.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Self-hosted: full control over data and environment, easy deployment with Docker, minimal maintenance.
- Performance: Polars enables millisecond scans of the entire market; DuckDB for efficient queries.
- Extensibility: third-party data sources can be integrated, and dynamic analysis pages can be added from any data field.
- AI-enhanced: optional LLM integration for strategy generation and stock analysis improves productivity.
- Depends on TickFlow data source; not an official product, so data accuracy relies on TickFlow.
- Explicitly not a replacement for TongHuaShun/TDX; no AI stock recommendations or limit-up prediction.
- Requires developer environment setup (Python/Node/uv/pnpm); not beginner-friendly.
- AI features require an API key and incur usage costs.
How does this agent compare with similar options?
The project explicitly avoids comparing to TongHuaShun or TDX, focusing instead on quantitative research and strategy development, suitable for technical users.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| TickFlow Stock Quant Workbench This agent | 61 · Some gaps | Self-hosted serviceFree + model costs | ★ 8.6k | 1d ago | Python | Codex |
| AgentCairn | 89 · Good | Agent plugin / skillFree | ★ 80 | 13d ago | Python | Codex · Claude Code |
| DeepCode Open Agentic Coding | 78 · Good | CLIFree + model costs | ★ 17k | 1d ago | Python | OpenAI API · Claude API |
| AgentsView Session Archive | 76 · Good | CLIFree | ★ 6.6k | today | Go | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The open API uses six scopes, a localhost/private-network gate by default, hashed tokens and revocation; MCP reuses gateway authorization. AI actions generally use confirmation cards, with a tool trace for review. Configuration notes that the container can read secrets and recommends host file mode 600; data repair is described with staging, validation, backups and failure preservation. Deductions: MCP write/backtest tools can be exposed through configured scopes, AI actions can be set to skip confirmation, and the sample does not show dependency vulnerability management, full external-push authorization details, or verified source attribution.
The CI workflow specifies backend tests, a frontend build and Windows regression coverage; the README describes worker isolation, contract snapshots and recovery. MCP returns readable HTTP and connection errors. Deductions: these are repository claims and test configuration, not evidence that this revision passed; availability of external data and AI services remains dependent on configuration and third parties.
The README and configuration guide define a self-hosted A-share research, backtesting, monitoring and local-integration use case, with optional AI, multiple data sources, plugins, MCP and Docker/Python/Node environments. They describe capability, permission and extension boundaries and some unsupported areas. Deductions: the sample is chiefly aimed at users familiar with quant research and self-hosting, with no demonstrated broader audience or cross-market adaptation.
Documentation is organized around features, architecture, configuration, deployment and extension development, with setup guidance, configuration and API examples, and limitations; the MIT license text is complete. Deductions: the sample does not include release notes or a clear maintainer/update responsibility path, and publisher identity remains unknown.
The product combines local data, strategy execution, backtesting, monitoring and an open API in a single-container workbench. MCP and API examples make the usage path understandable, while scopes and confirmations help control actions. Deductions: core performance and coverage figures are mostly README assertions, and static evidence cannot verify outcomes or user effort.
Several README claims about architecture, security and quality have corresponding mechanisms or coverage targets in the configuration guide, MCP source, CI workflow and specific test files. Deductions: many scale and performance figures remain README-only claims, the CI workflow is not a result for this revision, and the sample does not consistently label facts, inferences and promotional claims.
- The documentation limits the project to learning and research and says it is not investment or market-viewing software; do not treat its strategies, backtests or AI analysis as investment advice.
- Before using external data sources, AI services, Feishu notifications or open APIs, review credential permissions, provider terms and public exposure settings; open API tokens are restricted to localhost/private networks by default.
- The README's test-count and performance figures were not run or independently verified in this static review.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
桌面客户端 v0.4.3 ⬇️ 下载 | 平台 | 文件 | 下载 | | :--- | :--- | :--- | | Windows x64 | TSP-Setup-x64-0.4.3.exe | [⬇️ 立即下载](https://github.com/shy3130/tick-stock-panel/releases/download/v0.4.3/TSP-Setup-x64-0.4.3.exe) | | macOS (Apple Silicon / M 系列芯片) | TSP-macos-arm64-0.4.3.dmg | [⬇️ 立即下载](https://github.com/shy3130/tick-stock-panel/releases/download/v0.4.3/TSP-macos-arm64-0.4.3.dmg) | | Linux | TSP-linux-x64-0.4.3.tar.gz | [⬇️ 立即下载](https://github.com/shy3130/tick-stock-panel/releases/download/v0.4.3/TSP-linux-x64-0.4.3.tar.gz) | > 💡 点击「立即下载」直接获取, 无需滚动到底部附件区。 …View on GitHub ↗ -
Release notes excerpt
Tick Stock Panel v0.4.2 - 分钟 K 与数据路径兼容。 支持分钟 K 按日重拉与按日期范围拉取,修复包含特殊字符或大小写差异路径下的行情读取与 DuckDB 视图兼容性。 - 图表指标与界面体验。 新建及内置图表指标切换至自有表达式引擎,修复界面缩放下图表十字准星偏移;策略列表支持按实时行情事件刷新,优化 AI 分析报告排版与部分页面交互。 - 估值口径修正。 工作台估值类因子(PB、VWAP 偏离度、流通市值对数)统一基于交易所原始收盘价计算,并复用独立评分口径。 - 安全边界加固。 修复反代场景下 X-Forwarded-For 解析与内网/回环 IP 校验,防止伪造头绕过门禁和登录限流;收紧默认 CORS 为仅同源(支持 CORS_ALLOW_ORIGINS 白名单),拦截非 Bearer 跨站写请求;为页面插件、配置备份、源码扩展删除、插件安装、Token 管理、策略保存/删除与仓位策略等高危管理端点统一接入 require_management 门禁,并为修改密码补齐限流检查。 …View on GitHub ↗ -
Release notes excerpt
Tick Stock Panel v0.4.1 - 看板与侧栏。 优化菜单布局,榜单、板块和连板梯队可直接打开个股或成分股,指数页提供四只核心指数。 - 个股详情。 支持自定义信息条、日 K 首屏区间及图表指标,指标可通过 JSON 导入和导出。 - 自研引擎。 工作台使用 Tivelo Data 和 Tivelo Backtest,支持数据快照、回测证据、任务报告与导出。普通策略回测支持前复权和后复权。启用并授权 Tivelo Pro 后,A 股日线策略可直接选择动态复权。 - 扩展和二次开发。 从「设置 → 导入与备份」预览并安装策略、指标、数据源、页面和引擎扩展。前端插槽、后端注册、Open API 及 MCP 提供按权限接入的入口。 [完整版本说明](https://github.com/shy3130/tick-stock-panel/blob/v0.4.1/docs/release-v0.4.1.md) · [操作说明书](https://github.com/shy3130/tick-stock-panel/blob/v0.4.1/操作说明书.md) 下载 | 平台 | 安装包 | | :--- | :--- | …View on GitHub ↗
FAQ
Is the TickFlow data source free?
Must I configure AI?
How do I solve Codex login with Docker?
Is this suitable for making investment decisions?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.