Files
gold_monitor/desktop/README.md
T
dekun 75b9bffe96 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>
2026-10-27 11:25:44 +08:00

32 lines
983 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.
# desktop · MT5 黄金辅助客户端
## 功能
- 连接本机已登录 MT5,市价开平、ATR 止损止盈、保本(可勾选自动)、满仓灰显等(由原 `MT5黄金方案/Desktop` 迁入)
- **通用包 + 首次激活**:仅第一次填写中控地址与激活码;**不允许离线运行**
- **打开复盘**:用已保存的中控地址打开 `/login`
- **心跳**:约每 2 秒 ping 中控,配合总览 SSE 秒级在线状态
- **自动上报**:开仓/平仓成功后上报成交与四周期 K 线
## 本地配置
激活信息:`%USERPROFILE%\.gold_monitor\device.json`(`server`、`token` 等)。
已激活且中控可达则直接进主界面;中控不可达会提示重试,不能跳过。
## 开发运行
```bat
cd desktop
py -3 gold_order_app.py
```
需本机已安装 `MetaTrader5`、`numpy`,并打开登录 MT5。
## 打包
```bat
build_exe.bat
```
产物同步到仓库 `releases\黄金市价辅助.exe` 供下载中心分发。