The delivery contract uses the estimated liquidation price as the risk control method.
Net Position = Long Positions – Short Positions
If Net Position =0, then there is no liquidation price;
If Net position >0, then
Liquidation Price = AHP (Average Holding Price) of Longs * (1+MM) – Account Balance/|Net Position| * Multiplier
(If the liquidation price <0, the position will not be liquidated)
If Net Position < 0, then
Liquidation Price = AHP of Shorts * (1-MM) + Account Balance/|Net Position| * Multiplier
Where MM = Maintenance Margin = 0.5%
As the unrealized profit can be used to open a new position, resulting in the increase in maintenance margin, therefore, your estimated liquidation price may still be liquidated when your holding position is in profit.