Is there any danger of opening multiple orders
Created at 14 Jan 2023, 14:54
IV
Is there any danger of opening multiple orders
14 Jan 2023, 14:54
Hello, I am trying to create a bot, but I have question for this case:
Is it possible the response from the request to be delayed and return result "false", but in reality later to be completed which will trick me into opening more positions in an attempt to create an order. There is function ExecuteMarketOrderAsync and this lead me to believe I'm safe when it's not an async request, but I still want to be sure so I'm asking here
var result = ExecuteMarketOrder(TradeType.Sell, EURUSD, 123);
if (result.IsSuccessful)
{}
else
{}