Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 00:25:53 +0000



Post From: Server-side OCO and Bracket Orders

[2014-08-07 18:35:26]
moonmist - Posts: 127
Hi,

This is the log for the four tests that I mentioned in post #19.

Part one: The following is the log for test a) that caused the problem describing in #19:

Order 2014-08-05 22:56:45.000 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1207 Limit 1 Sell 1918.00 Order Sent DU167174 Open
------> This is the SELL limit order at 1918.00
Order 2014-08-05 22:56:45.001 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1208 Limit 1 Buy 1917.00 Order Sent DU167174 Close 1207
------> This is the limit target BUY order ( 4-tick target )
Order 2014-08-05 22:56:45.002 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1209 Stop 1 Buy 1920.00 Order Sent DU167174 Close 1207
------> This is the stop loss order ( 8-tick stop )
Order 2014-08-05 22:56:45.003 ES-201409-GLOBEX IB open order update 1208 4240 Limit 1 Buy 1917.00 Open DU167174 Close 1207
Order 2014-08-05 22:56:45.004 ES-201409-GLOBEX IB open order update 1209 4241 Stop 1 Buy 1920.00 Open DU167174 Close 1207
Order 2014-08-05 22:56:45.005 ES-201409-GLOBEX IB open order update 1207 4239 Limit 1 Sell 1918.00 Open DU167174 Open
******** After two seconds or so, the stop loss order moved to 1917.75 for some unknown reasons. ( Cut and paste from post #19. )****************
Order 2014-08-05 22:56:49.000 ES-201409-GLOBEX Auto trail order modification (Move to breakeven). Trigger price: 1912.000000 1209 4241 Stop 1 Buy 1920.00 Pending Modify DU167174 Close 1207
Order 2014-08-05 22:56:49.001 ES-201409-GLOBEX IB open order update 1209 4241 Stop 1 Buy 1917.75 Open DU167174 Close 1207

Part two: The following is the log for test b) that caused the problem describing in post #19:

Order 2014-08-05 22:57:13.000 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1210 Limit 1 Buy 1910.00 Order Sent DU167174 Open
------> This is the limit BUY order at 1910.00.
Order 2014-08-05 22:57:13.001 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1211 Limit 1 Sell 1911.00 Order Sent DU167174 Close 1210
------> This is the limit target order ( 4-tick target )
Order 2014-08-05 22:57:13.002 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1212 Stop 1 Sell 1908.00 Order Sent DU167174 Close 1210
------> This is the stop loss order ( 8-tick stop )
Order 2014-08-05 22:57:13.003 ES-201409-GLOBEX IB open order update 1211 4243 Limit 1 Sell 1911.00 Open DU167174 Close 1210
Order 2014-08-05 22:57:13.004 ES-201409-GLOBEX IB open order update 1212 4244 Stop 1 Sell 1908.00 Open DU167174 Close 1210
Order 2014-08-05 22:57:13.005 ES-201409-GLOBEX IB open order update 1210 4242 Limit 1 Buy 1910.00 Open DU167174 Open
****** The stop loss order moved to 1910.25 immediately. ( Cut and paste from post # 19. ) ******
Order 2014-08-05 22:57:15.000 ES-201409-GLOBEX Auto trail order modification (Move to breakeven). Trigger price: 1912.000000 1212 4244 Stop 1 Sell 1908.00 Pending Modify DU167174 Close 1210
Order 2014-08-05 22:57:15.001 ES-201409-GLOBEX IB open order update 1212 4244 Stop 1 Sell 1910.25 Open DU167174 Close 1210

Part three: The following is the log for test c) that caused the problem describing in post #19:

Order 2014-08-05 22:57:52.000 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1213 Limit 1 Buy 1908.00 Order Sent DU167174 Open
------> This is the limit BUY order at 1908.00
Order 2014-08-05 22:57:52.001 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1214 Limit 1 Sell 1909.00 Order Sent DU167174 Close 1213
------> This is the target limit order ( 4-tick target )
Order 2014-08-05 22:57:52.002 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1215 Stop 1 Sell 1906.00 Order Sent DU167174 Close 1213
------> This is the stop loss order ( 8-tick stop )
Order 2014-08-05 22:57:52.003 ES-201409-GLOBEX IB open order update 1214 4246 Limit 1 Sell 1909.00 Open DU167174 Close 1213
Order 2014-08-05 22:57:52.004 ES-201409-GLOBEX IB open order update 1215 4247 Stop 1 Sell 1906.00 Open DU167174 Close 1213
Order 2014-08-05 22:57:52.005 ES-201409-GLOBEX IB open order update 1213 4245 Limit 1 Buy 1908.00 Open DU167174 Open
****** The stop loss order moved to 1908.25 immediately. ( Cut and paste from post #19. ) ******
Order 2014-08-05 22:57:54.000 ES-201409-GLOBEX Auto trail order modification (Move to breakeven). Trigger price: 1912.000000 1215 4247 Stop 1 Sell 1906.00 Pending Modify DU167174 Close 1213
Order 2014-08-05 22:57:54.001 ES-201409-GLOBEX IB open order update 1215 4247 Stop 1 Sell 1908.25 Open DU167174 Close 1213

Part Four: The following is the log for test d) that caused the problem describing in post #19:

Order 2014-08-05 22:58:35.000 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1216 Limit 1 Buy 1906.00 Order Sent DU167174 Open
------> This is the limit BUY order at 1906.00.
Order 2014-08-05 22:58:35.001 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1217 Limit 1 Sell 1907.00 Order Sent DU167174 Close 1216
------> This is the target order ( 4-tick target )
Order 2014-08-05 22:58:35.002 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order entry | Last: 1912 1218 Stop 1 Sell 1904.00 Order Sent DU167174 Close 1216
------> This is the stop loss order ( 8-tick stop )
Order 2014-08-05 22:58:35.003 ES-201409-GLOBEX IB open order update 1217 4249 Limit 1 Sell 1907.00 Open DU167174 Close 1216
Order 2014-08-05 22:58:35.004 ES-201409-GLOBEX IB open order update 1218 4250 Stop 1 Sell 1904.00 Open DU167174 Close 1216
Order 2014-08-05 22:58:35.005 ES-201409-GLOBEX IB open order update 1216 4248 Limit 1 Buy 1906.00 Open DU167174 Open
Order 2014-08-05 22:58:41.000 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order modification 1216 4248 Limit 1 Buy 1906.00 Pending Modify DU167174 Open
Order 2014-08-05 22:58:41.001 ES-201409-GLOBEX Modifying Attached Order from parent modification/fill. Ref price: 1906.25 1217 4249 Limit 1 Sell 1907.00 Pending Modify DU167174 Close 1216
Order 2014-08-05 22:58:41.002 ES-201409-GLOBEX Modifying Attached Order from parent modification/fill. Ref price: 1906.25 1218 4250 Stop 1 Sell 1904.00 Pending Modify DU167174 Close 1216
Order 2014-08-05 22:58:41.003 ES-201409-GLOBEX IB open order update 1216 4248 Limit 1 Buy 1906.25 Open DU167174 Open
------> I raised the limit BUY order from 1906.00 to 1906.25
Order 2014-08-05 22:58:41.004 ES-201409-GLOBEX IB open order update 1217 4249 Limit 1 Sell 1907.25 Open DU167174 Close 1216
------> This is the new 4-tick target order
Order 2014-08-05 22:58:41.005 ES-201409-GLOBEX IB open order update 1218 4250 Stop 1 Sell 1904.25 Open DU167174 Close 1216
------> This is the new 8-tick stop order
Order 2014-08-05 22:58:43.000 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order modification 1216 4248 Limit 1 Buy 1906.25 Pending Modify DU167174 Open
Order 2014-08-05 22:58:43.001 ES-201409-GLOBEX Modifying Attached Order from parent modification/fill. Ref price: 1906.50 1217 4249 Limit 1 Sell 1907.25 Pending Modify DU167174 Close 1216
Order 2014-08-05 22:58:43.002 ES-201409-GLOBEX Modifying Attached Order from parent modification/fill. Ref price: 1906.50 1218 4250 Stop 1 Sell 1904.25 Pending Modify DU167174 Close 1216
Order 2014-08-05 22:58:44.000 ES-201409-GLOBEX IB open order update 1216 4248 Limit 1 Buy 1906.50 Open DU167174 Open
------> I raised the limit BUY order from 1006.25 to 1906.50
Order 2014-08-05 22:58:44.001 ES-201409-GLOBEX IB open order update 1217 4249 Limit 1 Sell 1907.50 Open DU167174 Close 1216
------> This is the new 4-tick target order
Order 2014-08-05 22:58:44.002 ES-201409-GLOBEX IB open order update 1218 4250 Stop 1 Sell 1904.50 Open DU167174 Close 1216
------> This is the new 8-tick stop order
Order 2014-08-05 22:58:47.000 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order modification 1216 4248 Limit 1 Buy 1906.50 Pending Modify DU167174 Open
Order 2014-08-05 22:58:47.001 ES-201409-GLOBEX Modifying Attached Order from parent modification/fill. Ref price: 1906.75 1217 4249 Limit 1 Sell 1907.50 Pending Modify DU167174 Close 1216
Order 2014-08-05 22:58:47.002 ES-201409-GLOBEX Modifying Attached Order from parent modification/fill. Ref price: 1906.75 1218 4250 Stop 1 Sell 1904.50 Pending Modify DU167174 Close 1216
Order 2014-08-05 22:58:47.003 ES-201409-GLOBEX IB open order update 1216 4248 Limit 1 Buy 1906.75 Open DU167174 Open
------> I raised the limit BUY order from 1906.50 to 1906.75
Order 2014-08-05 22:58:47.004 ES-201409-GLOBEX IB open order update 1217 4249 Limit 1 Sell 1907.75 Open DU167174 Close 1216
------> This is the new 4-tick target order.
Order 2014-08-05 22:58:47.005 ES-201409-GLOBEX IB open order update 1218 4250 Stop 1 Sell 1904.75 Open DU167174 Close 1216
------> This is the new 8-tick stop loss order.

******* When I raised the limit BUY order from 1906.75 to 1907.00, the stop loss order suddenly moved to 1907.00. ( Cut and paste from post #19. )******
Order 2014-08-05 22:58:51.000 ES-201409-GLOBEX Auto trail order modification (Move to breakeven). Trigger price: 1912.000000 1218 4250 Stop 1 Sell 1904.75 Pending Modify DU167174 Close 1216
Order 2014-08-05 22:58:51.001 ES-201409-GLOBEX IB open order update 1218 4250 Stop 1 Sell 1907.00 Open DU167174 Close 1216
Order 2014-08-05 22:58:52.000 ES-201409-GLOBEX ES-201409-GLOBEX [M] #1 | User order modification 1216 4248 Limit 1 Buy 1906.75 Pending Modify DU167174 Open
Order 2014-08-05 22:58:52.001 ES-201409-GLOBEX Modifying Attached Order from parent modification/fill. Ref price: 1907.00 1217 4249 Limit 1 Sell 1907.75 Pending Modify DU167174 Close 1216
Order 2014-08-05 22:58:52.002 ES-201409-GLOBEX IB open order update 1216 4248 Limit 1 Buy 1907.00 Open DU167174 Open
Order 2014-08-05 22:58:52.003 ES-201409-GLOBEX IB open order update 1217 4249 Limit 1 Sell 1908.00 Open DU167174 Close 1216