Skip to main content

Multi-DEX Strategies

Trade across Hyperliquid, Aster, and Lighter simultaneously to optimize execution, capture arbitrage opportunities, and diversify exchange risk.

Cross-DEX Trading

Switching Between DEXs

Change your trading venue easily:

Using DEX Selector:

  1. Click the DEX logo in chat input
  2. Select desired DEX from dropdown
  3. All subsequent trades use selected DEX

Using Natural Language:

  • Buy 0.1 BTC on Hyperliquid
  • Short ETH on Aster
  • Trade SOL on Lighter

Simultaneous Positions

Hold positions on multiple DEXs:

Commands:

  • Show my positions across all DEXs
  • What's my total BTC exposure?
  • Compare my ETH positions on different DEXs

Example:

You have BTC positions on multiple DEXs:

Hyperliquid: Long 0.1 BTC at $43,250 (5x leverage)
Aster: Long 0.05 BTC at $43,280 (3x leverage)
Lighter: Short 0.02 BTC at $43,240 (2x leverage)

Net BTC Exposure: Long 0.13 BTC

Arbitrage Opportunities

Price Arbitrage

Exploit price differences across DEXs:

Commands:

  • Compare BTC price across all DEXs
  • Show me arbitrage opportunities
  • What's the price spread for ETH?

AI Response:

BTC Price Comparison:

Hyperliquid: $43,250.00
Aster: $43,285.00 (+$35, +0.081%)
Lighter: $43,242.00 (-$8, -0.018%)

Arbitrage Opportunity:
Buy on Lighter ($43,242) → Sell on Aster ($43,285)
Potential Profit: $43 per BTC (0.099%)
After fees: ~$35 per BTC (0.081%)

Execution:

You: Buy 0.1 BTC on Lighter
AI: [Executes buy order]

You: Sell 0.1 BTC on Aster
AI: [Executes sell order]

Result: Captured $3.50 arbitrage profit

Funding Rate Arbitrage

Profit from funding rate differences:

Commands:

  • Compare BTC funding rates across DEXs
  • Which DEX has the best funding rate for ETH?
  • Show funding rate arbitrage opportunities

Strategy:

Hyperliquid BTC Funding: +0.0125% (8h)
Aster BTC Funding: -0.0050% (8h)

Arbitrage Strategy:
- Long BTC on Aster (receive funding)
- Short BTC on Hyperliquid (receive funding)
- Net market-neutral position
- Earn funding rate differential

Liquidity Optimization

Best Execution

Find the best price and liquidity:

Commands:

  • Where should I trade 1 BTC?
  • Which DEX has better liquidity for ETH?
  • Compare order book depth for SOL

AI Analysis:

For 1 BTC trade:

Hyperliquid:
- Best Bid: $43,250
- Depth: 5.2 BTC within 0.1%
- Estimated Slippage: 0.02%

Aster:
- Best Bid: $43,265
- Depth: 2.8 BTC within 0.1%
- Estimated Slippage: 0.05%

Lighter:
- Best Bid: $43,248
- Depth: 3.5 BTC within 0.1%
- Estimated Slippage: 0.03%

Recommendation: Trade on Hyperliquid for best execution

Large Order Splitting

Split large orders across DEXs:

Commands:

  • Split my 2 BTC order across all DEXs
  • Execute 5 ETH order with minimal slippage
  • Distribute my SOL order optimally

Risk Diversification

Exchange Risk Management

Avoid concentration on single DEX:

Strategy:

  • Spread capital across multiple DEXs
  • Limit exposure per exchange
  • Maintain backup trading venues
  • Reduce counterparty risk

Commands:

  • How much do I have on each DEX?
  • Am I too concentrated on Hyperliquid?
  • Rebalance my funds across DEXs

Position Hedging

Use multiple DEXs for hedging:

Commands:

  • Hedge my Hyperliquid BTC long on Aster
  • Open opposite position on different DEX
  • Create market-neutral position across DEXs

Example:

You: I have a BTC long on Hyperliquid, hedge it on Aster
AI: I'll open a BTC short on Aster to hedge your position.

Result:
- Hyperliquid: Long 0.1 BTC at $43,250
- Aster: Short 0.1 BTC at $43,285
- Net Exposure: Market-neutral
- Locked Profit: $35 (price difference)

Fee Optimization

Comparing Fees

Choose the most cost-effective DEX:

B3X Trading Fees:

  • Hyperliquid: 0.01$ + 0.05% on notional
  • Aster: 0% (coming soon)
  • Lighter: 0% (coming soon)

DEX Fees:

  • Hyperliquid: Varies by market
  • Aster: Varies by market
  • Lighter: Zero fee

Commands:

  • Which DEX has the lowest fees for BTC?
  • Calculate total fees on each DEX
  • Where should I trade to minimize costs?

Volume-Based Optimization

Optimize based on trade size:

Small Orders (under $1,000):

  • Lighter: Zero DEX fees
  • Best for frequent small trades

Medium Orders ($1,000-$10,000):

  • Compare all DEXs
  • Consider liquidity and slippage

Large Orders (over $10,000):

  • Hyperliquid: Best liquidity
  • Split across DEXs if needed

Multi-DEX Portfolio Management

Unified View

Monitor all positions from one interface:

Commands:

  • Show my unified portfolio
  • What's my total exposure across all DEXs?
  • Summarize my positions

AI Response:

Unified Portfolio Summary:

Total Portfolio Value: $5,250 USDC
Total Unrealized PnL: +$185 (+3.65%)

By DEX:
Hyperliquid: $2,850 (3 positions, +$95)
Aster: $1,600 (2 positions, +$55)
Lighter: $800 (1 position, +$35)

By Asset:
BTC: Long 0.15 net (+$85)
ETH: Long 2.0 net (+$65)
SOL: Long 10.0 net (+$35)

Cross-DEX Rebalancing

Adjust positions across exchanges:

Commands:

  • Rebalance my BTC positions across DEXs
  • Move half my ETH from Hyperliquid to Aster
  • Consolidate my SOL positions on Lighter

Coordinated Exits

Close positions across multiple DEXs:

Commands:

  • Close all my BTC positions on all DEXs
  • Exit all positions and consolidate to Hyperliquid
  • Close losing positions across all exchanges

Advanced Multi-DEX Strategies

Delta-Neutral Trading

Maintain market-neutral exposure:

Strategy:

Long 0.1 BTC on Hyperliquid (5x leverage)
Short 0.1 BTC on Aster (5x leverage)

Benefits:
- No directional risk
- Earn funding rate differential
- Profit from price convergence
- Reduced volatility exposure

Basis Trading

Trade spot-perpetual basis:

Strategy:

Buy BTC spot on Hyperliquid
Short BTC perpetual on Aster

Profit from:
- Funding rate payments
- Basis convergence at expiry
- Lower risk than directional trading

Statistical Arbitrage

Exploit temporary price divergences:

Commands:

  • Alert me when BTC price diverges >0.1% across DEXs
  • Show me mean reversion opportunities
  • Track price correlation across DEXs

Multi-DEX Best Practices

1. Monitor All Balances

Track funds across exchanges:

  • Check balances regularly
  • Maintain sufficient margin on each DEX
  • Rebalance when needed
  • Avoid over-concentration

2. Compare Before Trading

Always check multiple DEXs:

  • Compare prices
  • Check liquidity
  • Calculate total fees
  • Consider execution quality

3. Manage API Keys

Ensure proper setup:

  • Aster: Auto-generated on first deposit
  • Lighter: Auto-generated on first deposit
  • Hyperliquid: Wallet-based (no keys needed)

4. Track Cross-DEX Exposure

Understand total risk:

  • Sum positions across DEXs
  • Calculate net exposure
  • Monitor correlation risk
  • Maintain diversification

5. Use Arbitrage Wisely

Execute carefully:

  • Account for fees
  • Consider execution time
  • Monitor slippage
  • Verify profitability

Troubleshooting

"API Key Not Found"

Solution: Make first deposit to Aster or Lighter to auto-generate API keys

"Insufficient Balance on DEX"

Solution: Deposit funds or switch to DEX with available balance

"Price Divergence Too Small"

Solution: Wait for larger spreads or consider transaction costs

"Position Limit Reached"

Solution: Close positions or use different DEX

Next Steps

Master multi-DEX trading and explore AI-powered features:

Support