Show HN:OpenChart——可接入自有 AI Agent 的开源 TradingView 替代方案
英文标题:🔶 Show HN: OpenChart – OSS TradingView alternative with your own AI agent
OpenChart 是一款开源桌面交易图表工具,定位为 TradingView 的替代方案,并将 Claude、Codex、Gemini 等 AI Agent 接入技术分析、市场监控、事件研究和告警工作流。该项目支持指标、成交量分布、最多 4×4 的多图表网格,以及不受软件套餐限制的图表、指标和价格告警。开发者可通过其自研 Tea 语言编写包含函数、循环、状态和集合的自定义市场逻辑,并可从源码构建和自托管。桌面客户端免费,AI 调用费用遵循用户所选 Agent 提供商的套餐,云端市场数据则单独定价。
921 B
533.4 KB
9.9 MB
50.3 KB
2.5 MB
2.4 MB
2.7 MB
158.2 KB
1.7 MB
45.4 KB
中文
OpenChart 将 AI Agent 引入投资旅程的每一个环节:通过代码和图表进行统计与技术分析、借助告警实时响应市场事件、通过 Agent 驱动的研究发现机会,等等。
OpenChart 的目标不是将软件变现,而是探索人类与 Agent 共同管理资产的未来。如果你认同这一未来并希望携手合作,我们希望与你交流。
下载适用于 macOS(Apple Silicon)的桌面版,打开磁盘映像并安装 OpenChart。
如需从源码运行桌面版,请安装 Node.js 24、npm 11.11.1、Bun 1.4.2 和 Just,然后运行:
git clone https://github.com/longsurf-ai/openchart.git
cd openchart
just install --frozen-lockfile
just desktop
just install 还会初始化并构建 Tea——由同一团队开发、专为分析市场而构建的编程语言。可按照配置指南创建第一个图表和告警,或参考开发指南构建并打包应用。
桌面版免费。AI 使用费用遵循你的 Agent 提供商套餐;可选的云端市场数据单独定价。
不受软件配额限制的图表
| 添加指标和成交量分布,然后扩展为 4×4 网格。图表、指标以及价格和指标告警均不受软件套餐限制。 | 使用你已有账户中的 Claude、Codex 和 Gemini 模型研究市场、构建指标并设置告警。 |
|---|---|
告诉你的 Agent 什么最重要。它会构建 Tea 监控器来评估传入数据,并在条件触发时展开调查。 |
![]() |
解释是什么推动了图表走势
选择一个区间,让你的 Agent 研究这段走势,并将带有来源链接的注释固定在 K 线上。
在图表上绘制一条线或一个区域。当价格穿越它时,告警可以要求你的 Agent 研究这次走势。 | 
使用 Tea 编写自己的市场逻辑
使用函数、循环、状态和集合构建自定义指标及条件,并让它们随数据流入进行评估。探索 Tea →
为 OpenChart 点 Star,以支持该项目并帮助更多人发现它。
感谢那些以其工作帮助塑造 OpenChart 的项目和贡献者:
同样感谢众多其他开源依赖的维护者,正是它们使 OpenChart 成为可能。
欢迎通过代码、指标、文档和反馈帮助改进 OpenChart。
- 代码: 从开发指南和架构文档开始。提交 pull request 前请运行
just check。 - 指标: 改进 OpenChart 内置研究工具,或为 Tea 编译器和运行时做出贡献。
- 文档: 修正不清晰的说明、完善配置指南,或添加有用的示例。
- 想法与反馈: 在 Discord 告诉我们你正在构建什么,或在 issue 中提交漏洞报告或功能请求。
感谢所有参与构建 OpenChart 的人。
社区与联系
请按照我们的安全政策,通过 security@longsurf.ai 私下报告安全漏洞。请不要在公开 issue、pull request 或社区频道中披露漏洞。
OpenChart 使用 OpenChart License,该许可证基于 Apache 2.0,并附带额外条件。使用条款及商业条款请参见许可证。商业授权请联系 legal@longsurf.ai。
English / 原文
Download Desktop · Self-hosting · Features · Tea
OpenChart brings AI agents into every step of your investment journey: statistical and technical analysis with code and charts, real-time responses to market events with alerts, opportunity discovery through agentic research, and more.
OpenChart is not built to monetize software, but to explore a future where humans and agents manage assets together. If you believe in this future and want to join forces, we want to talk to you.
Download Desktop for macOS (Apple Silicon), open the disk image, and install OpenChart.
To run Desktop from source, install Node.js 24, npm 11.11.1, Bun 1.4.2, and Just, then run:
git clone https://github.com/longsurf-ai/openchart.git
cd openchart
just install --frozen-lockfile
just desktop
just install also initializes and builds Tea, a programming language built for analyzing market, by the same team. Follow the setup guide for your first chart and alert, or the development guide for building and packaging the app.
Desktop is free. AI usage follows your agent provider's plan; optional Cloud market data is priced separately.
Charts without software quotas
Explain what moved the chart
Select a range and let your agent research the move, with source-linked annotations pinned to the bars.
Draw a line or zone on the chart. When price crosses it, an alert can ask your agent to research the move. | 
Write your own market logic in Tea
Build custom indicators and conditions with functions, loops, state, and collections that evaluate as data flows in. Explore Tea →
Star OpenChart to support the project and help more people discover it.
Thank you to the projects and people whose work helps shape OpenChart:
Thanks also to the maintainers of the many other open-source dependencies that make OpenChart possible.
Help improve OpenChart through code, indicators, documentation, and feedback.
- Code: Start with the development guide and architecture. Run
just checkbefore submitting a pull request. - Indicators: Improve OpenChart's built-in studies, or contribute to the Tea compiler and runtime.
- Documentation: Fix an unclear explanation, improve a setup guide, or add a useful example.
- Ideas and feedback: Tell us what you are building on Discord, or open an issue with a bug report or feature request.
Thanks to everyone helping build OpenChart.
Community & contact
Report vulnerabilities privately to security@longsurf.ai, following our security policy. Please do not disclose vulnerabilities in public issues, pull requests, or community channels.
OpenChart uses the OpenChart License, based on Apache 2.0 with additional conditions. See the license for usage and commercial terms. For commercial licensing, contact legal@longsurf.ai.




