externalAccount1Id, brokerageAccount1Id);
}
public List<Lot> transferOut(String symbol, BigDecimal quantity) {
this.baseAccountService.transferSecurities(
USERNAME1, symbol, new DecimalQuantity(quantity), new Money(),
brokerageAccount1Id, externalAccount1Id);
List<Lot> lots =
this.brokerageAccountService.findActiveLots(brokerageAccount1Id);
Collections.sort(lots, new Lot.CreationTimeComparator());