@@ -315,7 +315,7 @@ public void onMessage(quickfix.fix43.NewOrderSingle order, SessionID sessionID)
315
315
Price price = getPrice (order );
316
316
317
317
quickfix .fix43 .ExecutionReport accept = new quickfix .fix43 .ExecutionReport (
318
- genOrderID (), genExecID (), new ExecType (ExecType .FILL ), new OrdStatus (
318
+ genOrderID (), genExecID (), new ExecType (ExecType .NEW ), new OrdStatus (
319
319
OrdStatus .NEW ), order .getSide (), new LeavesQty (order .getOrderQty ()
320
320
.getValue ()), new CumQty (0 ), new AvgPx (0 ));
321
321
@@ -325,7 +325,7 @@ public void onMessage(quickfix.fix43.NewOrderSingle order, SessionID sessionID)
325
325
326
326
if (isOrderExecutable (order , price )) {
327
327
quickfix .fix43 .ExecutionReport executionReport = new quickfix .fix43 .ExecutionReport (genOrderID (),
328
- genExecID (), new ExecType (ExecType .FILL ), new OrdStatus (OrdStatus .FILLED ), order .getSide (),
328
+ genExecID (), new ExecType (ExecType .TRADE ), new OrdStatus (OrdStatus .FILLED ), order .getSide (),
329
329
new LeavesQty (0 ), new CumQty (orderQty .getValue ()), new AvgPx (price .getValue ()));
330
330
331
331
executionReport .set (order .getClOrdID ());
@@ -350,7 +350,7 @@ public void onMessage(quickfix.fix44.NewOrderSingle order, SessionID sessionID)
350
350
Price price = getPrice (order );
351
351
352
352
quickfix .fix44 .ExecutionReport accept = new quickfix .fix44 .ExecutionReport (
353
- genOrderID (), genExecID (), new ExecType (ExecType .FILL ), new OrdStatus (
353
+ genOrderID (), genExecID (), new ExecType (ExecType .NEW ), new OrdStatus (
354
354
OrdStatus .NEW ), order .getSide (), new LeavesQty (order .getOrderQty ()
355
355
.getValue ()), new CumQty (0 ), new AvgPx (0 ));
356
356
@@ -360,7 +360,7 @@ public void onMessage(quickfix.fix44.NewOrderSingle order, SessionID sessionID)
360
360
361
361
if (isOrderExecutable (order , price )) {
362
362
quickfix .fix44 .ExecutionReport executionReport = new quickfix .fix44 .ExecutionReport (genOrderID (),
363
- genExecID (), new ExecType (ExecType .FILL ), new OrdStatus (OrdStatus .FILLED ), order .getSide (),
363
+ genExecID (), new ExecType (ExecType .TRADE ), new OrdStatus (OrdStatus .FILLED ), order .getSide (),
364
364
new LeavesQty (0 ), new CumQty (orderQty .getValue ()), new AvgPx (price .getValue ()));
365
365
366
366
executionReport .set (order .getClOrdID ());
@@ -385,7 +385,7 @@ public void onMessage(quickfix.fix50.NewOrderSingle order, SessionID sessionID)
385
385
Price price = getPrice (order );
386
386
387
387
quickfix .fix50 .ExecutionReport accept = new quickfix .fix50 .ExecutionReport (
388
- genOrderID (), genExecID (), new ExecType (ExecType .FILL ), new OrdStatus (
388
+ genOrderID (), genExecID (), new ExecType (ExecType .NEW ), new OrdStatus (
389
389
OrdStatus .NEW ), order .getSide (), new LeavesQty (order .getOrderQty ()
390
390
.getValue ()), new CumQty (0 ));
391
391
@@ -395,7 +395,7 @@ public void onMessage(quickfix.fix50.NewOrderSingle order, SessionID sessionID)
395
395
396
396
if (isOrderExecutable (order , price )) {
397
397
quickfix .fix50 .ExecutionReport executionReport = new quickfix .fix50 .ExecutionReport (
398
- genOrderID (), genExecID (), new ExecType (ExecType .FILL ), new OrdStatus (
398
+ genOrderID (), genExecID (), new ExecType (ExecType .TRADE ), new OrdStatus (
399
399
OrdStatus .FILLED ), order .getSide (), new LeavesQty (0 ), new CumQty (
400
400
orderQty .getValue ()));
401
401
0 commit comments