Closed atillayurtseven closed 4 years ago
Sorry but this is the underlying ZMQ library (only the MT4 part) that your code uses. Python part and and exact behavior of your program are specific to your server and client. Maybe you can ask the author of those programs.
Well i am asking here in case library have some problems as well.
I understand. Though it is possible that the library has some problems, I think the probability is fairly low. It has been used widely for quite some time. A lot of EAs will break if this library has some fundamental problems.
I think it is related to some implementation details of your server/client protocol. Is the protocol correctly implemented? This library only defines how raw data is transmitted and don't care if the data is about "OHLC" bars or order commands.
Hi,
I have just installed required server and client.
the strange thing is, only second half of my orders are executed. If i set "trades" variable to 20, MT4 will open only 10 orders. If I set 2, only one order will be opened. This may help you to find the problem and possible solution.
I have not changed any default parameters. I have updated EA properties and changed Maximum orders to 10 and maximum lot size to 10.
_verbose is set to True. I can send orders anyway, the problem is totally different here.
I have two more questions
tt = _zmq._DWX_MTX_GET_ALL_OPEN_TRADES_()