1 of 2 trades isn't entered
Sometimes this script enters 2 trades, at other times it only enters 1 of the trades and reports an error of Error = no error
Any ideas what this could be or a way to reorder if something goes wrong in the error checking code?
Presumably, the second order always succeeds, and it's the first order which is periodically failing. The success of the second order will reset the last-error to zero. To find out what's going wrong, simply put some logging directly after the attempt to place the first order.
Sometimes this script enters 2 trades, at other times it only enters 1 of the trades and reports an error of Error = no error
Any ideas what this could be or a way to reorder if something goes wrong in the error checking code?