Administrator
2026-09-23 7fd30d54deb956cf1491d4d0d74eff8927ee59d3
refs
author Administrator <15274802129@163.com>
Wednesday, September 23, 2026 14:15 +0800
committer Administrator <15274802129@163.com>
Wednesday, September 23, 2026 17:59 +0800
commit7fd30d54deb956cf1491d4d0d74eff8927ee59d3
tree f86db506dae4c0c23d0b797f9ebf747a1ad28991 tree | zip | gz
parent 91cc251181dfd46c1141180661662d7f5c36db36 view | diff
feat(gateApi): 添加止盈触发对向加仓功能

- 在 GateConfig 中新增止盈触发对向加仓开关和挂单数量配置项
- 在 GateConfigDTO 中添加对应的 DTO 字段和构建逻辑
- 在 GateConfigPersistenceService 中完善配置持久化处理
- 在 GateGridTradeService 中实现止盈触发对向加仓核心逻辑
- 添加止盈触发对向加仓的状态管理和订单映射机制
- 实现对向加仓开仓单的挂单、成交和止损逻辑处理
- 添加止盈依次移动时取消旧对向开仓单的功能
4 files modified
287 ■■■■■ changed files
src/main/java/com/xcong/excoin/modules/gateApi/GateConfig.java 18 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/GateConfigDTO.java 10 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java 2 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java 257 ●●●●● diff | view | raw | blame | history