public PortfolioSummary findPortfolioSummary(Integer accountId) {
if (log.isDebugEnabled()) {
log.debug("TradingServiceFacade.findPortfolioSummary: accountId=" + accountId);
}
org.springframework.nanotrader.data.domain.PortfolioSummary portfolioSummary = tradingService.findPortfolioSummary(accountId);
PortfolioSummary portfolioSummaryResponse = new PortfolioSummary();
mapper.map(portfolioSummary, portfolioSummaryResponse, PORTFOLIO_SUMMARY_MAPPING);
if (log.isDebugEnabled()) {
log.debug("TradingServiceFacade.findPortfolioSummary: completed successfully.");
}
return portfolioSummaryResponse;