Use Case: Perpetual Futures Trading
Trade perpetual futures with leverage on Donut Perps — all from your Telegram chat. Open long or short positions on BTC, ETH, SOL, and more without ever leaving the conversation.
The Scenario
You want to trade crypto with leverage. Maybe you're bullish on BTC and want to go 10x long, or you see a bearish setup on ETH and want to short it. Traditionally, this means logging into an exchange, navigating complex interfaces, managing margin, and switching between multiple screens.
With D0, the entire perpetual futures workflow — from funding your account to placing orders and monitoring positions — happens through simple messages.
Complete Perps Workflow
Step 1: Check Available Contracts
Before trading, check the contract specs for your target symbol.
You: "Show me the BTCUSDT perps contract info"
Bot: "BTCUSDT Contract Info:
- Min quantity: 0.001 BTC
- Max leverage: 50x
- Tick size: 0.1 USDT
- Maker fee: 0.02%
- Taker fee: 0.06%"
Step 2: Check Your Balance
You: "What's my perps balance?"
Bot: "Perps Account:
- Equity: $5,200
- Available balance: $3,800
- Margin used: $1,400
- Unrealized PnL: +$121.00"
Step 3: Fund Your Account (if needed)
If your perps account is empty, you need to deposit and transfer funds.
You: "Deposit 1000 USDT to my perps account"
Bot: "Deposit complete! 1,000 USDT deposited to your main perps account."
You: "Transfer 1000 to my trading sub-account"
Bot: "Transfer complete! 1,000 USDT moved from main account to trading sub-account. Your sub-account balance is now $1,000."
INFO
Fund flow: Wallet → deposit → Main Account → transfer in → Sub-Account → Trade. Sub-accounts are auto-created on your first order — no manual setup needed.
Step 4: Place a Trade
Market Order (instant execution)
You: "Open a 10x long on BTC with 0.01 BTC"
Bot: "Order placed!
- Symbol: BTCUSDT
- Side: BUY (Long)
- Type: MARKET
- Quantity: 0.01 BTC
- Leverage: 10x
- Entry price: $98,450
- Position value: $984.50
- Margin required: $98.45"
Limit Order (execute at target price)
You: "Place a limit buy for 0.01 BTC at $96,000 with 10x leverage"
Bot: "Limit order placed!
- Symbol: BTCUSDT
- Side: BUY
- Type: LIMIT
- Price: $96,000
- Quantity: 0.01 BTC
- Leverage: 10x
Order will fill when BTC reaches $96,000."
Step 5: Monitor Positions
You: "Show my positions"
Bot: "Your open positions:
Symbol Side Size Entry Mark PnL Lev BTCUSDT LONG 0.01 $98,450 $99,100 +$6.50 10x SOLUSDT LONG 10 $138.50 $142.35 +$38.50 5x Total Unrealized PnL: +$45.00"
Step 6: Check Open Orders
You: "Show my open orders"
Bot: "Your open orders:
Symbol Side Type Price Qty Status BTCUSDT BUY LIMIT $96,000 0.01 Open You have 1 open order."
Step 7: Close a Position
To close a position, place an opposite order with the reduce-only flag.
You: "Close my BTC long position"
Bot: "Closing position: SELL MARKET 0.01 BTCUSDT (reduce-only)
- Exit price: $99,100
- Realized PnL: +$6.50
Position closed!"
Step 8: Withdraw Profits
You: "Transfer out 500 from sub-account and withdraw"
Bot: "Transfer complete: 500 USDT moved from sub-account to main account."
You: "Withdraw 500 from perps"
Bot: "Withdrawal complete: 500 USDT returned to your wallet."
Common Trading Scenarios
Scenario 1: Bullish Momentum Trade
You see BTC breaking out and want to ride the momentum.
1. "Show me BTC funding rates and open interest"
→ Check if the market is already overleveraged
2. "What's the BTC technical analysis?"
→ Confirm the breakout is supported by indicators
3. "Open a 5x long on BTC with 0.005 BTC"
→ Enter with moderate leverage
4. "Alert me when BTC hits $100,000"
→ Set take-profit alert
5. "Show my positions"
→ Monitor throughout the dayScenario 2: Hedging a Spot Position
You hold SOL spot and want to protect against downside.
1. "What's my wallet balance?"
→ See how much SOL you hold
2. "Open a 2x short on SOL with 10 SOL"
→ Hedge your spot exposure
3. "Show my perps positions"
→ Verify the hedge is active
4. "Close my SOL short"
→ Remove hedge when you're confident againScenario 3: Range Trading
BTC is bouncing between support and resistance.
1. Send a chart screenshot → Identify the range ($96K–$99K)
2. "Place a limit buy for 0.01 BTC at $96,200 with 5x leverage"
→ Buy at support
3. "Place a limit sell for 0.01 BTC at $98,800 with 5x leverage"
→ Sell at resistance
4. "Show my open orders"
→ Monitor both ordersKey Concepts
Fund Flow
External Wallet → deposit → Main Account → transfer in → Sub-Account → Trade
Sub-Account → transfer out → Main Account → withdraw → External WalletSymbol Format
Always use the format BTCUSDT, ETHUSDT, SOLUSDT (base token + USDT).
Two-Step Funding
- Deposit moves funds from your wallet to the perps main account
- Transfer in moves funds from the main account to your trading sub-account
Reduce-Only Orders
To close a position without opening a new one in the opposite direction, use reduce-only. When you ask to "close" a position, the bot automatically handles this.
Tips
- Always check contract specs first — Know the minimum quantity and maximum leverage before placing orders
- Start with lower leverage — 5x or less while you learn the system
- Monitor your margin — If available balance gets low, you risk liquidation
- Use limit orders for better entries — Don't always market buy; place limits at key levels
- Check funding rates — Positive funding means longs pay shorts; factor this into your cost
- Set alerts at key levels — Combine price alerts with your perps strategy for better timing
