While this occurrence is rare due to the different strategies employed by the bots, due to FIFO rules it will cancel a long trade if a short trade is triggered and vice versa.