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

Update DWX_ZeroMQ_Connector_v2_0_1_RC8.py #81

Open Wortburrito opened 4 years ago

Wortburrito commented 4 years ago

added 3 new Functions: _DWX_MTX_GET_ACCOUNT_INFO_() --> Informations like balance, margin, etc _DWX_MTX_GET_MARKET_INFO_([symbolpair]) ---> precision, digits, swap ... and a new SUB Socket for receiving Account Infos + Open Orders every 100ms in JSON and store it to _ACC_Data_DB (i didnt test the new SUB socket jet)

Mtype commented 3 years ago

Hi @Wortburrito!

Thank you for your addition. Exactly what I was looking for. Do you think you could add the ability to pull the account history into python through the DWX ZeroMQ connector? (something similar to this: https://www.mql5.com/en/docs/integration/python_metatrader5/mt5historydealsget_py (In mt5 deals == mt4 orders)