fix(rl): disable drawdown penalty, loosen stop-loss to 10×
The penalty (even at 0.001) + stop-loss taught Q to stop trading. PnL briefly flipped positive (+$40k) then collapsed (dones=0). Disable penalty (rate=0.0) and set stop-loss to 10× mean_abs_pnl (emergency-only, not per-trade). Keep gate exemption (A1) and adaptive LOSS clamp (A4) — these help Q LEARN about losses without overriding its decisions. Also includes perf fixes: sync_training_event removed + 24 memsets disabled. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -2852,8 +2852,8 @@ impl IntegratedTrainer {
|
||||
(crate::rl::isv_slots::RL_SAC_ALPHA_INDEX, 0.01),
|
||||
(crate::rl::isv_slots::RL_SAC_ENTROPY_TARGET_INDEX, 1.68),
|
||||
(crate::rl::isv_slots::RL_CONF_GATE_MAX_HOLD_FRAC_INDEX, 0.85),
|
||||
(crate::rl::isv_slots::RL_DRAWDOWN_PENALTY_RATE_INDEX, 0.001),
|
||||
(crate::rl::isv_slots::RL_STOP_LOSS_THRESHOLD_INDEX, 5.0),
|
||||
(crate::rl::isv_slots::RL_DRAWDOWN_PENALTY_RATE_INDEX, 0.0),
|
||||
(crate::rl::isv_slots::RL_STOP_LOSS_THRESHOLD_INDEX, 10.0),
|
||||
];
|
||||
for (slot, value) in isv_constants.iter() {
|
||||
let slot_i32 = *slot as i32;
|
||||
|
||||
Reference in New Issue
Block a user