Add key-level auto trade, AI analysis, and trading UX improvements.

Key monitors use 5m close triggers with WeChat alerts and box/convergence auto orders; add pending-order worker, structured WeChat notify, AI settings/messages, session clock, CTP margin sizing, and dual-layer position limits.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-28 10:36:56 +08:00
parent 0109b59f27
commit 840e88daad
33 changed files with 2514 additions and 143 deletions
+4 -4
View File
@@ -94,11 +94,11 @@
## 关键位监控
**路径**`/keys`
**路径**`/keys` · 详细规则见 [KEY_MONITORS.md](./KEY_MONITORS.md)
- 类型:箱体突破收敛突破、关键阻力、关键支撑
- 突破规则推送(去重);删除后归档至监控历史
- 列表约 1 秒轮询 `/api/key_prices`
- **箱体突破 / 收敛突破**:5m 收盘突破 → 顺势/反转自动市价单;止损=突破 K±2 跳;盈亏比默认 2(可改);可选移动保本(默认 3R 止盈)
- **关键支阻区**:上沿阻力 + 下沿支撑;5m 收盘突破 → 微信提醒最多 3 次(间隔约 5 分钟),不自动开仓
- 删除后归档至监控历史;列表约 1 秒轮询 `/api/key_prices`
---