Thanks for the advises guys,
Making some progress here and am currently testing bracket orders on the paper account.
Not sure if I have done everything correctly though since I am getting presubmitted status on some of the child orders.
Here is the bracket sell order I have sent to the gateway: sell 100 MSFT -> 82.83 LMT, 81.6 STP:
21:18:12:130 <- 3-45-3-0-MSFT-STK--0---ISLAND-------Sell-100-LMT-82.83-0-DAY---O-0--0-0-0-0-0-0-0-0--0--------0---1-0---0---0-0--0------0-----0-----------0---0-0---0--0-0-0-0--1.79769313486232E+308-1.79769313486232E+308-1.79769313486232E+308-1.79769313486232E+308-1.79769313486232E+308-0-----
21:18:12:131 <- 3-45-4-0-MSFT-STK--0---ISLAND-------Sell-100-LMT-82.83-0-DAY---O-0--0-3-0-0-0-0-0-0--0--------0---1-0---0---0-0--0------0-----0-----------0---0-0---0--0-0-0-0--1.79769313486232E+308-1.79769313486232E+308-1.79769313486232E+308-1.79769313486232E+308-1.79769313486232E+308-0-----
21:18:12:131 <- 3-45-5-0-MSFT-STK--0---ISLAND-------Sell-100-STP-0-81.6-DAY---O-0--1-3-0-0-0-0-0-0--0--------0---1-0---0---0-0--0------0-----0-----------0---0-0---0--0-0-0-0--1.79769313486232E+308-1.79769313486232E+308-1.79769313486232E+308-1.79769313486232E+308-1.79769313486232E+308-0-----
Here is the response:
21:18:12:716 -> --ó5-34-4-272093-MSFT-STK--0-?--ISLAND-USD-MSFT-NMS-SELL-100-LMT-82.83-0.0-DAY-1351961740-DU768066-O-0--1238104769-1351961741-0-0-0--1351961741.0/DU768066/100----------0---1-0-------0-0-0--3-0-0--3-0--0-None--0----?-0-0--0-0------0-0-0-----0--IB-0-0--0-0-PreSubmitted-1.7976931348623157E308-1.7976931348623157E308-1.7976931348623157E308------0-0-0-None-1.7976931348623157E308-83.83-1.7976931348623157E308-1.7976931348623157E308-1.7976931348623157E308-1.7976931348623157E308-0----1.7976931348623157E308----B3-4-PreSubmitted-0-100-0-1351961741-3-0-1238104769-child,locate-0-
21:18:13:067 -> --ã5-34-5-272093-MSFT-STK--0-?--ISLAND-USD-MSFT-NMS-SELL-100-STP-0.0-81.6-DAY-1351961740-DU768066-O-0--1238104769-1351961742-0-0-0--1351961742.0/DU768066/100----------0---1-0-------0-0-0--3-0-0--3-0--0-None--0----?-0-0--0-0------0-0-0-----0--IB-0-0--0-0-PreSubmitted-1.7976931348623157E308-1.7976931348623157E308-1.7976931348623157E308------0-0-0-None-1.7976931348623157E308-81.6-1.7976931348623157E308-1.7976931348623157E308-1.7976931348623157E308-Infinity-0----1.7976931348623157E308----J3-5-PreSubmitted-0-100-0-1351961742-3-0-1238104769-child,locate,trigger-0-
21:18:13:074 -> --æ5-34-3-272093-MSFT-STK--0-?--ISLAND-USD-MSFT-NMS-SELL-100-LMT-82.83-0.0-DAY--DU768066-O-0--1238104769-1351961740-0-0-0--1351961740.0/DU768066/100----------0---1-0-------0-0-0--3-0-0--0-0--0-None--0----?-0-0--0-0------0-0-0-----0--IB-0-0--0-0-Submitted-1.7976931348623157E308-1.7976931348623157E308-1.7976931348623157E308------0-0-0-None-1.7976931348623157E308-83.83-1.7976931348623157E308-1.7976931348623157E308-1.7976931348623157E308-1.7976931348623157E308-0----1.7976931348623157E308----33-3-Submitted-0-100-0-1351961740-0-0-1238104769--0-
Notice that the first two children are presubmitted, and the parent order in the end is submitted.
This looks somewhat odd to me, does someone has any idea if this is valid and if not what am I doing wrong?
Also why does the first child order has a "child,locate" and the second "child,locate,trigger"?