Add auto break-even toggle and WeCom hub notifications.

Desktop can auto-pull stop to open+/-1 after a 3$ favorable move; hub pushes open/close events and a 23:00 BJT daily summary via webhook.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-27 11:25:44 +08:00
parent 828038a5ae
commit 75b9bffe96
13 changed files with 582 additions and 5 deletions
+9
View File
@@ -56,6 +56,15 @@
2. 打开已激活的辅助 exe 下单 / 保本 / 平仓
3. 需要复盘时点 exe 上的 **打开复盘**,浏览器登录网页账号即可
4. 客户端在成交或平仓时自动上报(接口见技术文档)
5. 持仓旁可勾选 **自动保本**:价格有利走出 ≥3$ 后,自动把止损拉到开仓价 ±1$(与手动「保本」同一规则;勾选状态保存在本机)
## 4.1 企业微信推送(管理员)
1. 企业微信群 → 添加群机器人 → 复制 Webhook
2. 网页 **系统设置** → 填写 Webhook → 勾选启用 → 保存
3. 可用「发送测试消息」「立即推送今日日报」验证
4. 生效后:客户端上报的 **开仓 / 平仓** 即时推送;北京时间 **23:00** 自动推送各账户日报(交易次数、已平盈亏、胜率)
5. 也可在服务器 `.env` 写 `WECOM_WEBHOOK_URL=...`(设置页保存的地址优先)
## 5. 网页复盘