REMOVED: DISABLE_AUTO_CLEANUP=true from docker-compose.dev.yml
- This was causing 280+ chromium processes to accumulate
- System was heading toward crash due to memory exhaustion
- Cleanup will now run after each analysis cycle
- Critical for 24/7 operation stability
Fixed position size calculation: 00 investment now shows 00 position (was 04.76)
Fixed token amount display: Now shows correct tokens (~0.996) for 00 investment (was 2.04)
Corrected API route: /api/automation/analysis-details now returns 200 instead of 405
Technical changes:
- Updated route calculation logic: tradingAmount / trade.price for correct token amounts
- Fixed displayPositionSize to show intended investment amount
- Used Docker Compose v2 for container management
- Resolved Next.js module export issues
The API now correctly displays trade details matching user investment intentions.
- Fix timeframe parameter handling in enhanced-screenshot API route
- Support both 'timeframe' (singular) and 'timeframes' (array) parameters
- Add proper sessionId propagation for real-time progress tracking
- Enhance MACD analysis prompt with detailed crossover definitions
- Add progress tracker service with Server-Sent Events support
- Fix Next.js build errors in chart components (module variable conflicts)
- Change dev environment port from 9000:3000 to 9001:3000
- Improve AI analysis layout detection logic
- Add comprehensive progress tracking through all service layers
- Update trade validation to use real wallet balances from /api/wallet/balance
- Enhance wallet API to auto-discover all major SPL tokens (USDC, USDT, etc.)
- Improve AIAnalysisPanel to better extract and pass AI values to TradeModal
- Configure Docker Compose for hot reloading with proper volume mounts
- Remove hardcoded balance fallbacks in favor of live wallet data
Result: Trading validation now uses accurate real-time wallet balances