Examples of ExecutionReport


Examples of fitnesse.reporting.history.ExecutionReport

  }

  private Response makeTestExecutionReportResponse(Request request, Date resultDate, TestResultRecord testResultRecord) throws Exception {
    if (formatIsXML(request))
      return generateXMLResponse(testResultRecord.getFile());
    ExecutionReport report;

    String content = FileUtil.getFileContent(testResultRecord.getFile());
    report = ExecutionReport.makeReport(content);
    if (report instanceof TestExecutionReport) {
      report.setDate(resultDate);
      return generateHtmlTestExecutionResponse(request, (TestExecutionReport) report);
    } else if (report instanceof SuiteExecutionReport) {
      pageTitle.setPageType("Suite History");
      return generateHtmlSuiteExecutionResponse(request, (SuiteExecutionReport) report);
    } else
View Full Code Here

Examples of org.archfirst.bfoms.domain.account.brokerage.order.ExecutionReport

        Long orderId = this.brokerageAccountService.placeOrder(
                USERNAME1, brokerageAccount1Id, orderParams);
        Order order = this.brokerageAccountService.findOrder(orderId);
       
        // Acknowledge the order
        ExecutionReport executionReport = ExecutionReport.createNewType(order);
        this.brokerageAccountService.processExecutionReport(executionReport);
       
        // Execute the trade
        executionReport = ExecutionReport.createTradeType(
                order,
View Full Code Here

Examples of org.archfirst.bfoms.domain.account.brokerage.order.ExecutionReport

        Long orderId = this.brokerageAccountService.placeOrder(
                USERNAME1, brokerageAccount1Id, orderParams);
        Order order = this.brokerageAccountService.findOrder(orderId);
       
        // Acknowledge the order
        ExecutionReport executionReport = ExecutionReport.createNewType(order);
        this.brokerageAccountService.processExecutionReport(executionReport);
       
        // Execute the trade
        executionReport = ExecutionReport.createTradeType(
                order,
View Full Code Here

Examples of quickfix.fix42.ExecutionReport

    public static class MarketOrderStatusService {
        private static final Logger LOG = LoggerFactory.getLogger(MarketOrderStatusService.class);
       
        public ExecutionReport getOrderStatus(OrderStatusRequest request) throws FieldNotFound {
            LOG.info("Received order status request for orderId=" + request.getOrderID().getValue());
            return new ExecutionReport(request.getOrderID(),
                new ExecID(UUID.randomUUID().toString()),
                new ExecTransType(ExecTransType.STATUS),
                new ExecType(ExecType.REJECTED),
                new OrdStatus(OrdStatus.REJECTED),
                new Symbol("GOOG"),
View Full Code Here

Examples of quickfix.fix42.ExecutionReport

    public static class MarketOrderStatusService {
        private static final Logger LOG = LoggerFactory.getLogger(QuickfixjComponent.class);
       
        public ExecutionReport getOrderStatus(OrderStatusRequest request) throws FieldNotFound {
            LOG.info("Received order status request for orderId=" + request.getOrderID().getValue());
            return new ExecutionReport(request.getOrderID(),
                new ExecID(UUID.randomUUID().toString()),
                new ExecTransType(ExecTransType.STATUS),
                new ExecType(ExecType.REJECTED),
                new OrdStatus(OrdStatus.REJECTED),
                new Symbol("GOOG"),
View Full Code Here

Examples of quickfix.fix42.ExecutionReport

    public static class MarketOrderStatusService {
        private static final Logger LOG = LoggerFactory.getLogger(QuickfixjComponent.class);
       
        public ExecutionReport getOrderStatus(OrderStatusRequest request) throws FieldNotFound {
            LOG.info("Received order status request for orderId=" + request.getOrderID().getValue());
            return new ExecutionReport(request.getOrderID(),
                new ExecID(UUID.randomUUID().toString()),
                new ExecTransType(ExecTransType.STATUS),
                new ExecType(ExecType.REJECTED),
                new OrdStatus(OrdStatus.REJECTED),
                new Symbol("GOOG"),
View Full Code Here

Examples of quickfix.fix42.ExecutionReport

    public static class MarketOrderStatusService {
        private static final Logger LOG = LoggerFactory.getLogger(MarketOrderStatusService.class);
       
        public ExecutionReport getOrderStatus(OrderStatusRequest request) throws FieldNotFound {
            LOG.info("Received order status request for orderId=" + request.getOrderID().getValue());
            return new ExecutionReport(request.getOrderID(),
                new ExecID(UUID.randomUUID().toString()),
                new ExecTransType(ExecTransType.STATUS),
                new ExecType(ExecType.REJECTED),
                new OrdStatus(OrdStatus.REJECTED),
                new Symbol("GOOG"),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.