Administrator
2026-09-23 57b465fff5e4277c69d726581cd8faca29c567fc
refs
author Administrator <15274802129@163.com>
Wednesday, September 23, 2026 14:15 +0800
committer Administrator <15274802129@163.com>
Wednesday, September 23, 2026 18:01 +0800
commit57b465fff5e4277c69d726581cd8faca29c567fc
tree d48c534103b25546e41b91d6ef6f8e6d593cb058 tree | zip | gz
parent f22a19c07b09058df728392ebd8c79345cd8575b 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