Skip to main content

Trading commands

Execute trades using natural language commands. The AI agent handles order placement, position management, and risk controls across all supported DEXs.

Opening positions​

Market Orders​

Execute immediate trades at current market price:

Perpetual Futures:

  • Long 0.1 BTC with 5x leverage
  • Short 1 ETH with 3x leverage
  • Buy 0.5 SOL on Hyperliquid
  • Open a long position on BTC, size 0.1, 10x leverage

Spot Trading:

  • Buy 10 HYPE with USDC
  • Swap 50 USDC for PURR
  • Purchase 100 HYPE tokens

AI Workflow:

  1. Sets leverage (if specified for perpetuals)
  2. Calculates margin requirements and fees
  3. Shows order summary with liquidation price
  4. Asks for confirmation
  5. Executes trade after confirmation

Limit Orders​

Place orders at specific price levels:

Commands:

  • Buy 0.1 BTC at $42,000 with 5x leverage
  • Long ETH at $2,300, size 1, leverage 3x
  • Place limit buy order for SOL at $95

Order Details:

  • Order remains open until price is reached
  • No execution if price never hits limit
  • Can be cancelled anytime before execution

Order confirmation flow​

Every trade requires explicit confirmation:

You: Long 0.1 BTC with 5x leverage

AI: I'll help you place this order. Let me set up the leverage first.

✅ Leverage successfully set to 5x (cross) for BTC

Order Summary:
- Asset: BTC
- Side: BUY (LONG)
- Size: 0.1 BTC
- Order Type: Market
- Leverage: 5x
- Estimated Entry: ~$43,250
- Required Margin: ~$865 USDC
- Liquidation Price: ~$34,600
- B3X Fee: ~$2.16 (0.05%)
- DEX Fee: ~$1.95 (0.045%)
- Total Fees: ~$4.11

This will open a long position. Do you want to proceed?

You: yes

AI: ✅ Order placed successfully! Order ID: 1234567890

Your BTC long position:
- Entry Price: $43,250.00
- Position Size: 0.1 BTC
- Leverage: 5x
- Margin Used: $865 USDC
- Liquidation Price: $34,600.00

Leverage management​

Setting leverage​

Adjust leverage before or during order placement:

Commands:

  • Set leverage to 10x for BTC
  • Change ETH leverage to 5x
  • Use 3x leverage for my next trade

Leverage Modes:

  • Cross Margin: Uses entire account balance as collateral
  • Isolated Margin: Risk limited to position margin (DEX-specific)

Leverage Limits:

  • Minimum: 1x (no leverage)
  • Maximum: 1x-125x (varies by DEX and asset)
  • Recommended: 2-10x for beginners

Leverage in order commands​

Specify leverage directly in trade commands:

Long 0.1 BTC with 10x leverage
Short ETH, size 1, 5x leverage
Buy 0.5 SOL with 3x leverage on Hyperliquid

Position management​

Closing positions​

Exit positions at market price:

Full Position Close:

  • Close my BTC position
  • Exit my ETH long
  • Close all my positions
  • Sell my entire SOL position

Partial Position Close:

  • Close 50% of my BTC position
  • Reduce my ETH position by 0.5
  • Close half of my SOL long

AI Response:

I'll close your BTC long position at market price.

Position Summary:
- Current Size: 0.1 BTC
- Entry Price: $43,250.00
- Current Price: $43,800.00
- Unrealized PnL: +$55.00 (+6.36%)
- Leverage: 5x

Closing this position will realize your profit/loss.

Proceed?

Stop-Loss Orders​

Protect positions from excessive losses:

Commands:

  • Set stop-loss for my BTC position at $42,000
  • Set SL at $2,200 for ETH
  • Add stop-loss to my SOL long at $90

Stop-Loss Types:

  • Market Stop-Loss: Executes at market price when triggered
  • Limit Stop-Loss: Executes at specified limit price (DEX-specific)

AI Response:

I'll set a stop-loss order for your BTC long position.

Stop-Loss Order Summary:
- Trigger Price: $42,000.00
- Current Price: $43,250.00
- Max Loss: ~$125.00 (-14.45%)
- Order Type: Stop-Loss Market
- Reduce Only: Yes

When BTC drops to $42,000, your position will automatically
close at market price to limit losses.

Proceed?

Take-Profit Orders​

Lock in profits automatically:

Commands:

  • Set take-profit for my BTC position at $45,000
  • Set TP at $2,500 for ETH
  • Add take-profit to my SOL long at $105

AI Response:

I'll set a take-profit order for your BTC long position.

Take-Profit Order Summary:
- Trigger Price: $45,000.00
- Current Price: $43,250.00
- Potential Profit: ~$175.00 (+20.23%)
- Order Type: Take-Profit Market
- Reduce Only: Yes

When BTC reaches $45,000, your position will automatically
close at market price.

Proceed?

Combined TP/SL​

Set both orders simultaneously:

Commands:

  • Set TP at $45,000 and SL at $42,000 for my BTC position
  • Add TP $2,500 and SL $2,200 to my ETH long

Order types​

Market Orders​

Execute immediately at best available price:

Characteristics:

  • Instant execution
  • Price may vary slightly from displayed
  • Best for urgent trades
  • Higher fees (taker fees)

Use Cases:

  • Quick entry/exit
  • High liquidity markets
  • Time-sensitive trades

Limit Orders​

Execute only at specified price or better:

Characteristics:

  • Guaranteed price (if executed)
  • May not execute if price not reached
  • Lower fees (maker rebates on some DEXs)
  • Requires patience

Use Cases:

  • Better entry prices
  • Non-urgent trades
  • Fee optimization

Stop-Loss Orders​

Trigger when price reaches stop level:

Characteristics:

  • Automatic risk management
  • Executes as market order when triggered
  • Reduce-only (closes position)
  • Essential for risk control

Use Cases:

  • Limit downside risk
  • Protect profits
  • Automated exit strategy

Take-Profit Orders​

Trigger when price reaches profit target:

Characteristics:

  • Automatic profit taking
  • Executes as market order when triggered
  • Reduce-only (closes position)
  • Removes emotion from exits

Use Cases:

  • Lock in profits
  • Achieve price targets
  • Disciplined trading

Advanced order commands​

Modify existing orders​

Update order parameters:

Commands:

  • Change my BTC limit order price to $42,500
  • Update my ETH stop-loss to $2,250
  • Modify my SOL take-profit to $100

Cancel orders​

Remove pending orders:

Commands:

  • Cancel my BTC limit order
  • Cancel order ID 1234567890
  • Cancel all my pending orders
  • Remove my ETH stop-loss

Order status​

Check order information:

Commands:

  • What's the status of order 1234567890?
  • Show my pending orders
  • Check my BTC limit order status

Risk management commands​

Position size calculation​

Get recommendations for position sizing:

Commands:

  • How much BTC can I buy with $1,000?
  • What position size should I use for 2% risk?
  • Calculate position size for BTC with $500 margin

Liquidation price​

Check liquidation levels:

Commands:

  • What's my BTC liquidation price?
  • Show liquidation prices for all positions
  • How close am I to liquidation on ETH?

Risk assessment​

Evaluate position risk:

Commands:

  • Is my BTC position risky?
  • What's my portfolio risk level?
  • Should I reduce my leverage?

Multi-asset trading​

Simultaneous orders​

Place multiple orders at once:

Commands:

  • Long 0.1 BTC and 1 ETH with 5x leverage
  • Open positions on BTC, ETH, and SOL
  • Buy BTC and short ETH simultaneously

Portfolio rebalancing​

Adjust multiple positions:

Commands:

  • Close all my losing positions
  • Reduce all positions by 50%
  • Exit all positions except BTC

Trading strategies​

Dollar-cost averaging​

Accumulate positions over time:

Commands:

  • Buy $100 worth of BTC
  • Add $50 to my ETH position
  • Increase my SOL position by $200

Scaling in/out​

Gradually build or reduce positions:

Commands:

  • Add 0.05 BTC to my position
  • Scale out 25% of my ETH position
  • Increase my SOL long by 0.5

Hedging​

Offset risk with opposite positions:

Commands:

  • Hedge my BTC long with a short on Aster
  • Open opposite position to my ETH long
  • Create a market-neutral position

Fee calculation​

Check fees before trading:

Commands:

  • How much will this trade cost in fees?
  • Calculate fees for 0.1 BTC order
  • What are the total fees for this position?

AI Response:

Fee Breakdown for 0.1 BTC Market Order:

Position Value: $4,325.00
- B3X Fee: $2.16 (0.05%)
- Hyperliquid Taker Fee: $1.95 (0.045%)
- Total Fees: $4.11 (0.095%)

Net Cost: $4,329.11
Fee Details

For comprehensive fee information across all DEXs, see Multi-DEX Strategies - Fee Optimization.

Trading best practices​

1. Always confirm orders​

Review order summary carefully before confirming:

  • Check asset, size, and leverage
  • Verify liquidation price
  • Understand fee impact
  • Confirm DEX selection

2. Use stop-losses​

Protect every position:

  • Set SL immediately after entry
  • Risk max 1-2% per trade
  • Move SL to breakeven when profitable
  • Never remove SL in losing position

3. Take profits​

Lock in gains systematically:

  • Set TP targets before entry
  • Consider partial exits
  • Don't be greedy
  • Secure profits regularly

4. Manage leverage​

Use leverage responsibly:

  • Start with 2-3x leverage
  • Increase gradually with experience
  • Avoid >10x leverage as beginner
  • Understand liquidation risk

5. Monitor positions​

Stay informed:

  • Check positions regularly
  • Watch liquidation distance
  • Monitor funding rates
  • Track unrealized PnL

Common trading scenarios​

Opening a long position​

You: What's the BTC price?
AI: BTC is at $43,250

You: Long 0.1 BTC with 5x leverage
AI: [Shows order summary]

You: yes
AI: ✅ Position opened

Setting stop-loss and take-profit​

You: Set SL at $42,000 and TP at $45,000 for my BTC position
AI: [Shows both order summaries]

You: confirm
AI: ✅ Stop-loss and take-profit orders placed

Closing Position​

You: What's my BTC PnL?
AI: Your BTC position is up $55 (+6.36%)

You: Close my BTC position
AI: [Shows closing summary]

You: yes
AI: ✅ Position closed, profit realized: $55

Troubleshooting​

"Insufficient Balance"​

Solution: Reduce position size, lower leverage, or deposit more funds

"Leverage Update Failed"​

Solution: Check leverage is within allowed range (1x-125x) for the asset

"Order Placement Failed"​

Solution: Verify sufficient margin, correct symbol, and market availability

"Position Not Found"​

Solution: Check positions with Show my positions - may have been closed or liquidated

Next steps​

Master trading commands and explore advanced features:

Support​