Administrator
2026-09-23 faeecfc63c04c155973fcdf91ac61e38c88c2e06
refs
author Administrator <15274802129@163.com>
Wednesday, September 23, 2026 14:15 +0800
committer Administrator <15274802129@163.com>
Wednesday, September 23, 2026 14:15 +0800
commitfaeecfc63c04c155973fcdf91ac61e38c88c2e06
tree 50973b1e7b06aaa0f84336ea500ab524b6ac4b43 tree | zip | gz
parent 876e0c5cad49f113ce4687b2756e6d7903342cdc 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