[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 private void acceptOrder(Order order) { - updateOrder(order, OrdStatus.FILLED); + updateOrder(order, OrdStatus.NEW); }private void cancelOrder(Order order) { |