Administrator
2026-09-23 d69181311e185593c5bfd0e3cbc06e796bb74ebe
refs
author Administrator <15274802129@163.com>
Wednesday, September 23, 2026 14:15 +0800
committer Administrator <15274802129@163.com>
Wednesday, September 23, 2026 18:02 +0800
commitd69181311e185593c5bfd0e3cbc06e796bb74ebe
tree 0b64383c95dba4add37cfffe6e6b8953695af4de tree | zip | gz
parent 17c9f0ae96de7fa9d2ce7c2734ab98c9b2efcf46 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