mtapi icon indicating copy to clipboard operation
mtapi copied to clipboard

bulk multi order at same time?

Open meizoel opened this issue 5 years ago • 2 comments

hai , my question : can you help me for make a bulk multi order? my step : for now i'm using loop but it make the price is different? if anyone know how to optimize it please give me some tips? such execute some script on mql5 using this wrapper

here's the screenshot of different price using loop for multi order Screenshot 2020-10-21 145342

meizoel avatar Oct 21 '20 07:10 meizoel

Why do you want to make multiple copies of the same order? Just doesn't make any sense in any use scenario I can think of, except for some kind of order-stuffing scheme.

eabase avatar Nov 26 '20 18:11 eabase

You can use OrderSendAsync instead of OrderSend. MtApi5 OrderSendAsync MQL5 OrderSendAsync

This reduces response time But then you have to check if the order was placed correctly on the trading server.

KptKuck avatar Nov 29 '20 04:11 KptKuck