Long position: position/average opening price - position/delivery price
Short position: position/delivery price - position/average opening price
Long position: position /average opening price - position / closing average price
Short position: position/closing average price - position/average open price
Buy -- BTC Sell -- BTC
Stop profit/loss
Adjustment margin