fix: implement proper multi-timeframe batch analysis
- Create /api/batch-analysis endpoint that collects ALL screenshots first - Then sends all screenshots to AI for comprehensive analysis - Fixes issue where individual timeframes were analyzed immediately - Multi-timeframe analysis now provides cross-timeframe consensus - Update AIAnalysisPanel to use batch analysis for multiple timeframes - Maintains backward compatibility with single timeframe analysis
This commit is contained in:
@@ -7,7 +7,9 @@ import aggressiveCleanup from './aggressive-cleanup'
|
||||
// Initialize cleanup system
|
||||
console.log('🚀 Initializing trading bot systems...')
|
||||
console.log('🧹 Process cleanup handlers initialized')
|
||||
console.log('🧹 Aggressive cleanup system initialized')
|
||||
|
||||
// Start aggressive cleanup system (singleton pattern ensures only one instance)
|
||||
aggressiveCleanup.startPeriodicCleanup()
|
||||
|
||||
// Export cleanup for manual access
|
||||
export { processCleanup, aggressiveCleanup }
|
||||
|
||||
Reference in New Issue
Block a user