行为冻结物理拆分;保留 initTradingView/dispose 对外 API;无打包器。node --check 全绿。 Co-authored-by: Cursor <cursoragent@cursor.com>
848 B
848 B
IMPLEMENTATION_REPORT — ECR-008
Status: Implemented
Date: 2026-08-07
Branch: feature/ECR-008-chart-tv-split
Change summary
将 chart_tv.js 单体拆为:
| File | Role |
|---|---|
chart_tv_lifecycle.js |
disposeTradingViewCharts |
chart_tv_shell.js |
chartTvBuildShell(ctx) |
chart_tv_indicators.js |
chartTvRenderIndicators(ctx) |
chart_tv_chan.js |
chartTvRenderChan(ctx) |
chart_tv_overlays.js |
chartTvRenderOverlays(ctx) |
chart_tv_finalize.js |
chartTvFinalize(ctx) |
chart_tv.js |
initTradingView 薄门面 |
index.html 按 ENG 顺序加载;cache ?v=20260807f。
Method
剪切粘贴原 initTradingView 体段;共享绑定经 ctx;绘制语义未改。
Not changed
缠论算法、/api/analyze、config/、strategies/、主站 WS。