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

_DWX_MTX_SUBSCRIBE_MARKETDATA_: Deriv VIX Data Publishing #132

Closed rnjema closed 2 years ago

rnjema commented 3 years ago

The EA works just fine publishing market BID/ASK updates on a Deriv VIX75 Chart but Client subscription seems to be the problem. I mounted the EA on a Volatility 75 Index but when I make a subscription with the Connector client,no data is received.

Anyone with an idea on what perhaps might be the problem? MT5 Chart - EA mounted iPython demo

jaxontn commented 3 years ago

I have the same issue too

elvinex commented 2 years ago

Hi, I think the problem was that the symbol includes spaces because a space is used to separate the symbol from the data in the ZeroMQ message. I added a main_string_delimiter = ":|:", which probably is not contained in any symbol name and should solve the issue. However, none of my brokers has symbols with spaces, so I could not test it live.

Btw. we published the DWX Connect package which is probably better suited for most of the use cases.