[Quickfix-developers] Sample ordermatcher application automatically fills all the incoming orders
Brought to you by:
orenmnero
|
From: Toli K. <tku...@de...> - 2005-11-04 22:58:53
|
Hey,=20
Seems that the sample ordermatcher application is setup to fill all
incoming orders immediately.=20
In quickfix.examples.ordermatch.Application.acceptOrder() on line 131
you have this:
private void acceptOrder(Order order) {
updateOrder(order, OrdStatus.FILLED);
}
So it fills all the orders automatically.=20
Changing this to OrdStatus.NEW fixes the problem and the ordermatcher
still works.
Hopefully someone can fix that in CVS.
|