TPTBusiness
adff12b20b
feat: Optuna Parameter Optimizer with 60 tests (P3 complete)
...
FTMO-compliant parameter optimization:
- Entry/Exit thresholds
- Rolling windows
- Stop Loss (max 2%), Take Profit (2x-3x SL)
- Trailing stop parameters
- Objective: Sharpe × |IC| × √trades
- FTMO penalties for DD > 10%, SL > 2%
- TPESampler + MedianPruner
- 30 trials default
60 tests passing.
2026-04-09 08:56:52 +02:00
TPTBusiness
2e6b822a18
feat: Strategy Orchestrator with 30 tests (P2 complete)
...
Parallel strategy generation with:
- Multi-Process Pool (4-8 workers)
- File-based LLM Semaphore (max 2 llama.cpp calls)
- Random factor selection for diversity
- SHA-256 deduplication
- Progress tracking every 10 strategies
- Graceful shutdown handling
30 tests passing.
2026-04-09 08:44:10 +02:00
TPTBusiness
337f84bc87
feat: Strategy Worker module with 41 tests (P1 complete)
...
Created rdagent/scenarios/qlib/local/strategy_worker.py (closed source):
- LLMStrategyGenerator: llama.cpp API calls with retry
- BacktestEngine: isolated subprocess with risk management
- AcceptanceGate: FTMO-compliant validation
- StrategySaver: JSON + metadata persistence
- StrategyWorker: full workflow orchestration
41 tests passing in test/local/test_strategy_worker.py
FTMO rules enforced: SL 2%, max DD 10%, daily loss 5%
2026-04-09 08:28:35 +02:00
TPTBusiness
d2a81b2a27
feat: Data Loader module with tests (P0 complete)
...
Created rdagent/scenarios/qlib/local/data_loader.py:
- OHLCV loading with thread-safe caching
- Factor metadata loading (sorted by IC)
- Factor time-series loading with alignment
- Feature matrix builder
- Randomized factor selection for diverse strategies
- 11 tests passing
Note: data_loader.py is in local/ (closed source)
Test file is public to validate interface.
2026-04-09 08:15:49 +02:00