scjohn
03-31-2005, 05:50 AM
I am having trouble getting NT to accept an OIF command, after a Cancel command. The Cancel command has not finished being processed in NT when NT starts processing the OIF command. NT has accepted the Cancel command because the Cancel file has been deleted. I check for this condition (Cancel file does not exist) before I send the OIF command in the Order file. It seems that NT can't get out of it's own way, fast enough
"3/31/2005 2:09:39 PM ORDER STATUS TARGET1 ER2 06-05: FILLED B Type:LIMIT Qty:2 @ Limit Price:613.3 Stop Price:0 Position Id:ER2 06-05 SIM-101 90143321818 Order Id:90144447SIM Simulation"
"3/31/2005 2:09:41 PM ORDER STATUS STOP1 ER2 06-05: CANCELING B Type:STOPMARKET Qty:2 @ Limit Price:0 Stop Price:614.4 Position Id:ER2 06-05 SIM-101 90143321818 Order Id:90144446SIM Simulation"
"3/31/2005 2:09:41 PM ORDER STATUS STOP1 ER2 06-05: CANCELLED B Type:STOPMARKET Qty:2 @ Limit Price:0 Stop Price:614.4 Position Id:ER2 06-05 SIM-101 90143321818 Order Id:90144446SIM Simulation"
"3/31/2005 2:11:35 PM SUBMIT ORDER ENTRY1: S 2 @ Limit Price:1183.5 Stop Price:1183.5 Order Id: Position Id:ES 06-05 SIM-101 90143592119 Simulation"
"3/31/2005 2:11:35 PM ORDER STATUS ENTRY1 ES 06-05: PENDING S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id: Simulation"
"3/31/2005 2:11:39 PM ORDER STATUS ENTRY1 ES 06-05: ACP_XCHG S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id:9014113548SIM Simulation"
"3/31/2005 2:16:33 PM CANCEL ORDER ENTRY1: S 2 @ Limit Price:1183.5 Stop Price:1183.5 Order Id:9014113548SIM Position Id:ES 06-05 SIM-101 90143592119 Simulation"
"3/31/2005 2:16:33 PM ORDER STATUS ENTRY1 ES 06-05: CANCELING S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id:9014113548SIM Simulation"
"3/31/2005 2:16:34 PM AT 'ORDER OIF' ABORTED: Can't place order while entry order is pending"
"3/31/2005 2:16:37 PM ORDER STATUS ENTRY1 ES 06-05: CANCELING S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id:9014113548SIM Simulation"
"3/31/2005 2:16:37 PM ORDER STATUS ENTRY1 ES 06-05: CANCELLED S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id:9014113548SIM Simulation"
"3/31/2005 2:09:39 PM ORDER STATUS TARGET1 ER2 06-05: FILLED B Type:LIMIT Qty:2 @ Limit Price:613.3 Stop Price:0 Position Id:ER2 06-05 SIM-101 90143321818 Order Id:90144447SIM Simulation"
"3/31/2005 2:09:41 PM ORDER STATUS STOP1 ER2 06-05: CANCELING B Type:STOPMARKET Qty:2 @ Limit Price:0 Stop Price:614.4 Position Id:ER2 06-05 SIM-101 90143321818 Order Id:90144446SIM Simulation"
"3/31/2005 2:09:41 PM ORDER STATUS STOP1 ER2 06-05: CANCELLED B Type:STOPMARKET Qty:2 @ Limit Price:0 Stop Price:614.4 Position Id:ER2 06-05 SIM-101 90143321818 Order Id:90144446SIM Simulation"
"3/31/2005 2:11:35 PM SUBMIT ORDER ENTRY1: S 2 @ Limit Price:1183.5 Stop Price:1183.5 Order Id: Position Id:ES 06-05 SIM-101 90143592119 Simulation"
"3/31/2005 2:11:35 PM ORDER STATUS ENTRY1 ES 06-05: PENDING S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id: Simulation"
"3/31/2005 2:11:39 PM ORDER STATUS ENTRY1 ES 06-05: ACP_XCHG S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id:9014113548SIM Simulation"
"3/31/2005 2:16:33 PM CANCEL ORDER ENTRY1: S 2 @ Limit Price:1183.5 Stop Price:1183.5 Order Id:9014113548SIM Position Id:ES 06-05 SIM-101 90143592119 Simulation"
"3/31/2005 2:16:33 PM ORDER STATUS ENTRY1 ES 06-05: CANCELING S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id:9014113548SIM Simulation"
"3/31/2005 2:16:34 PM AT 'ORDER OIF' ABORTED: Can't place order while entry order is pending"
"3/31/2005 2:16:37 PM ORDER STATUS ENTRY1 ES 06-05: CANCELING S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id:9014113548SIM Simulation"
"3/31/2005 2:16:37 PM ORDER STATUS ENTRY1 ES 06-05: CANCELLED S Type:STOPLIMIT Qty:2 @ Limit Price:1183.5 Stop Price:1183.5 Position Id:ES 06-05 SIM-101 90143592119 Order Id:9014113548SIM Simulation"