Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bulk multi order at same time? #212

Open
meizoel opened this issue Oct 21, 2020 · 2 comments
Open

bulk multi order at same time? #212

meizoel opened this issue Oct 21, 2020 · 2 comments

Comments

@meizoel
Copy link

meizoel commented Oct 21, 2020

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

@eabase
Copy link
Contributor

eabase commented Nov 26, 2020

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.

@KptKuck
Copy link

KptKuck commented Nov 29, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants