You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MT4 this Script compiles and all the tests pass when running the test script included with mql-zmq. I can connect to the ZMQ server, however when I send a command I get the following error in the "Experts" panel of the Terminal:
I have tried encoding the command as "utf-16-le" (WIN32 unicode) but this crashes the server. I have also tried the alternate libraries provided in VC2010 folder of mql-zmq. Installed version of ZMQ is 4.3.2. Any ideas?
The text was updated successfully, but these errors were encountered:
Progress report about this issue. I have familiarized myself with the mt4-server code (not yet mql-lib or mql-zmq) and have placed some Print() statements to see where the code is choking on my command.
So, it receives the command but does not like the bytestream? Or is the response being incorrectly parsed? Apparently the response suffix (+, -, $, etc) is missing or incorrect... I must also mention that this behavior is not replicated when I connect via Redis which returns an array of orders as expected.
In MT4 this Script compiles and all the tests pass when running the test script included with mql-zmq. I can connect to the ZMQ server, however when I send a command I get the following error in the "Experts" panel of the Terminal:
2023.01.22 17:25:43.968 Mt4ServerZMQ XAUUSD.i,H1: >>> Error parsing command: RespParseErrorInvalidPrefix
I connect from Python using a textbook REQ socket:
I have tried encoding the command as "utf-16-le" (WIN32 unicode) but this crashes the server. I have also tried the alternate libraries provided in VC2010 folder of mql-zmq. Installed version of ZMQ is 4.3.2. Any ideas?
The text was updated successfully, but these errors were encountered: