Trading Guide
Understanding leverage, margin, P&L, and how orders work
Trading Guide
Learn how perpetual trading works and how to use leverage effectively.
What Are Perpetual Contracts?
Perpetual contracts (perps) let you trade an asset's price without owning it. Unlike futures, they never expire - you can hold a position indefinitely.
Key benefits:
- Trade with leverage (amplify your buying power)
- Go long (bet price goes up) or short (bet price goes down)
- No expiration dates
Understanding Leverage
Leverage multiplies your market exposure. With 10x leverage, $100 controls a $1,000 position.
The Formula
Position Value = Margin × LeverageExample:
- You have $100 (your margin)
- You use 10x leverage
- Your position value = $100 × 10 = $1,000
How Profits and Losses Work
Your profit or loss is calculated on the full position value, not just your margin:
P&L = Position Value × Price Change %Example with 10x leverage on BTC:
| BTC Price Move | Position P&L | Return on $100 Margin |
|---|---|---|
| +5% | +$50 | +50% |
| +10% | +$100 | +100% |
| -5% | -$50 | -50% |
| -10% | -$100 | -100% (liquidated) |
Key insight: Leverage amplifies both gains AND losses equally.
Margin Types
Isolated Margin
Each position has its own separate margin. If liquidated, only that position's margin is lost.
Best for: Limiting risk on individual trades
Cross Margin
All positions share your total account balance as margin. Profits from one position can offset losses in another.
Best for: Experienced traders running multiple positions
Order Types
Market Orders
Execute immediately at the current best price.
Pros: Guaranteed fill, instant execution Cons: May get worse price in volatile markets (slippage)
When to use: When you need to enter/exit quickly
Limit Orders
Execute only at your specified price or better.
Pros: Control your entry/exit price exactly Cons: May not fill if price doesn't reach your limit
When to use: When you have a specific price target
Liquidation
If your losses approach your margin, your position gets liquidated (force-closed) to prevent negative balance.
Liquidation Price Formula
For a long position:
Liquidation Price = Entry Price × (1 - 1/Leverage + Maintenance Margin)For a short position:
Liquidation Price = Entry Price × (1 + 1/Leverage - Maintenance Margin)Simplified example (ignoring maintenance margin):
- Entry: $50,000 BTC
- Leverage: 10x
- Liquidation: ~$45,000 (10% drop from entry)
The bot shows your liquidation price in /positions.
Fees
Trading Fees
Fees are charged when you open and close positions:
| Order Type | Fee |
|---|---|
| Market (Taker) | ~0.035% |
| Limit (Maker) | ~0.01% |
Fees are calculated on the position value, not margin.
Example:
- $1,000 position value
- Market order fee = $1,000 × 0.035% = $0.35
Funding Rate
Perpetual contracts have a funding rate that balances longs vs shorts:
- Positive funding: Longs pay shorts
- Negative funding: Shorts pay longs
Funding is paid/received every 8 hours based on your position size.
Placing Orders
Quick Order Syntax
/long SYMBOL [LEVERAGE]x [SIZE]
/short SYMBOL [LEVERAGE]x [SIZE]Examples:
/long BTC # Start order flow for BTC
/long BTC 10x # 10x leverage, prompts for size
/long BTC 10x 100 # Instant order: 10x, $100 size
/short ETH 5x 50 # Short ETH, 5x leverage, $50 sizeQuick order defaults:
- Margin type: Cross (unless the asset only supports Isolated)
- Order type: Market
- Leverage: 5x (if not specified)
Order Flow
When you don't specify all parameters, the bot guides you:
- Choose symbol - Or search with
/discover - Set order type - Market or Limit
- Set margin type - Isolated or Cross
- Choose leverage - 1x to 50x
- Enter size - Amount in USDC
- Confirm - Review and execute
Managing Positions
Viewing Positions
/positionsShows for each position:
- Symbol and direction (Long/Short)
- Size in contracts and USDC value
- Entry price and current price
- Unrealized P&L (profit/loss)
- ROE (Return on Equity) - your percentage gain/loss
- Liquidation price
Closing Positions
/closeOptions when closing:
- Market close - Instant at current price
- Limit close - At your specified price
- Partial close - 25%, 50%, 75%, or custom percentage
Sharing Positions
From /positions, you can generate a shareable image showing your P&L - great for social media!
Risk Management Tips
- Start with low leverage - 2-5x while learning
- Never risk more than you can lose - Liquidation is real
- Use isolated margin - Limits loss to one position
- Set mental stop losses - Know when you'll exit
- Watch liquidation price - Don't let it get too close to current price
- Understand funding - It can add up over time
Common Mistakes to Avoid
❌ Using max leverage - 50x means 2% price move = liquidation
❌ Ignoring fees - They add up, especially on small trades
❌ Averaging down - Adding to losing positions increases risk
❌ Overtrading - More trades ≠ more profit
❌ No exit plan - Always know when you'll take profit or cut losses