-
Notifications
You must be signed in to change notification settings - Fork 227
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
Trouble with retrieving subscriptions (Order requests are working but not subscriptions) #122
Comments
Hi, i am having similar problems too, not sure what is going on, looks like the author not actively support this development? |
I got it working by adding the requests I needed to the mt4 side of the
code. In the youtube video tutorials I think it was not stated but in the
github it was.
…On Mon, Mar 15, 2021, 21:53 moneyrolling ***@***.***> wrote:
Hi, i am having similar problems too, not sure what is going on, looks
like the author not actively support this development?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATCD22KBAVFTCPIQHWTQ2NTTDYGNFANCNFSM4YQ2KE5Q>
.
|
hi thanks for the reply, will you mind send me the example mt4 codes you added, thanks |
Hi, I know it can be a bit confusing. But
Then the |
The socket connection is local, so it should not depend on the internet (except the MT4 connection to the broker). In my experience a timeout can happen if you for example restart the MT4 EA multiple times and there is a problem in resetting the socket connection. I would try restart everything (MT4 and maybe also the PC). Then first start the MT4 EA and afterwards try again from python. |
Thanks, that worked in resolving the time out error. Now I ma back to the first one where I get an empty dictionary for market data. |
So the MT4 EA is active with default settings and you executed both and afterwards have an empty dict? |
The second function takes a list of symbols, so that you can set all symbols you want at the same time (or remove some by omitting them). It must be |
Thank you @elvinex . Tbh I was about to give up. |
Great to hear that it is working. :) |
I have sent buy and sell commands both had worked flawlessly. The issue is with the _zmq.DWX_MTX_SUBSCRIBE_MARKETDATA() command. All requests return empty dictionaries. Am I missing something?
![Missing Data](https://user-images.githubusercontent.com/79969641/109780946-7060a600-7c42-11eb-949d-5295f4444522.png)
The text was updated successfully, but these errors were encountered: