}
private static final MarketPrice toDomainMarketPrice(
org.archfirst.bfoms.interfaceout.exchange.marketdataadapter.client.MarketPrice wsMarketPrice) {
return new MarketPrice(
wsMarketPrice.getSymbol(),
new Money(
wsMarketPrice.getPrice().getAmount(),
Currency.getInstance(wsMarketPrice.getPrice().getCurrency())),
new DateTime(wsMarketPrice.getEffective().toGregorianCalendar()));