Support Board
Date/Time: Thu, 06 Feb 2025 09:36:49 +0000
Child order management
View Count: 509
[2020-04-19 23:00:12] |
User254520 - Posts: 16 |
I am having a problem coding the following: I enter two-target OCO bracket orders, but the child orders get mixed up between the two: Example, I have an order at 8556 for 2 contracts with targets 4 and 10, so 8560 and 8566 respectively. I also place another order below at 8550 with the same bracket, with targets of 8554 and 8560. The problem I have is, whenever trade 2 target is reached ( 8554 ) it gets recorded as the first trade LOSS instead of second trade GAIN and cancels first trade's target instead of second one. I hope I make sense, if not I am available over the phone to discuss. Appreciate any help you could give me on this. |
[2020-04-21 12:45:40] |
Sierra Chart Engineering - Posts: 104368 |
Certainly, each of these sets of orders are going to be functioning independently from each other. This is definite. When it comes to the matching of order fills there is FIFO and LIFO. This may not really help you and there really is no solution for what you are looking for. For LIFO, refer to: Chart Settings: Use Last In First Out Fill Matching (Chart >> Chart Settings >> Trading menu) 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 |
To post a message in this thread, you need to log in with your Sierra Chart account: