Futures Trading
Step 1: Opening a Position
Action: The user opens a perpetual futures position by providing collateral in USDT and selecting leverage. The platform calculates required margin and maximum position size.
Formula:
MaximumPositionSize=Collateral×Leverage
RequiredMargin=PositionSizeLeverage
InitialMarginRatio=1Leverage
Example:
Collateral:
1000 USDTSelected leverage:
5xMaximum position size:
1000 × 5 = 5000 USDTRequired margin:
5000 ÷ 5 = 1000 USDTInitial margin ratio:
1 ÷ 5 = 20%
Outcome: Position is opened with specified parameters, and the required margin is locked as collateral.
Step 2: Position Management
Action: The user manages their position by monitoring and adjusting risk parameters. The platform continuously calculates position PnL and margin ratios.
Formula:
UnrealizedPnL=(CurrentPrice−EntryPrice)×PositionSize×Side
Side = -1 for shorts, 1 for longs,
MarginRatio=(Collateral+UnrealizedPnL)PositionSize
LiquidationPrice=EntryPrice×(1±MaintenanceMarginRatio×Leverage)
+ for shorts, - for longs
Example:
Entry price:
2000 USDTPosition size:
5000 USDT (2.5 units)Current price:
2100 USDTLong position PnL:
(2100 - 2000) × 2,5 = 250 USDTNew margin ratio:
(1000 + 250) ÷ 5000 = 25%
Outcome: Position status updated in real-time with current PnL and risk metrics.
Step 3: Fee Calculation
Action: The platform calculates and charges trading fees based on position size and holder status.
Formula:
StandardFee=PositionSize×BaseFeeRate
DiscountedFee=PositionSize×BaseFeeRate×(1−DiscountRate)
Example:
Position size:
5000 USDBase fee rate:
0,1%Standard fee:
5000 × 0,001 = 5 USDTAdditional discounts:
20%Discounted fee:
5 × (1 - 0,2) = 4 USDT
Outcome: Fees are automatically deducted from the user's account.
Step 4: Position Closure
Action: The user closes their position either manually or through automated triggers (take-profit/stop-loss).
Formula:
RealizedPnL=(ExitPrice−EntryPrice)×PositionSize×Side−TotalFees
ROE(ReturnonEquity)=RealizedPnLInitialMargin×100
Example:
Entry price:
2000 USDTExit price:
2100 USDTPosition size:
5000 USDTTotal fees:
8 USDT (entry + exit)Realized PnL:
(2100 - 2000) × 2,5 - 8 = 242 USDTROE:
242 ÷ 1000 × 100% = 24,2%
Outcome: Position is closed, PnL is realized, and funds are returned to the user's available balance.
Step 5: Position Liquidation
Action: The platform automatically liquidates a user's position if the margin ratio falls below the maintenance margin requirement to prevent insolvency.
Formula:
Liquidation Price (for longs):Liquidation Price=Entry Price×(1−LeverageInitial Margin Ratio−Maintenance Margin Ratio)
Liquidation Price (for shorts): Liquidation Price=Entry Price×(1+LeverageInitial Margin Ratio−Maintenance Margin Ratio)
Example:
Entry Price:
2000 USDTPosition Size:
5000 USDT (2.5 units)Leverage:
5xMaintenance Margin Ratio:
2%Liquidation price for a long position: 2000×(1−50.20−0.02)=2000×0.96=1920USDT
Liquidation price for a short position: 2000×(1+50.20−0.02)=2000×1.04=2080USDT
Outcome: If the market price reaches the liquidation price, the platform closes the position at the current market price.
Last updated