my code places several long orders then 2 long orders in a row are ignored
no error messages in the Log or Output Window
replay account balance is 100,000+....no order rejection messages/state
no code limiting entries per direction
I am printing all OrderStates and all position updates
---------------Output Window-------------
Long_1 #35 qty 3 ENTER 2350.5, STOP 2349.5, bar 6931, 11/7/2011 2:16:50 PM
***** PendingSubmit, 11/7/2011 2:16:50 PM
***** Accepted, 11/7/2011 2:16:50 PM
***** Working, 11/7/2011 2:16:50 PM
***** PartFilled, 11/7/2011 2:16:50 PM
*** LONG POSITION: 2, AVGPRICE 2347.34375, 11/7/2011 2:16:50 PM
***** FILLED , 11/7/2011 2:16:50 PM
*** LONG POSITION: 4, AVGPRICE 2347.975, 11/7/2011 2:16:50 PM
Long_2 #36 qty 3 ENTER 2355.25, STOP 2354.25, bar 6942 , 11/7/2011 2:21:37 PM
***** PendingSubmit, 11/7/2011 2:21:37 PM
***** Accepted, 11/7/2011 2:21:37 PM
***** Working, 11/7/2011 2:21:37 PM
***** PartFilled, 11/7/2011 2:21:37 PM
*** LONG POSITION: 5, AVGPRICE 2348.63636363636, 11/7/2011 2:21:37 PM
***** FILLED , 11/7/2011 2:21:37 PM
*** LONG POSITION: 7, AVGPRICE 2349.65384615385, 11/7/2011 2:21:37 PM
Long_2 #36 EXIT 2354.25, bar 6942, 11/7/2011 2:21:44 PM
*** LONG POSITION: 6, AVGPRICE 2349.65384615385, 11/7/2011 2:21:44 PM
*** LONG POSITION: 4, AVGPRICE 2349.65384615385, 11/7/2011 2:21:44 PM
Long_2 #37 qty 4 ENTER 2354, STOP 2353, bar 6944, 11/7/2011 2:22:20 PM
trade ignored
Long_2 #38 qty 4 ENTER 2353, STOP 2352, , bar 6948, 11/7/2011 2:24:08 PM
trade ignored


Comment