Perpetual Futures (DEX)

Trade perpetual futures contracts with up to 101x leverage on Med.Fun's integrated DEX, powered by Drift Protocol.

What are Perpetual Futures?

Perpetual futures are derivatives contracts that allow you to speculate on the future price of an asset without owning it. Unlike traditional futures, perpetual contracts have no expiration date.

Key Features

  • High Leverage: Trade with 1x to 101x leverage

  • Long or Short: Profit from both rising and falling markets

  • No Expiration: Hold positions as long as you want

  • Advanced Orders: Market, limit, stop-loss, and take-profit orders

  • Real-time Data: Live order book, recent trades, and TradingView charts

  • Position Management: Track P&L, margin, and liquidation prices in real-time

How Leverage Works

Leverage allows you to control a larger position with a smaller amount of capital:

  • 10x leverage: Control $1,000 worth of assets with $100

  • 50x leverage: Control $5,000 worth of assets with $100

  • 101x leverage: Control $10,100 worth of assets with $100

Getting Started

Desktop Access

  1. Click "DEX" in the top navigation bar

  2. Connect your wallet if not already connected

  3. You'll see the full trading interface with charts, order book, and trading panel

Mobile Access

  1. Tap the "DEX" icon in the bottom navigation

  2. Swipe between tabs: Trade, Chart, Positions, Orders

  3. Use the compact trading interface optimized for mobile

Drift Account Setup

Before you can trade perpetual futures, you need to create a Drift account:

  1. Navigate to the DEX page

  2. Click "Create Drift Account"

  3. Approve the transaction in your wallet

  4. Deposit SOL to start trading

Your Drift account is separate from your wallet. You need to deposit funds into your Drift account before trading.

Market Selection

Choose from available perpetual markets:

  • SOL-PERP: Solana perpetual futures

  • Additional markets available in the market selector

Each market displays:

  • Current price and 24h change

  • Funding rate (cost of holding positions)

  • Open interest and volume

Opening a Position

Going Long (Betting price goes up)

  1. Select your market from the market selector

  2. Choose "Long" in the trading panel

  3. Select order type (Market or Limit)

  4. Enter the amount you want to trade

  5. Set your leverage (1x - 101x)

  6. Optional: Add stop-loss and take-profit orders

  7. Click "Open Long" and confirm

Going Short (Betting price goes down)

  1. Select your market

  2. Choose "Short" in the trading panel

  3. Follow the same steps as opening a long position

  4. Click "Open Short" and confirm

Order Types

Market Order

  • Executes immediately at current market price

  • Best for entering/exiting positions quickly

  • May experience slippage in volatile markets

Limit Order

  • Executes only at your specified price or better

  • Useful for entering at specific price levels

  • May not fill if market doesn't reach your price

Stop-Loss Order

  • Automatically closes your position to limit losses

  • Triggers when market reaches your stop price

  • Essential for risk management

Take-Profit Order

  • Automatically closes your position to lock in profits

  • Triggers when market reaches your profit target

  • Helps secure gains without constant monitoring

Position Management

Viewing Open Positions

Your open positions show:

  • Entry Price: Price you entered the position

  • Current Price: Live market price

  • Size: Amount of the position

  • Leverage: Applied leverage multiplier

  • Unrealized P&L: Current profit or loss

  • Liquidation Price: Price at which position will be liquidated

  • Margin: Collateral backing the position

Closing Positions

To close a position:

  1. Go to the "Positions" tab

  2. Click "Close" on the position

  3. Choose to close partially or fully

  4. Confirm the transaction

Modifying Positions

You can:

  • Add or reduce margin to avoid liquidation

  • Add stop-loss or take-profit orders

  • Partially close to secure profits

  • Adjust leverage (by modifying margin)

Understanding P&L

Unrealized P&L

  • Profit or loss on open positions

  • Changes with market price movements

  • Not realized until you close the position

Realized P&L

  • Actual profit or loss from closed positions

  • Settled in your account balance

  • View history in the Orders tab

Calculating P&L

For a Long position:

For a Short position:

Liquidation

Liquidation occurs when your losses approach your margin (collateral). The liquidation price depends on:

  • Your leverage

  • Your entry price

  • Market volatility

Avoiding Liquidation

  1. Use lower leverage: Start with 2x-5x leverage

  2. Add margin: Deposit more collateral to lower liquidation risk

  3. Use stop-losses: Close positions before liquidation

  4. Monitor positions: Check liquidation prices regularly

  5. Size appropriately: Don't use your entire balance on one trade

Fees

  • Trading Fee: 0.1% per trade (maker/taker)

  • Funding Rate: Periodic payment between longs and shorts

    • Positive rate: Longs pay shorts

    • Negative rate: Shorts pay longs

    • Paid every 8 hours

View current funding rates in the market stats bar.

Risk Management Best Practices

  1. Start Small: Begin with low leverage (2x-5x) and small position sizes

  2. Always Use Stop-Losses: Protect yourself from large losses

  3. Diversify: Don't put all capital in one position

  4. Take Profits: Don't be greedy - secure gains regularly

  5. Understand Liquidation: Know your liquidation price before entering

  6. Never Overtrade: Take breaks and avoid emotional trading

  7. Risk Only What You Can Lose: Never trade with money you need

Desktop vs Mobile

Desktop Features

  • Full TradingView chart with drawing tools

  • Complete order book depth

  • Multiple panels visible simultaneously

  • Advanced order entry with all options

  • Detailed position management

Mobile Features

  • Swipeable tabs for different views

  • Compact trading interface

  • Essential chart functionality

  • Quick position closing

  • Optimized for touch controls

Troubleshooting

"Insufficient Margin" Error

  • Deposit more funds to your Drift account

  • Reduce position size or leverage

Position Not Opening

  • Check your Drift account balance

  • Ensure you've created a Drift account

  • Verify network connection

Can't See My Position

  • Check you're on the correct market

  • Look in the "Positions" tab

  • Ensure transaction was confirmed

Liquidation Concerns

  • Add more margin to the position

  • Close part of the position to reduce risk

  • Set stop-loss orders

Additional Resources

Last updated

Was this helpful?