Can you give a way to find out if an order or position is pending an Async modification or cancelation
Created at 22 Nov 2024, 06:26
Can you give a way to find out if an order or position is pending an Async modification or cancelation
22 Nov 2024, 06:26
Can you give a way to find out, if
- an order or
- position
is pending an Async
- modification or
- cancelation
And also what is pending. It difficult to manually keep tract of these across multiple tick events.
cTrader Automate
@sirinath
PanagiotisCharalampous
22 Nov 2024, 08:57
Hi there,
This info needs to be kept on the client side. The whole concept of Async execution is to proceed with your code execution while you expect a response from the server. There is no pending state on the server side. The server receives the order and responds.
Best regards,
Panagiotis
@PanagiotisCharalampous