darwinex / dwx-zeromq-connector

Wrapper library for algorithmic trading in Python 3, providing DMA/STP access to Darwinex liquidity via a ZeroMQ-enabled MetaTrader Bridge EA.
https://blog.darwinex.com/zeromq-interface-python-r-metatrader4/
BSD 3-Clause "New" or "Revised" License
341 stars 227 forks source link

AttributeError: module 'DWX_ZeroMQ_Connector_v2_0_1_RC8' has no attribute '_DWX_MTX_SUBSCRIBE_MARKETDATA_' #133

Closed vargaspazdaniel closed 3 years ago

vargaspazdaniel commented 3 years ago

Hello,

I'm trying to use the DWX connector to with MT4. All the dependencies, libraries are installed. The EA doesn't show any error message in console but my problem is Python.

I have anaconda and Python 3.8 in Windows 10 x64 with all VS libraries installed, as I said. I'm trying to subscribe to market data doing the following (keep in mind I have everything correctly set):

AttributeError: module 'DWX_ZeroMQ_Connector_v2_0_1_RC8' has no attribute '_DWX_MTX_SUBSCRIBEMARKETDATA'



And always I got the same error... It seems like Python is not able to import or to see that function. I'm using the 2.0.1 provided.

Thanks in advanced.

PS: I'm not able to use any other function like `_zmq._DWX_MTX_GET_ALL_OPEN_TRADES_()` or `._DWX_MTX_NEW_TRADE_()`, for my computer this functions doesn't exists.
vargaspazdaniel commented 3 years ago

I'll close the issue. I'm totally noob and I must access all these functions doing DWX_ZeroMQ_Connector().whatever_function.

xD