-
Notifications
You must be signed in to change notification settings - Fork 230
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
How to enable data I/O with _DWX_MTX_SEND_MARKETDATA_REQUEST_ ? #43
Comments
Hi @Jim2002 , Thank you for your kind feedback, glad to hear you're finding the project useful! Yes, that's correct - the Server EA needs to be publishing market data before a client application can request it. Data will not be returned if the EA input parameter To enable market data publication, this needs to be set to For further details and troubleshooting assistance, please watch the following video where we've outlined this and a few other common questions to help your user experience: Hope this proves useful! |
@integracore2 |
Hi @Jim2002 , Could you please provide some sample function calls here to show how you're using the method? Also, could you confirm that you can see MetaTrader publishing the data in your Experts tab in MetaTrader? |
p.s. Please do make sure to watch this video as it may well have the solution to any debugging you're currently conducting: We do these tutorials to assist users given the limited support resources we have at the present time - thank you for your understanding :) |
@integracore2 I'm trying to request bar data using Python from mt4, I noticed the The Experts tab is publishing |
I found out when I start from more recent timestamp, the method works. eg: |
Hey Jim2002,
Thank you. |
My regards. Also am appreciated for your ZeroMQ-connector. Hopefully, |
Don't know if it'll help to other fellows, but in my case worked subsequent command: So, in my case, problem was with date entering. When I used '2020.2.29', or "D'2020.2.29'" format, it didn't work properly. Think, that it will work properly now. Thanks again to Darwinex Team! |
Hey, A big thanks to Darwinex team! |
Hi I have setup the bridge and can subscribe and unsubscribe to data, etc. Before I describe the issue further, can I confirm that the data should be found in the _thread_data_output attribute? System details : Many thanks |
Hi, It seems the zmq_ret has a length limit. It should work if you request a small number of times (i.e. below 100). I guess the easiest temporary solution would be to divide the huge block of thousand of prices in smaller blocks and ask them in series. |
Hi Once again, thank you very much for the help. |
Hi there, first of all, thanks for the great project, secondly I'm not sure if I am the only one having this issue or not but when I called
_zmq._DWX_MTX_SEND_MARKETDATA_REQUEST_()
, noting is return to the ipython console, but for some reason I cannot request the market data. . In mt4 however this is printed in the Experts tab2019.09.23 22:54:53.640 DWX_ZeroMQ_Server_v2.0.1_RC8 EURUSD,M1: DATA;EURUSD;1;2019.01.04 17:00:00;2019.09.23 22:52:00
. I can open orders, close orders......etc . Subscribing only works if I changePublish_MarketData
in the EA fromfalse
totrue
Please help. Cheers
Python version: 3.7.2
zmq version: 18.1.0
dwx-zeromq-connector version: 2.0.1
windows: 10
The text was updated successfully, but these errors were encountered: