Cancel a limit order when a new one arrives in the opposite direction.
For example, a long signal came from TV and a buy limit order was placed. But the warrant was not executed. Then a new sell signal came in - you need to cancel the buy order and place a new one for sale.
·