- Fixed TradeModal to send both positionSizeSOL (amount) and amountUSD in tradingData - Improved symbol parsing with better fallbacks and enhanced logging - Updated validation API to use amountUSD directly instead of amount * price calculation - Resolves issue where 10 USD position was incorrectly requiring 1665 USD balance - Enhanced error handling and debug logging for better troubleshooting
5.8 KiB
5.8 KiB