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
342 stars 227 forks source link

Compiling errors in GlobalVariable.mqh #89

Closed scratch222 closed 3 years ago

scratch222 commented 3 years ago

'::' - unexpected token 200 if(!m_cs.isValid()) m_ref=HandleManager::create();

'create' - function not defined 200 if(!m_cs.isValid()) m_ref=HandleManager::create();

'::' - unexpected token 211 m_ref=HandleManager::create();

'create' - function not defined 211 m_ref=HandleManager::create();

'&' - parameter passed as reference, variable expected 206 InterpretZmqMessage(&pushSocket, components);

Mtype commented 3 years ago

Same here. I used to had it running flawlessly. Did a modification / upgrade today then I'm getting the same message.

Edit _ This solution worked:

7iW commented 4 days ago I was able to resolve this issue by replacing the Darwinex Zero MQ implementation with the Zero MQ implementation from https://github.com/dingmaotu/mql-zmq.

scratch222 commented 3 years ago

Same here. I used to had it running flawlessly. Did a modification / upgrade today then I'm getting the same message.

Edit _ This solution worked:

7iW commented 4 days ago I was able to resolve this issue by replacing the Darwinex Zero MQ implementation with the Zero MQ implementation from https://github.com/dingmaotu/mql-zmq.

That worked thanks.

elvinex commented 3 years ago

Hi, thank you for raising this issue. Indeed the update required some changes in the dependencies. The file mql-zmq-master.zip was updated in our repo, so it should work again now without the need to download it from the original source.