Login Page - Create Account

Support Board


Date/Time: Mon, 16 Jun 2025 16:39:10 +0000



Sierra Chart - CANCEL_ORDER by DTC / ServerOrderID vs ClientOrderID

View Count: 219

[2025-05-01 09:02:42]
stefkovic.m28 - Posts: 38
Hello,

in case that my market order was not filled, also all the 3 orders are still open, how to close this waiting orders with command Cancel_order from DT protocol?
Because my order was not filled I know only my ClientOrderID but not ServerOrderID.

So is there any option how to get ServerOrderID which is not filled or other option how to recognize, that this ClientOrderID is this ServerOrderID?
Many thanks
imagecapture.JPG / V - Attached On 2025-05-01 09:02:29 UTC - Size: 164.54 KB - 91 views
[2025-05-01 10:19:29]
Sierra_Chart Engineering - Posts: 19936
Once an order is submitted, you will get an Order Update message from the DTC server with the server order ID, so you will know what it is.

The server order ID, will come very quickly, after the order is submitted. It does not require an order fill.
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
Date Time Of Last Edit: 2025-05-01 10:20:04

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account