Support Board
Date/Time: Mon, 10 Mar 2025 22:22:03 +0000
Teton attached order did not cancel on position close
View Count: 697
[2022-04-07 14:48:09] |
User900285 - Posts: 98 |
Hi I will report something that happened this morning where an attached target order was left with the status 'pending cancel'. This is quite odd because there was nothing done differently in the trade execution or changed in the settings, it is the first time I experience this. On my trading chart I do have enabled M > Orders > Cancel orders on flat position. There was an open position with an attached target and client side stop. I closed the position manually by submitting a new order. The order filled and the position closed and as soon as this happened, this message appeared on the trade service log. Teton CME Order Routing | Order does not exist in order list. Event: DTC::ET_ORDER_CANCEL_REJECT. ClientOrderID: �]�. ServerOrderID: | 2022-04-07 10:25:56.004 * At this moment I see on my screen that the previously existing attached target order is still on my screen and I am not able to cancel it by clicking the X next to the order on my chart. I opened the Trade > Trade orders window, here it showed this order with the status pending cancel. I chose to cancel all orders in the trade orders window, the order still didn't cancel. Then I logged in to the web trade panel on a mobile device. When I cancelled the order via the web trade panel, it disappeared off my screen right away. I'm not entirely sure if that is what cancelled it. I can provide the trade orders log for that particular trade but if you look, you will see this trade was filled at 10:25:06. It was closed at 10:25:55 with a new order, the attached client side stop was also cancelled on that exact timestamp. The target limit buy order was cancelled at 10:26:48. Date Time Of Last Edit: 2022-04-07 14:50:18
|
[2022-04-07 15:03:28] |
|
During the time you initiated the position and closed the position, up to the time you had this issue, had you been using the web-based trading panel? Or did you use the web-based trading the one time to cancel the order? This seems like an order ID mapping issue. To refresh the order list select Trade >> Refresh Trade Data from Service. We need to get the Trade Activity Log for today's date, and your Trade Account. Instructions: Trade Activity Log: Providing Trade Activity Log File to Support Update: Actually it is clear, that there is a corruption of the client order ID. If we see no evidence of a problem on the server side, then somehow that value became corrupt at some point. It almost certainly would have to be an issue on your side. Yes definitely this is some corruption of data in the network stream. That is very unusual to see that. Or the data was corrupt as the order cancellation went out. And the server rejected it. Anyway, we do need to look at the Trade Activity Log from your side, because we really do not know your account number and all you need to do in a situation like this is refresh the order list as explained above. But it would really be best to reconnect to the data feed: File Menu: Procedure to Reconnect to the Data and Trade Servers You would not have to go to the web-based trading at all. Are you running any custom studies? If there is data corruption issue, with an order ID within Sierra Chart, on your side, it is not a Teton specific issue but has some other cause. 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: 2022-04-07 15:28:49
|
[2022-04-07 15:55:16] |
User900285 - Posts: 98 |
Thank you for the information, the trade activity log is attached below. I logged into the web trading panel on my mobile device before I started trading, this is the fail safe in the case of a network outage. I did have two trades prior to the one discussed above, one of them was also closed with a new order and there was no issue. If this were to happen again I will reconnect to the data feed. There is a custom study but I have been using it for around 3 months without any issues and it is a very lightweight study. |
Private File |
[2022-04-07 16:27:55] |
|
Ok we will check on this. We may not come to any definite conclusions about it other than it looks clear there is a corruption involving the client order ID. We are working to improve the logging in case there is another event. First time we probably have seen this particular kind of error. It is also not specific to the Teton service. We also need to know the time zone that the mentioned times in the first post are in. 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: 2022-04-07 16:28:42
|
[2022-04-07 16:35:13] |
User900285 - Posts: 98 |
The time zone is New York (-5 EST/-4 EDT) as it appears in the Time Zone Settings.
|
[2022-04-07 19:56:34] |
|
Thank you. The cancel request for that order was rejected at a very early point, in the server program. The reason for the rejection was not logged but it is obvious, the order ID was not found because it was corrupted and not valid. Why that order ID was corrupted we do not know. But that would have been an issue on your Sierra Chart client side. This is not a Teton specific issue. We are enhancing the logging so that if it happens again we will have more information about it. There definitely was some corruption of the order ID and why that happened is unknown but when there is memory corruptions we do begin to suspect custom studies can be the cause. Although it is very unlikely we have to consider all possibilities. Although a problem like this should not occur, if it does occur, the solution is to reconnect to the data feed to update the order list and get a fresh connection, and then cancel the order again. Do let us know if you see the problem again. 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: 2022-04-07 19:57:21
|
[2022-04-08 12:19:56] |
Sierra_Chart Engineering - Posts: 18736 |
If you tried to do this more than once and the order did not cancel then this is a clear indication, that something became unstable in your Sierra Chart process: At this moment I see on my screen that the previously existing attached target order is still on my screen and I am not able to cancel it by clicking the X next to the order on my chart. The fact that the order ID became corrupted, further concludes there was a corruption and instability that occurred for some unknown reason. In a situation like this you must restart Sierra Chart. And we always suspect custom studies as being a cause in situations like this. Refer to help topic 17: Sierra Chart Unexpectedly Shutting Down | Memory Errors | Unusual Software Problems | Exception Errors | Freezing of User Interface 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, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: