Currently, Bybit does not support the internal matching of hedging positions.

When a trader closes a hedged position, the closing fee also depends on whether the execution of the commission is a take order (Taker) or a pending order (Maker).

Go to Bybit’s Official Website