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

Error on commands #3

Open
ildeb opened this issue May 29, 2019 · 6 comments
Open

Error on commands #3

ildeb opened this issue May 29, 2019 · 6 comments

Comments

@ildeb
Copy link

ildeb commented May 29, 2019

HI,
I installed the necessary packages, and started the Mt4ServerZMQ script leaving the default 6666 port. I also installed the ridis-cli client and started the connection to the above port but when I try to run a command, for example orders I get the following error:
Error: Protocol error, got "\xff" as reply type byte
What am I doing wrong?
The operating system is Windows server 2016 on a VPS.

@dingmaotu
Copy link
Owner

You may want to use Mt4ServerRaw because it uses raw tcp connection, which is the same as redis-cli. You use Mt4ServerZMQ only when you are using a zmq based client.

@ildeb
Copy link
Author

ildeb commented May 30, 2019

Hi @dingmaotu,
I confirm what you said, using Mt4ServerRaw it worked.
Do you know if it is possible to use a redis client from python?

@dingmaotu
Copy link
Owner

It is possible, but you need to use some low level methods instead of wrapped commands (the protocol is same but the commands are different)

@ildeb
Copy link
Author

ildeb commented Jun 3, 2019

Hi @dingmaotu,
thanks for the reply, sorry if I still ask you a question ... how do you send the commands to set the stop loss and take profit?

@ildeb
Copy link
Author

ildeb commented Jun 11, 2019

this project seems almost dead ... nobody contributes, nobody talks ..

@rkahun
Copy link

rkahun commented Apr 16, 2021

Hey @ildeb , picoredis works with Mt4ServerRaw.

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