Skip to content

SunX

SunX is TRON’s primary decentralized perpetual futures protocol, offering leveraged trading for TRON-native assets without expiry dates. As a core component of the Sun.io ecosystem, it enables traders to open long and short positions with up to 50x leverage, utilizing an on-chain funding rate mechanism to maintain price alignment with global spot markets.

Domain: sunx.io

A perpetual future (perp) is a derivative contract that tracks the price of an underlying asset. Unlike a standard futures contract, it has no expiry date. Instead, the mechanism that keeps the perp price anchored to the spot price is the funding rate — a periodic payment exchanged between long and short position holders.

  • If perp price > spot price: longs pay shorts (funding discourages more longs).
  • If perp price < spot price: shorts pay longs (funding discourages more shorts).

Funding payments occur every 8 hours on SunX and are settled directly from your margin balance.

SunX supports leverage up to 50x on supported pairs. The margin type is cross margin (shared across positions) or isolated margin (dedicated to one position), selectable per trade.

LeverageInitial margin requiredMaintenance margin
2x50% of position size1%
10x10% of position size1%
25x4% of position size1%
50x2% of position size1%

Initial margin is what you deposit to open the position. Maintenance margin is the minimum required to keep it open. When your margin ratio drops to the maintenance level, liquidation is triggered.

  1. Navigate to SunX — Access via sunx.io and connect TronLink. SunX requires USDT as margin collateral.

  2. Select a trading pair — SunX supports pairs including TRX/USDT, BTT/USDT, and others listed in the interface.

  3. Set your position parameters — Choose Long (price rises) or Short (price falls). Enter your margin amount in USDT. Set your leverage using the slider (1x–50x). The interface displays your position size, liquidation price, and estimated fees before you confirm.

  4. Approve USDT spending — On first use, sign an approval transaction allowing the SunX contract to use your USDT. This is a one-time step per wallet.

  5. Open the position — Click “Open Long” or “Open Short”. Confirm the transaction in TronLink. Your position appears in the “Positions” panel with live PnL tracking.

Your liquidation price is calculated at position open and updates as funding payments are deducted. The formula:

For a long:

Liquidation price = Entry price × (1 - (Initial margin % - Maintenance margin %))

For a short:

Liquidation price = Entry price × (1 + (Initial margin % - Maintenance margin %))

At 10x leverage with 1% maintenance margin, a long position is liquidated when the price drops approximately 9% from entry. Adding margin to a position raises the liquidation price buffer; withdrawing margin reduces it.

Funding rates fluctuate based on market conditions. Rates are displayed in the interface as an hourly percentage and accumulated over the 8-hour payment window.

A 0.01% hourly funding rate on a $10,000 position costs $1 per hour, or $8 every settlement window. At high leverage, funding can erode margin significantly during extended holds. Check the funding rate before opening a multi-day position.

  • Add margin — Deposit additional USDT to push your liquidation price further from the current price and reduce liquidation risk.
  • Reduce position — Partially close to take profit or reduce exposure without fully exiting.
  • Set stop-loss / take-profit — Conditional orders that automatically close the position at a specified price.
  • Close position — Exits entirely, settling PnL and returning remaining margin to your wallet.
FeeRateNotes
Opening fee0.05–0.1% of position sizeCharged on open
Closing fee0.05–0.1% of position sizeCharged on close
FundingVariablePositive or negative; settled every 8h
Liquidation penalty~5% of remaining marginPaid to liquidator

Liquidation risk is the primary danger. At 10x leverage, a 9% adverse price move wipes your margin. At 50x, a 1.8% move is sufficient. Price slippage during high volatility can push liquidation prices.

Funding rate risk compounds over time. Perpetually holding a long in a rising-funding environment drains margin even if price is stable.

Smart contract risk exists on all DeFi protocols. SunX is a separate protocol from SunSwap and no protocol is risk-free. Do not hold concentrated positions for extended periods without monitoring.


For SunSwap spot trading and liquidity provision, see the SunSwap guide. For network fee mechanics, see Energy & Bandwidth.