jgrusewski
26b51a4f99
feat(ml): real validation, transaction costs, and data fixes for DQN/PPO pipeline
Replace stub validation functions with real model inference (DQN greedy,
PPO act()) so early stopping optimizes actual trading performance instead
of market volatility. Add transaction costs (commission + bid-ask spread)
to reward computation across train/hyperopt/evaluate examples.
Key changes:
- Symbol filtering (--symbol ES.FUT) prevents mixing futures contracts
- BTreeMap timestamp dedup handles overlapping .FUT contract bars
- Return clamping (--max-bar-return) filters contract roll boundaries
- Warmup offset alignment fixes feature-to-bar index mismatch
- Kelly sizing: 3 stubs replaced with real data-driven implementations
- Adam optimizer: BUG #14 diagnostic logging demoted to trace
- TFT: varmap_mut() accessor for checkpoint loading
- PPO hyperopt: with_costs() builder for tx cost configuration
DQN eval (ES.FUT, 2 folds): Sharpe=11.36, MaxDD=7.42%, WinRate=33.2%
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 00:43:11 +01:00
..
2025-10-14 23:13:34 +02:00
2025-10-18 18:14:34 +02:00
2025-10-14 09:06:37 +02:00
2025-10-14 18:41:48 +02:00
2025-11-27 14:45:25 +01:00
2025-11-23 14:24:50 +01:00
2025-11-27 14:45:25 +01:00
2025-11-27 14:45:25 +01:00
2025-11-27 14:45:25 +01:00
2025-11-22 19:21:51 +01:00
2026-02-24 00:43:11 +01:00
2026-02-23 21:48:10 +01:00
2025-10-22 22:48:04 +02:00
2025-10-26 21:36:48 +01:00
2025-10-22 20:50:43 +02:00
2025-11-11 23:27:02 +01:00
2025-10-26 11:14:33 +01:00
2025-10-23 09:16:58 +02:00
2025-10-23 01:02:00 +02:00
2025-10-21 08:54:26 +02:00
2025-10-22 22:48:04 +02:00
2025-10-26 21:36:48 +01:00
2025-10-22 20:50:43 +02:00
2025-11-11 23:27:02 +01:00
2025-10-20 21:54:39 +02:00
2025-10-20 21:54:39 +02:00
2025-10-21 08:54:26 +02:00
2025-10-22 22:48:04 +02:00
2025-10-26 21:36:48 +01:00
2025-10-22 20:50:43 +02:00
2025-11-11 23:27:02 +01:00
2025-10-26 11:14:33 +01:00
2025-10-23 09:16:58 +02:00
2025-10-23 01:02:00 +02:00
2025-10-21 08:54:26 +02:00
2025-10-28 16:11:01 +01:00
2025-10-20 21:54:39 +02:00
2025-10-26 21:36:48 +01:00
2025-10-26 21:36:48 +01:00
2025-10-14 09:06:37 +02:00