Stop multiple orders from being triggered
Created at 04 Mar 2024, 10:16
Stop multiple orders from being triggered
04 Mar 2024, 10:16
I am placing a stop Order and then get the callback whe the Position has been opened. I check whether there are any open positions or orders before opening a new stop order but sometimes the execution is so fast that a new order is triggered though one has already been placed (but probably is still pending creation/registration).
How would I solve this? I only want an order to be place if there no others have been triggered.