jgrusewski
00ef9e2866
Wave 15: Complete FactoredAction migration to 45-action system
Major Changes:
- Migrated from 3-action TradingAction to 45-action FactoredAction
- 45 actions: 5 exposure × 3 order types × 3 urgency levels
- Absolute exposure model (target positions -1.0 to +1.0)
- Transaction cost differentiation (Market 0.15%, LimitMaker 0.05%, IoC 0.10%)
- Fixed action diversity threshold (1.11% → 0.5% for 45-action space)
Bug Fixes:
- Bug #15: Incomplete FactoredAction integration (code existed but unused)
- Bug #16: Runtime crash in action diversity checking (hardcoded 3-action match)
Code Changes (13 files, ~464 lines):
- ml/src/dqn/action_space.rs: Core FactoredAction + 4 helper methods
- ml/src/trainers/dqn.rs: Action diversity refactored (3→45 dynamic)
- ml/src/dqn/reward.rs: calculate_reward() signature updated
- ml/src/dqn/portfolio_tracker.rs: execute_action() absolute exposure
- ml/src/dqn/dqn.rs: WorkingDQN action selection migrated
- ml/tests/*.rs: 9 test files updated with FactoredAction assertions
Test Results:
- 1-epoch smoke test: 100% action diversity (45/45 actions, 80.2s)
- 10-epoch production: 87.8% readiness (79/90 scorecard, 14.0 min)
- Loss convergence: 96.9% reduction (119K → 3.6K)
- Action diversity: 100% → 44% (healthy specialization)
- Checkpoint reliability: 12/12 files saved (100%)
- DQN tests: 195/195 passing (100%)
- ML baseline: 1,514/1,515 passing (99.93%)
Production Status: ✅ CERTIFIED (87.8% readiness)
Go/No-Go: ✅ GO FOR 100-EPOCH PRODUCTION TRAINING
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 23:27:02 +01:00
..
2025-10-05 22:23:37 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 22:23:37 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 22:23:37 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 22:23:37 +02:00
2025-10-05 22:23:37 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 19:42:08 +02:00
2025-09-25 14:30:17 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 22:23:37 +02:00
2025-10-05 22:23:37 +02:00
2025-10-05 18:37:07 +02:00
2025-10-07 14:25:46 +02:00
2025-10-07 18:50:13 +02:00
2025-10-08 09:06:28 +02:00
2025-10-14 10:42:56 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 00:01:19 +02:00
2025-10-16 07:19:34 +02:00
2025-10-16 07:19:34 +02:00
2025-10-16 07:19:34 +02:00
2025-10-16 07:19:34 +02:00
2025-10-16 08:18:42 +02:00
2025-10-16 07:49:04 +02:00
2025-10-16 22:27:14 +02:00
2025-10-18 19:12:49 +02:00
2025-10-18 01:11:14 +02:00
2025-10-18 19:12:49 +02:00
2025-10-18 01:11:14 +02:00
2025-10-18 19:12:49 +02:00
2025-10-18 01:53:58 +02:00
2025-10-22 22:48:04 +02:00
2025-11-11 23:27:02 +01:00
2025-11-11 23:27:02 +01:00
2025-10-18 18:14:34 +02:00
2025-10-05 19:42:08 +02:00
2025-10-05 22:23:37 +02:00