Skip to main content

Portfolio Management Commands

Monitor and manage your trading portfolio using natural language. Query positions, check balances, analyze performance, and track orders across all DEXs.

Balance Queries

Account Balance

Check your available funds:

Commands:

  • What's my balance?
  • Show my balance on Hyperliquid
  • How much USDC do I have?
  • Check my Aster balance

AI Response:

Your Hyperliquid perpetual balance:
- Total: 1,250.00 USDC
- Available: 850.00 USDC
- Locked: 400.00 USDC

Your available balance of 850 USDC is what you can use to open new positions or place orders.

Balance Components:

  • Total: Total account balance
  • Available: Funds available for new positions
  • Locked: Funds used in open positions and orders

Multi-DEX Balance

View balances across all exchanges:

Commands:

  • Show my balances on all DEXs
  • What's my total balance across all exchanges?
  • Compare my balances

Position Queries

View Open Positions

Check all active positions:

Commands:

  • Show my positions
  • What positions do I have open?
  • Show my Hyperliquid positions
  • List all my open trades

AI Response:

Your open positions on Hyperliquid:

1. BTC-PERP
- Side: LONG
- Size: 0.1 BTC
- Entry Price: $43,250.00
- Mark Price: $43,800.00
- Unrealized PnL: +$55.00 (+6.36%)
- Leverage: 5x
- Margin Used: $865 USDC
- Liquidation Price: $34,600.00

2. ETH-PERP
- Side: SHORT
- Size: 1.0 ETH
- Entry Price: $2,350.00
- Mark Price: $2,320.00
- Unrealized PnL: +$30.00 (+4.26%)
- Leverage: 3x
- Margin Used: $783 USDC
- Liquidation Price: $2,938.00

Total Unrealized PnL: +$85.00 (+5.16%)

Position Details

Get detailed information about specific positions:

Commands:

  • Show my BTC position details
  • What's my ETH position?
  • Get details for my SOL long

Position PnL

Check profit and loss:

Commands:

  • What's my BTC PnL?
  • Show PnL for all positions
  • How much am I up/down on ETH?
  • Calculate my total unrealized profit

Order Management

View Open Orders

Check pending orders:

Commands:

  • Show my open orders
  • What orders do I have pending?
  • List my limit orders
  • Show my stop-loss orders

AI Response:

Your open orders on Hyperliquid:

1. BTC-PERP Limit Buy
- Order ID: 1234567890
- Size: 0.05 BTC
- Limit Price: $42,000.00
- Current Price: $43,800.00
- Status: Open
- Created: 2024-01-09 14:30:00 UTC

2. ETH-PERP Stop-Loss
- Order ID: 1234567891
- Size: 1.0 ETH
- Trigger Price: $2,200.00
- Current Price: $2,320.00
- Status: Open
- Reduce Only: Yes
- Created: 2024-01-09 15:00:00 UTC

Total Open Orders: 2

Order History

View past orders:

Commands:

  • Show my order history
  • What orders did I place today?
  • Show my last 10 orders
  • Get my BTC order history

Order Status

Check specific order status:

Commands:

  • What's the status of order 1234567890?
  • Check my BTC limit order
  • Is my ETH order filled?

Performance Analytics

Portfolio Performance

Analyze overall trading performance:

Commands:

  • How is my portfolio performing?
  • Show my trading performance
  • What's my total PnL?
  • Calculate my ROI

AI Response:

Portfolio Performance Summary:

Overall Statistics:
- Total Equity: $1,250.00 USDC
- Initial Balance: $1,000.00 USDC
- Total PnL: +$250.00 (+25.0%)
- Realized PnL: +$165.00
- Unrealized PnL: +$85.00

Performance Metrics:
- Win Rate: 65% (13/20 trades)
- Average Win: +$18.50
- Average Loss: -$8.20
- Profit Factor: 2.26
- Best Trade: +$45.00 (BTC long)
- Worst Trade: -$15.00 (SOL short)

Active Positions: 2
Open Orders: 2

Daily/Weekly/Monthly PnL

Track performance over time:

Commands:

  • What's my PnL today?
  • Show my weekly performance
  • Calculate my monthly profit
  • How much did I make this week?

Asset Performance

Analyze performance by asset:

Commands:

  • How am I doing on BTC trades?
  • Show my ETH trading performance
  • What's my best performing asset?
  • Which asset am I losing on?

Risk Metrics

Portfolio Risk

Assess overall risk exposure:

Commands:

  • What's my portfolio risk level?
  • How much am I risking?
  • Show my risk metrics
  • Am I over-leveraged?

AI Response:

Portfolio Risk Assessment:

Risk Metrics:
- Total Margin Used: $1,648 USDC (131.8% of balance)
- Available Margin: $850 USDC
- Leverage Ratio: 3.2x (average)
- Liquidation Risk: Moderate

Position Risks:
- BTC: Low risk (liq. at $34,600, -20.9%)
- ETH: Moderate risk (liq. at $2,938, +26.6%)

Recommendations:
- Consider reducing ETH leverage
- Maintain stop-losses on all positions
- Available margin is sufficient for volatility

Liquidation Distance

Check how close positions are to liquidation:

Commands:

  • How close am I to liquidation?
  • Show liquidation distances
  • What's my BTC liquidation risk?
  • Am I safe from liquidation?

Margin Utilization

Monitor margin usage:

Commands:

  • How much margin am I using?
  • What's my margin utilization?
  • Show my available margin
  • Can I open more positions?

Trade History

Recent Trades

View recent trading activity:

Commands:

  • Show my recent trades
  • What trades did I make today?
  • List my last 5 trades
  • Show my trading history

AI Response:

Recent Trades (Last 5):

1. BTC-PERP LONG - Closed
- Entry: $42,800 | Exit: $43,250
- Size: 0.1 BTC | Leverage: 5x
- PnL: +$45.00 (+5.24%)
- Duration: 2h 15m
- Date: 2024-01-09 12:00 UTC

2. ETH-PERP SHORT - Closed
- Entry: $2,380 | Exit: $2,320
- Size: 1.0 ETH | Leverage: 3x
- PnL: +$60.00 (+8.47%)
- Duration: 4h 30m
- Date: 2024-01-09 08:00 UTC

3. SOL-PERP LONG - Closed
- Entry: $98.50 | Exit: $96.00
- Size: 5.0 SOL | Leverage: 2x
- PnL: -$12.50 (-2.54%)
- Duration: 1h 45m
- Date: 2024-01-08 18:00 UTC

Total: 3 trades | Win Rate: 66.7% | Net PnL: +$92.50

Winning/Losing Trades

Filter trades by outcome:

Commands:

  • Show my winning trades
  • What are my losing trades?
  • List my profitable positions
  • Show trades where I lost money

Trade Statistics

Get detailed trading stats:

Commands:

  • What's my win rate?
  • Show my trading statistics
  • Calculate my average profit per trade
  • What's my largest win/loss?

Multi-DEX Portfolio

Cross-DEX Overview

View portfolio across all exchanges:

Commands:

  • Show my portfolio across all DEXs
  • What's my total exposure?
  • Compare my positions on different DEXs
  • Show unified portfolio view

AI Response:

Unified Portfolio Overview:

Hyperliquid:
- Balance: $850 USDC
- Positions: 2 (BTC, ETH)
- Unrealized PnL: +$85.00
- Margin Used: $1,648

Aster:
- Balance: $320 USDC
- Positions: 1 (SOL)
- Unrealized PnL: +$12.00
- Margin Used: $490

Lighter:
- Balance: $180 USDC
- Positions: 0
- Unrealized PnL: $0.00
- Margin Used: $0

Total Portfolio Value: $1,350 USDC
Total Unrealized PnL: +$97.00 (+7.74%)
Active Positions: 3

DEX Comparison

Compare performance across exchanges:

Commands:

  • Which DEX am I most profitable on?
  • Compare my performance across DEXs
  • Where should I focus my trading?

Portfolio Alerts

PnL Alerts

Get notified about profit/loss changes:

Commands:

  • Alert me when my BTC position hits +10%
  • Notify me if my portfolio drops below $1,000
  • Tell me when I'm up $100

Risk Alerts

Monitor risk levels:

Commands:

  • Alert me if I'm close to liquidation
  • Notify me when margin usage exceeds 80%
  • Warn me about high-risk positions

Portfolio Optimization

Rebalancing Suggestions

Get AI recommendations:

Commands:

  • Should I rebalance my portfolio?
  • What positions should I close?
  • How can I optimize my portfolio?
  • Give me portfolio recommendations

Diversification Analysis

Assess portfolio diversity:

Commands:

  • Is my portfolio diversified?
  • What's my asset allocation?
  • Am I too concentrated in one asset?
  • Show my exposure breakdown

Export and Reporting

Export Data

Get portfolio data for external analysis:

Commands:

  • Export my trade history
  • Download my portfolio report
  • Get my trading data as CSV

Tax Reporting

Prepare tax information:

Commands:

  • Show my realized gains for tax purposes
  • Calculate my taxable income from trading
  • What are my capital gains?

Best Practices

1. Regular Monitoring

Check portfolio frequently:

  • Review positions daily
  • Monitor PnL changes
  • Track liquidation distances
  • Verify order status

2. Risk Management

Stay within risk limits:

  • Keep margin utilization under 80%
  • Maintain diversification
  • Use stop-losses on all positions
  • Monitor liquidation risk

3. Performance Tracking

Analyze your trading:

  • Review win rate regularly
  • Identify best/worst performing assets
  • Learn from losing trades
  • Track improvement over time

4. Multi-DEX Awareness

Manage across exchanges:

  • Check balances on all DEXs
  • Compare execution quality
  • Optimize fee costs
  • Diversify exchange risk

Next Steps

Master portfolio management and explore advanced strategies:

Support