[QFJ-328] ordermatch uses the wrong ExecType (tag 150) to accept a new order. Created: 05/Aug/08  Updated: 06/Oct/08  Resolved: 08/Sep/08

Status: Closed
Project: QuickFIX/J
Component/s: Examples
Affects Version/s: 1.3.2
Fix Version/s: 1.3.3

Type: Bug Priority: Default
Reporter: Dale Wilson Assignee: Unassigned
Resolution: Fixed Votes: 0
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) {


Generated at Mon May 20 02:47:33 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.