| | |
| | | }); |
| | | } |
| | | } |
| | | cancelCursor = GridElement.findById(cancelCursor.getUpId()); |
| | | Integer nextUpId = cancelCursor.getUpId(); |
| | | cancelCursor = nextUpId != null ? GridElement.findById(nextUpId) : null; |
| | | } |
| | | // log.info("[Gate-2] 多仓仓位归零 空仓队列触发, 匹配:{},当前价:{}", matched, currentPrice); |
| | | if (!newEntryGrid.isHasLongOrder()) { |
| | |
| | | }); |
| | | } |
| | | } |
| | | cancelCursor = GridElement.findById(cancelCursor.getDownId()); |
| | | Integer nextDownId = cancelCursor.getDownId(); |
| | | cancelCursor = nextDownId != null ? GridElement.findById(nextDownId) : null; |
| | | } |
| | | // log.info("[Gate-4] 空仓仓位归零 多仓队列触发, 匹配:{},当前价:{}", matched, currentPrice); |
| | | if (!newEntryGrid.isHasShortOrder()){ |