Generate Execution Reports

In this example, we create a "PartiallyFilled" execution. Other types of executions an also be created by calling corresponding methods.

    // Prerequisites: Variable "order" of type FIXRegularOrder.
    // In this example, we create a "PartiallyFilled" execution. Other types of executions an 
    // also be created by calling corresponding methods.
    FIXMessage execution = order.createNewExecutionPartiallyFilled();
    // TODO: Set fields such as "ExecID", "CumQty", "LastPx", "LastQty", "AvgPx", etc ...
    order.addExecution(execution);

This example works with FIX versions from 4.1 to 5.0+.