What is the difference between ModifyPosition() vs ModifyPositionAsync() function ?

Created at 27 Oct 2022, 19:51
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MA

mahamudur78

Joined 16.11.2018

What is the difference between ModifyPosition() vs ModifyPositionAsync() function ?
27 Oct 2022, 19:51


What is the difference between ModifyPosition() vs ModifyPositionAsync() function


cTrader Automate
@mahamudur78
Replies

PanagiotisChar
31 Oct 2022, 11:34

Hi,

The Async version will send the order to the server to be executed and proceed with the rest of the code. The other one will wait for a response from the server before it proceeds.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar