Closed ZixiSu closed 2 years ago
Hi,
The return value of this function should always be None since the function only sends the command and does not return anything.
If you want to act on data coming from MT4 after a request, the best way is probably to define an own pull data handler. The handler would have an own onPullData
function where you can parse any incoming data. It should then be passed to the DWX_ZeroMQ_Connector
through the _pulldata_handlers
variable.
Here is an example which just prints the data in the onPullData
function.
There is a function in DWX_ZeroMQ_Connector_v2_0_1_RC8.py
How can I 100% sure that I can get open orders, as sometimes I do have open orders but the return is Nonetype