Support Board
Date/Time: Thu, 03 Jul 2025 18:21:20 +0000
[Programming Help] - DTC Bracket Orders Rejected -
View Count: 95
[2025-06-16 18:17:19] |
User483520 - Posts: 7 |
Hello. I'm implementing bracket orders via DTC protocol following the documented approach: Send SUBMIT_NEW_SINGLE_ORDER (type 208) with IsParentOrder = 1 Send SUBMIT_NEW_OCO_ORDER (type 201) with ParentTriggerClientOrderID set to parent's ClientOrderID However, the OCO children are immediately rejected with "There is no parent order for child OCO order" even though the parent order is accepted by Sierra Chart. My logs show: 13:03:15.492020 - Parent order sent (IsParentOrder = 1) 13:03:15.492073 - Parent order accepted 13:03:15.492108 - Child OCO rejected: "no parent order" This happens even with sub-millisecond transmission between messages. When using ACSIL, I notice bracket orders work differently - children are created as "Pending Child-Client" BEFORE the parent is sent. Question: What is the correct way to submit bracket orders via DTC protocol? Is the documented parent/OCO approach supported, or is there a different message type/sequence required? DTC Protocol Version: 8 Sierra Chart Version: latest |
[2025-06-17 17:30:54] |
Sierra_Chart Engineering - Posts: 20064 |
There must be something you are doing wrong. Go over the documentation here: DTC Messages and Procedures: Bracket Order Procedures 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: