Administrator
2026-09-23 082f3381779b1e734a9b21548d3ae614a2410a2d
refs
author Administrator <15274802129@163.com>
Wednesday, September 23, 2026 14:15 +0800
committer Administrator <15274802129@163.com>
Wednesday, September 23, 2026 18:04 +0800
commit082f3381779b1e734a9b21548d3ae614a2410a2d
tree 014fc31141ec625e335ba02f7a72a197dff32290 tree | zip | gz
parent 63128e63cb9278f661212ed6a0f2d3b8a5f21ddd 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