| | |
| | | /** |
| | | * 自动订单状态变更回调。由 OrdersOkxChannelHandler 调用。 |
| | | */ |
| | | public void onAutoOrder(String orderId, String status, String reason, String orderType, String tradeId) { |
| | | public void onAutoOrder(String orderId, String status, String orderType, String tradeId) { |
| | | if (state == StrategyState.STOPPED) { |
| | | return; |
| | | } |
| | | log.info("[OKX] 条件单状态变更, id:{}, status:{}, reason:{}, order_type:{}", |
| | | orderId, status, reason, orderType); |
| | | log.info("[OKX] 条件单状态变更, id:{}, status:{}, order_type:{}", |
| | | orderId, status, orderType); |
| | | if (!"finished".equals(status)) { |
| | | return; |
| | | } |