Files
Chan/docs/TECH_STACK.md
T
jackyu66gitandCursor df27b4dde8 refactor: ECR-002 拆分 runtime 包并加深 analyze 契约(已审)
将 web/services/runtime.py 拆为 runtime/ 子模块并保持门面兼容;补齐 ESS 文档、门面/契约/TF_DF 测试与 CODE_REVIEW Approve。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 18:15:23 +08:00

24 lines
989 B
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.
# Tech Stack — chan
## Engine
- Python, pandas, numpy, TA-Lib / technical
- 包名:`chanlun`
- 流水线:KLU → KLC → BI → SBI → SEG → ZS → BSP`ChanLun` / `TF_DF` 门面)
## Web
- Flask + Jinja2 templates
- **主站 `/`**Lightweight Charts + `web/static/js/app/`(定时 HTTP `/api/analyze` 自动刷新;增量 setData
- **全版 `/chan_tv`**TradingView Charting Library`web/charting_library/`+ `datafeed.js`
- 服务层:`web/services/runtime/` 包(state / market_data / analyze / serialize…)+ 门面 `services.runtime`
- 行情 REST`DATA_SERVICE_URL`(默认 `https://provider.jackyu66.com`/ CCXT / A 股数据服务
- 行情 WSchan_tv):`DATA_SERVICE_WS_URL`(默认 `wss://jackyu66.com/ws`,可与 REST 分域名)
## Out of scope(直至新 ECR / ADR
- data_provider 仓库内重建
- React/TS 构建
- Freqtrade config/strategies 重构
- 主站 WebSocket 实时(曾实验后回退;勿无 ECR 再引入)