USERNAME1, symbol, new DecimalQuantity(quantity), pricePerShare,
externalAccount1Id, brokerageAccount1Id);
// getOrderEstimate() requires a market price to calculate sale amount
marketDataService.updateMarketPrice(
new MarketPrice(symbol, pricePerShare, new DateTime()));
}