Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-328

ordermatch uses the wrong ExecType (tag 150) to accept a new order.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.3
    • Component/s: Examples
    • Labels:
      None
    • Environment:
      QFJ on Windows XP. jdk1.5.0_15

      Description

      When ordermatch receives a new order it returns an execution report with ExecType and OrdStatus of FILLED. It should be returning NEW.

      The following patch applied to rev 835 in the svn repository fixes this.

      cd: quickfixj\examples\src\main\java\quickfix\examples\ordermatch

      Index: Application.java
      ===================================================================
      — Application.java (revision 835)
      +++ Application.java (working copy)
      @@ -147,7 +147,7 @@
      }

      private void acceptOrder(Order order)

      { - updateOrder(order, OrdStatus.FILLED); + updateOrder(order, OrdStatus.NEW); }

      private void cancelOrder(Order order) {

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wilsond Dale Wilson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: