190191192193194195196197
// Place order Order order = new Order(params); brokerageAccountRepository.persistAndFlush(order); this.addOrder(order); orderEventPublisher.publish(new OrderCreated(order)); return order; }