getUser(username),
order.getAccount().getId(),
BrokerageAccountPermission.Trade);
// Cancel order
order.pendingCancel(orderEventPublisher);
exchangeTradingService.cancelOrder(order);
}
public void processExecutionReport(ExecutionReport executionReport) {
// Send to account for processing