//confirm that the target can be adjusted
BigDecimal newTarget = new BigDecimal("10");
Response adjClose = sentryService.stockSignal(ActionForStock.SellToClose)
.stopOrder(newTarget).quantity(10).symbol("msft")
.duration(Duration.GoodTilCancel)
.xReplace(stopLossSignalId.intValue()).send();
Integer newCloseSignalId = adjClose.getInteger(C2Element.ElementSignalId);
//confirm the pending list of signals has been updated
updateSetWithPendingSignalIds(sentryService, pendingSignalIdSet);