Files
Chan/docs/PROJECT_PROFILE.md
T
jackyu66gitandCursor 74dec4e50b refactor: 缠论引擎包化与 Web 分层(ECR-001)
将根目录引擎迁入 chanlun/ 并保留兼容 shim;拆分 TF_DF 与 web 服务;
前端模块化;strategies 改用 chanlun 导入;补充 ESS 文档与 golden 回归。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 18:48:20 +08:00

40 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Project Profile — chan (缠论)
> Agent 第一次读这个文件。不要重新猜技术栈;偏离见 Forbidden + ADR。
## Type
Trading System(缠论分析引擎 + 可视化 Web;Freqtrade 策略目录独立、本 ECR 不改)
## Stack Lock
| Layer | Choice |
|-------|--------|
| Language | Python 3 |
| Engine package | `chanlun/` |
| Backend | Flask |
| Realtime | 无(请求式分析) |
| Database | 无(行情外部 DATA_SERVICE / CCXT / A 股接口) |
| Frontend | TradingView Charting Library + 原生 JS |
| Deployment | gunicorn / systemdweb |
| Architecture Pattern | 包化引擎 + Web services/blueprints + 根目录兼容 shim |
## Forbidden(无 ADR / 无 ECR 禁止)
- 无 ADR 修改笔 / 线段 / 中枢 / 买卖点算法语义
- 无 ECR 修改 `config/``strategies/` 策略逻辑或参数
- 无 ECR 破坏 `/api/analyze` JSON 契约(可增不可删)
- 引入 Kafka / MongoDB / 微服务拆分(除非新 ADR)
- 本轮引入 Vite/React/TS 构建流水线
## Active anchors
- ECR: ECR-001
- EXP: N/A(本变更不改交易行为语义)
- TRACEABILITY: `docs/TRACEABILITY.md`
## Pointers
- Rules: `PROJECT_RULES.md`
- Stack detail: `TECH_STACK.md`
- Memory: `AGENT_MEMORY.md`(若存在)