Support Board
Date/Time: Mon, 27 Jan 2025 19:24:00 +0000
Order is finished
View Count: 599
[2019-03-06 11:32:57] |
User942837 - Posts: 108 |
Hi, sorry for cross posting but the DTC Protocol forum doesn't seem to be monitored frequently. I am trying to cancel and flatten a bracket order thru DTC protocol that was already filled. For unfilled orders, I send the clientOrderId of the parentOrder and the oco orders are automatically cancelled. When the bracket order is filled I am getting the cancellation rejected with reason Order is finished. What is the right procedure to flatten a bracket order in which the parent order is Filled. Do I issue 1) 2 separate cancel requests for the STOP and TARGET orders 2) and then issue a market order that makes the position of the original bracket order as 0? For 1, what serverOrderIds do I use? Thank you |
[2019-03-06 17:40:05] |
Sierra Chart Engineering - Posts: 104368 |
I am getting the cancellation rejected with reason Order is finished. You need to contact your trading service about that error message. That is where that message originates from.1) 2 separate cancel requests for the STOP and TARGET orders 2) and then issue a market order that makes the position of the original bracket order as 0? For 1, what serverOrderIds do I use? You use the server order IDs of the orders you want to cancel. It is that simple.
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: 2019-03-06 17:40:20
|
[2019-03-06 18:00:04] |
User942837 - Posts: 108 |
Could it be that "order is finished" message is thrown if you try to cancel an order that was already filled?
|
To post a message in this thread, you need to log in with your Sierra Chart account: