3738394041424344454647
} if (pos.quantity()==0) { return BigDecimal.ZERO; } if (null == pos.openPrice()) { throw new C2ServiceException("No open price found for position "+symbol,false); } return pos.openPrice().add(relativeLimit.value()); default:
4041424344454647484950
} if (null == pos.openPrice()) { throw new C2ServiceException("No open price found for position "+symbol,false); } return pos.openPrice().add(relativeLimit.value()); default: return relativeLimit.value(); } }