- Add /api/trading/execute-drift endpoint for real perpetual trades - Supports 1x-10x leverage with liquidation risk - Real stop loss and take profit orders via Drift SDK - Route leveraged trades (leverage > 1) to Drift instead of simulation - Update AIAnalysisPanel to use Drift for leveraged positions - Requires SOLANA_PRIVATE_KEY and Drift account with funds - Tested with user's 3 USDC collateral for leveraged trading
9.8 KiB
9.8 KiB