Files
foxhunt/crates/ml/src
jgrusewski 3b0f22e9e8 feat: hold_time tracking + hold enforcement in backtest_env_step
Backtest portfolio now tracks hold_time at index [5]. min_hold_bars
param enforces hold constraint during evaluation, matching training.
Fixes train/eval mismatch that caused NaN Sharpe → 1e6 penalty.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 01:13:07 +01:00
..