Trex pro / Publications
Forum
Removing a pending order (metatrader for PYTHON)
I'm trying to remove a previously placed pending order using the below python script but for an unknown reason it returns retcode 10013 which translates to "invalid request"... import time import MetaTrader5 as mt5 if not mt5.initialize(): print( "initialize() failed, error code ="