What's the difference between these two functions?
Created at 20 Feb 2023, 02:58
PM
What's the difference between these two functions?
20 Feb 2023, 02:58
ExecuteMarketOrder()
ExecuteMarketOrderAsync()
What's the difference between these two functions?
cTrader Automate
@pmm20170926
PanagiotisChar
20 Feb 2023, 09:24
Hi there,
ExecuteMarketOrder() waits for the server's response before the execution proceeds. ExecuteMarketOrderAsync() does not wait for a server response. It sends the order to the server and then executes the next line of code, regardless if the server has responded or not.
Aieden Technologies
Need help? Join us on Telegram
Need premium support? Trade with us
@PanagiotisChar