Closed nguyen-t-nhan closed 2 years ago
Hi,
'_response': 'ERROR_SETTING_SL_TP'
indicates that there was an error in setting the TP/SL.
_generate_default_order_dict()
uses:
_symbol: EURUSD
_SL: 500
_TP: 500
A possible issue could be if the symbol is not available (for example if there is a suffix in MT4). I also remember that the old version was inconsistent with regards to how it handled the SL/TP. The new version should always use points. Therefore, I would advice to download the newest version and try again.
When I try to get all open trades using the
._DWX_MTX_GET_ALL_OPEN_TRADES_()
method I either receive nothing or a dictionary with no trades even though I know there should be some.When I initialize the class I get this following which seems fine
When I start a new trade with
_zmq._DWX_MTX_NEW_TRADE_(_zmq._generate_default_order_dict())
I get the responseThis trade shows up, but when I try to get all trades, it is empty.