BigDecimal tradeQuantity) {
return new PortfolioPosition(convertPosition(position, security[0], tradeQuantity), security, parentPath);
}
private PortfolioPosition createPortfolioPosition(Trade trade, ManageableSecurity[] security, String[] parentPath) {
return new PortfolioPosition(convertTradeToPosition(trade, security[0]), security, parentPath);
}