Cornix closes previous orders if an opposite signal is posted for the same symbol, except for Binance Futures and ByBit USDT while Hedge-Mode is enabled. To enable or disable Hedge-Mode please set your Position Mode.
In exchanges where Cornix does not support Hedge-Mode, or where Hedge-Mode is disabled, when a long trade is opened, all existing short positions of the same symbol will be closed along with associated orders, and vice versa for when a short trade is opened.