private void setPosition(String tradeableId, Double price, Double newPosition) {
clientPortfolio.setPosition(tradeableId, price, newPosition);
PositionEvent pe = new PositionEvent(tradeableId, new TimeStamp(), price, newPosition);
pe.setTimeStamp(currentExchangeTime);
pe.setCreationTime(currentExchangeTime.getNanoseconds());
try {
transport.getPublisher(ETransportType.TRAD_DATA, tradeableId).send(pe);
} catch (TransportException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}
}