Support Board
Date/Time: Sun, 29 Dec 2024 15:20:58 +0000
Bug? Closing open position using Sell Ask/Sell Bid on Trade window creates new Buy Order
View Count: 1137
[2016-01-22 05:01:51] |
rc7rader - Posts: 144 |
I am using Sierra Chart version 1354 and IB as trading service/broker. I always trade stocks but last night I also traded ES futures. I placed a buy order for ES with attached stop loss and target orders. My order got filled. Price moved half-way to my target and started to struggle so I decided to take profit and hit Sell Ask on the Trade Window. My sell order was filled so my position was closed and the attached stop loss and target orders were automatically canceled by Sierra Chart. However, I noticed a new buy order was placed a few points above where my position was closed and fortunately price did not move up to fill my order so I canceled the new order. I wasn't sure what happened - whether I made the error of hitting the buy button or Sierra Chart sent the new order. I tested this using Replay Chart and I was able to duplicate what happened. Sierra Chart places a new buy order when I close the position before my target or stop gets hit. This happens with both Sell Ask and Sell Bid on the Trade Window when the buy order for futures contract has attached orders. If the parent buy order does not have attached orders, the problem does not happen. Also, this problem doesn't happen with stocks. I hope you can fix this problem soonest. Thank you. |
[2016-01-22 05:17:41] |
Sierra Chart Engineering - Posts: 104368 |
There must be a misunderstanding here. There cannot be any genuine problem like this. Some quick testing now does not reveal any issue like described. And that is exactly what we would expect. Also, if a problem like this were to exist it would happen with any symbol. And also the kind of behavior you are describing, is not unusual with Interactive Brokers. We have heard of it before and the one issue that was carefully looked into was confirmed to be an issue on the Interactive Brokers side. Why would this be the case?: and the attached stop loss and target orders were automatically canceled by Sierra Chart.
This certainly is not the default behavior unless you are using Scale Out. I noticed a new buy order was placed a few points above where my position was closed and fortunately price did not move up to fill my order so I canceled the new order.
Most likely this was an Attached Order attached to the sell order you submitted. We recommend looking at the Trade >>Trade Activity Log to determine exactly what is happening in your case: https://www.sierrachart.com/index.php?page=doc/doc_TradeActivityLog.php We are very confident there is no genuine issue here. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2016-01-22 05:18:34
|
[2016-01-22 05:44:34] |
rc7rader - Posts: 144 |
Yes, I'm using Scale Out but the issue here is Sierra Chart sends the new buy order after closing the position and cancelling the stop loss and target orders. It happened to me last night and even using the replay on Sierra Chart repeats the what happened. I tried it again on replay now and this is the trade activity log: ActivityType DateTime Symbol OrderActionSource InternalOrderID ServiceOrderID OrderType Quantity BuySell Price Price2 OrderStatus FillPrice FilledQuantity TradeAccount OpenClose ParentInternalOrderID PositionQuantity FillExecutionServiceID Order 2016-01-21 09:35:00.000 [Sim]ES-201603-GLOBEX Replay 30.0X: ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1859. Attached Order 5323 Limit Sell 1861.00 Pending Child-Client Sim1 Close 5322 Order 2016-01-21 09:35:00.001 [Sim]ES-201603-GLOBEX Replay 30.0X: ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1859. Attached Order 5324 Stop Sell 1839.00 Pending Child-Client Sim1 Close 5322 Order 2016-01-21 09:35:00.002 [Sim]ES-201603-GLOBEX Replay 30.0X: ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1859 5322 Limit 2 Buy 1841.00 Order Sent Sim1 Open Order 2016-01-21 09:35:00.003 [Sim]ES-201603-GLOBEX Simulated order accepted 5322 5322 Limit 2 Buy 1841.00 Open Sim1 Open Order 2016-01-21 09:48:00.000 [Sim]ES-201603-GLOBEX Trade simulation fill. Bid: 1840.75 Ask: 1841.00 Last: 1840.75 5322 5322 Limit 2 Buy 1841.00 Filled 1841.00 2 Sim1 Open Fill 2016-01-21 09:48:00.001 [Sim]ES-201603-GLOBEX Trade simulation fill. Bid: 1840.75 Ask: 1841.00 Last: 1840.75 5322 5322 Limit 2 Buy 1841.00 Filled 1841.00 2 Sim1 Open 2 5322.54 Order 2016-01-21 09:48:00.002 [Sim]ES-201603-GLOBEX Auto-sent child from parent fill 5323 Limit 2 Sell 1861.00 Order Sent Sim1 Close 5322 2 Order 2016-01-21 09:48:00.003 [Sim]ES-201603-GLOBEX Auto-sent child from parent fill 5324 Stop 2 Sell 1839.00 Order Sent Sim1 Close 5322 2 Order 2016-01-21 09:48:00.004 [Sim]ES-201603-GLOBEX Simulated order accepted 5323 5323 Limit 2 Sell 1861.00 Open Sim1 Close 5322 2 Order 2016-01-21 09:48:00.005 [Sim]ES-201603-GLOBEX Simulated order accepted 5324 5324 Stop 2 Sell 1839.00 Open Sim1 Close 5322 2 Order 2016-01-21 09:55:00.010 [Sim]ES-201603-GLOBEX Replay 30.0X: ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1848. Attached Order 5326 Limit Buy 1828.25 Pending Child-Client Sim1 Open 5325 2 Order 2016-01-21 09:55:00.011 [Sim]ES-201603-GLOBEX Replay 30.0X: ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1848. Attached Order 5327 Stop Buy 1850.25 Pending Child-Client Sim1 Open 5325 2 Order 2016-01-21 09:55:00.012 [Sim]ES-201603-GLOBEX Replay 30.0X: ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1848 5325 Limit 2 Sell 1848.25 Order Sent Sim1 Close 2 Order 2016-01-21 09:55:00.013 [Sim]ES-201603-GLOBEX Simulated order accepted 5325 5325 Limit 2 Sell 1848.25 Open Sim1 Close 2 Order 2016-01-21 09:56:00.000 [Sim]ES-201603-GLOBEX Trade simulation fill. Bid: 1849.75 Ask: 1850.00 Last: 1850.00 5325 5325 Limit 2 Sell 1848.25 Filled 1849.75 2 Sim1 Close 2 Fill 2016-01-21 09:56:00.001 [Sim]ES-201603-GLOBEX Trade simulation fill. Bid: 1849.75 Ask: 1850.00 Last: 1850.00 5325 5325 Limit 2 Sell 1848.25 Filled 1849.75 2 Sim1 Close 5325.55 Order 2016-01-21 09:56:00.002 [Sim]ES-201603-GLOBEX Modifying Attached Order from parent modification/fill. Ref price: 1849.75. Requested Price: 1829.75. Requested Quantity: 0 5326 Limit Buy 1828.25 Pending Modify Sim1 Open 5325 Order 2016-01-21 09:56:00.003 [Sim]ES-201603-GLOBEX Order modified internally 5326 Limit Buy 1829.75 Pending Child-Client Sim1 Open 5325 Order 2016-01-21 09:56:00.004 [Sim]ES-201603-GLOBEX Modifying Attached Order from parent modification/fill. Ref price: 1849.75. Requested Price: 1851.75. Requested Quantity: 0 5327 Stop Buy 1850.25 Pending Modify Sim1 Open 5325 Order 2016-01-21 09:56:00.005 [Sim]ES-201603-GLOBEX Order modified internally 5327 Stop Buy 1851.75 Pending Child-Client Sim1 Open 5325 Order 2016-01-21 09:56:00.006 [Sim]ES-201603-GLOBEX Auto-sent child from parent fill 5326 Limit 2 Buy 1829.75 Order Sent Sim1 Open 5325 Order 2016-01-21 09:56:00.007 [Sim]ES-201603-GLOBEX Auto-sent child from parent fill 5327 Stop 2 Buy 1851.75 Order Sent Sim1 Open 5325 Order 2016-01-21 09:56:00.008 [Sim]ES-201603-GLOBEX Simulated order accepted 5326 5326 Limit 2 Buy 1829.75 Open Sim1 Open 5325 Order 2016-01-21 09:56:00.009 [Sim]ES-201603-GLOBEX Simulated order accepted 5327 5327 Stop 2 Buy 1851.75 Open Sim1 Open 5325 Order 2016-01-21 09:58:00.004 [Sim]ES-201603-GLOBEX Canceling all orders for Symbol and Account 5323 5323 Limit 2 Sell 1861.00 Open Sim1 5322 Order 2016-01-21 09:58:00.005 [Sim]ES-201603-GLOBEX Canceling all orders for Symbol and Account 5323 5323 Limit 2 Sell 1861.00 Pending Cancel Sim1 Close 5322 Order 2016-01-21 09:58:00.006 [Sim]ES-201603-GLOBEX Simulated order canceled 5323 5323 Limit 2 Sell 1861.00 Canceled Sim1 Close 5322 Order 2016-01-21 09:58:00.007 [Sim]ES-201603-GLOBEX Canceling all orders for Symbol and Account 5324 5324 Stop 2 Sell 1839.00 Pending Cancel Sim1 Close 5322 Order 2016-01-21 09:58:00.008 [Sim]ES-201603-GLOBEX Simulated order canceled 5324 5324 Stop 2 Sell 1839.00 Canceled Sim1 Close 5322 Order 2016-01-21 09:58:00.009 [Sim]ES-201603-GLOBEX Canceling all orders for Symbol and Account 5326 5326 Limit 2 Buy 1829.75 Pending Cancel Sim1 Open 5325 Order 2016-01-21 09:58:00.010 [Sim]ES-201603-GLOBEX Simulated order canceled 5326 5326 Limit 2 Buy 1829.75 Canceled Sim1 Open 5325 Order 2016-01-21 09:58:00.011 [Sim]ES-201603-GLOBEX Canceling all orders for Symbol and Account 5327 5327 Stop 2 Buy 1851.75 Pending Cancel Sim1 Open 5325 Order 2016-01-21 09:58:00.012 [Sim]ES-201603-GLOBEX Simulated order canceled 5327 5327 Stop 2 Buy 1851.75 Canceled Sim1 Open 5325 |
[2016-01-22 05:53:03] |
rc7rader - Posts: 144 |
This is the trade activity log from last night's actual trade on ES: ActivityType DateTime Symbol OrderActionSource InternalOrderID ServiceOrderID OrderType Quantity BuySell Price Price2 OrderStatus FillPrice FilledQuantity TradeAccount OpenClose ParentInternalOrderID PositionQuantity FillExecutionServiceID Order 2016-01-21 09:13:21.498 Connected to server Unspecified None Order 2016-01-21 09:13:26.499 Requesting Open orders from trading service Unspecified None Order 2016-01-21 09:55:26.652 Requesting Open orders from trading service Unspecified None Order 2016-01-21 09:56:48.594 Requesting Open orders from trading service Unspecified None Order 2016-01-21 10:35:14.527 Requesting Open orders from trading service Unspecified None Order 2016-01-21 10:45:58.118 ES-201603-GLOBEX ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1869.75. Attached Order 5230 Stop Sell 1868.25 Pending Child-Client U***** Close 5229 Order 2016-01-21 10:45:58.119 ES-201603-GLOBEX ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1869.75 5229 Stop Limit 1 Buy 1870.25 1870.25 Order Sent U***** Open Order 2016-01-21 10:45:58.585 ES-201603-GLOBEX IB open order update 5229 3297 Stop Limit 1 Buy 1870.25 1870.25 Open U***** Open Order 2016-01-21 10:46:03.660 Requesting Open orders from trading service Unspecified None Order 2016-01-21 10:46:06.235 ES-201603-GLOBEX IB order fill (execution) 5229 3297 Stop Limit 1 Buy 1870.25 1870.25 Filled 1870.25 1 U***** Open Fill 2016-01-21 10:46:06.236 ES-201603-GLOBEX IB order fill (execution) 5229 3297 Stop Limit 1 Buy 1870.25 1870.25 Filled 1870.25 1 U***** Open 1 00010c32.56a05421.01.01 Order 2016-01-21 10:46:06.237 ES-201603-GLOBEX Auto-sent child from parent fill 5230 Stop 1 Sell 1868.25 Order Sent U***** Close 5229 1 Order 2016-01-21 10:46:06.962 ES-201603-GLOBEX IB open order update 5230 3298 Stop 1 Sell 1868.25 Open U***** Close 5229 1 Order 2016-01-21 10:46:21.230 Requesting Open orders from trading service Unspecified None Order 2016-01-21 10:47:37.217 ES-201603-GLOBEX ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1872. Attached Order 5232 Stop Buy 1874.25 Pending Child-Client U***** Open 5231 1 Order 2016-01-21 10:47:37.218 ES-201603-GLOBEX ES-201603-GLOBEX 5 Min #2 | User order entry | Last: 1872 5231 Limit 1 Sell 1872.25 Order Sent U***** Close 1 Order 2016-01-21 10:47:37.708 ES-201603-GLOBEX IB open order update 5231 3299 Limit 1 Sell 1872.25 Open U***** Close 1 Order 2016-01-21 10:47:39.630 ES-201603-GLOBEX IB order fill (execution) 5231 3299 Limit 1 Sell 1872.25 Filled 1872.25 1 U***** Close 1 Fill 2016-01-21 10:47:39.631 ES-201603-GLOBEX IB order fill (execution) 5231 3299 Limit 1 Sell 1872.25 Filled 1872.25 1 U***** Close 00010c32.56a054b5.01.01 Order 2016-01-21 10:47:39.632 ES-201603-GLOBEX Auto-sent child from parent fill 5232 Stop 1 Buy 1874.25 Order Sent U***** Open 5231 Order 2016-01-21 10:47:40.365 ES-201603-GLOBEX IB open order update 5232 3300 Stop 1 Buy 1874.25 Open U***** Open 5231 Order 2016-01-21 10:47:44.670 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 10:47:54.653 Requesting Open orders from trading service Unspecified None Order 2016-01-21 10:48:01.711 ES-201603-GLOBEX IB order status update. 5232 3300 Stop 1 Buy 1874.25 Canceled U***** Open 5231 Order 2016-01-21 10:48:02.855 ES-201603-GLOBEX IB order status update. 5230 3298 Stop 1 Sell 1868.25 Canceled U***** Close 5229 Order 2016-01-21 10:50:49.002 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 10:53:49.000 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 10:55:53.872 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 10:56:48.995 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 10:59:49.000 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:02:49.001 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:05:48.995 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:08:48.998 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:11:48.996 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:14:48.982 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:15:53.825 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:17:48.841 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:20:48.998 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:23:48.980 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:26:48.984 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:29:48.996 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:32:48.983 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:35:48.981 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:38:48.981 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:41:48.980 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:44:48.981 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:47:48.982 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:50:48.981 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:50:59.561 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:51:04.831 Requesting Open orders from trading service Unspecified None Order 2016-01-21 11:51:51.667 Requesting Open orders from trading service Unspecified None Order 2016-01-21 11:53:48.985 ES-201603-GLOBEX Removing Position with quantity of 0 Unspecified U***** Order 2016-01-21 11:54:04.143 Disconnected from server Unspecified None |
[2016-01-22 17:21:35] |
rc7rader - Posts: 144 |
I just found out that scale in and scale out was not checked on the trade window configuration for my futures chart. I have these checked on my trade window for stocks. This is the reason for the error. I checked both and tested it. Sierra Chart no longer sends a new buy order when I close the position. Behavior is now the same for both futures and stocks as you were saying.
|
[2016-01-22 17:24:52] |
Sierra Chart Engineering - Posts: 104368 |
Yes, we thought it was something like this. It is clear from the logs that you posted above, that the additional order you saw is an Attached Order. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2016-01-22 18:57:05
|
To post a message in this thread, you need to log in with your Sierra Chart account: