Skip to content

Conversation

@fciaf420
Copy link
Contributor

@fciaf420 fciaf420 commented Oct 9, 2025

No description provided.

fciaf420 and others added 6 commits October 7, 2025 18:16
## New Features
- Full-featured optimizer UI in main dashboard
- Real-time progress tracking with WebSocket integration
- Apply optimized settings directly from UI
- Reset button to clear cached optimization results
- Interactive weight sliders for PnL/Sharpe/Drawdown optimization

## Components Added
- OptimizerButton: Main trigger button with inline progress
- OptimizerDialog: Full optimization interface with tabs
- OptimizerProgressBar: Real-time progress with ETA
- OptimizerResults: Before/after comparison view
- OptimizerWeightSliders: Interactive weight configuration

## API Routes
- /api/optimizer/run: Start optimization job
- /api/optimizer/status: Poll job progress
- /api/optimizer/apply: Apply optimized config
- /api/optimizer/cancel: Cancel running job
- /api/optimizer/reset: Clear cached results

## Critical Bug Fix
- Fixed optimizer script not applying symbol-specific settings
- optimizedConfig.symbols now properly updated with optimized values
- Previously only maxOpenPositions was applied, now ALL settings are applied
- Adds optimized thresholds, trade sizes, leverage, TP/SL, time windows, cooldowns

## Backend Services
- optimizerService: Job management with disk persistence
- Survives route reloads and server restarts
- Automatic config reload in UI after applying changes

## Configuration
- Added optimizer dependencies to package.json
- Updated .gitignore for backup files and optimizer cache

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant