I entered the code to keep the strategy working but I would like to ask if it is possible to intercept the error and when this happens, enter a market order in order to take a few ticks of slippage but avoid the trade not being executed.
Many thanks in advance

Comment