Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 21:02:50 +0000



Post From: ACSIL Issue sending two stop orders

[2017-10-06 03:34:59]
knoxville1915 - Posts: 38
I have that piece of code in my program but I do not get an output in my message log. The order is not getting rejected per se. One buyexit becomes cancelled when the other buyexit is sent. The orders have different names in the code, and I have confirmed that they have different InternalOrderIDs by checking the Orders and Positions window.

When I vary the conditions for each order, I can see on my chart and in the Orders and Positions window that the first order automatically gets cancelled even though I have no order cancellation code in my program.

I've combed through the documentation but I cannot seem to find anything related to this matter. Are there any global settings that can prevent the existence of two simultaneous buyexit orders?