for (int i = 0; i < _securities.length; i++) {
final BigDecimal n = new BigDecimal(_amounts[i]);
final GovernmentBondSecurity bond = _securities[i];
final ZonedDateTime tradeDate = bond.getSettlementDate();
final ManageableTrade trade = new ManageableTrade(n, getSecurityPersister().storeSecurity(bond), tradeDate.toLocalDate(),
tradeDate.toOffsetDateTime().toOffsetTime(), ExternalId.of(Counterparty.DEFAULT_SCHEME, COUNTERPARTY));
trade.setPremium(bond.getIssuancePrice());
trade.setPremiumCurrency(bond.getCurrency());
final Position position = SimplePositionGenerator.createPositionFromTrade(trade);
node.addPosition(position);
}