Sunday, 31 January 2021

ZeroMQ Connector How to check if an order has been closed by SL/TP?

There is little information about ZeroMQ Connector, I was following the 7 video tutorials on how to interface python with a MetaTrader Terminal 4 and got no problem running them on iPython kernel just as instructed in this video

I have an issue is that how to check if an order has been closed by SL/TP, I am thinking one way is to get the comment as after TP or SL, in the comment, it has[tp] for example:

EURUSD_Trader[tp]

Can anyone share some sample codes that I can access that to check if an order has been closed by SL/TP. I assume others may have the same problem, so I post it here.



from ZeroMQ Connector How to check if an order has been closed by SL/TP?

No comments:

Post a Comment