fix: harden post-stop reentry lockdown

This commit is contained in:
2026-07-17 14:17:57 +02:00
parent 1e9f2dc4fb
commit bc50ba9136
13 changed files with 318 additions and 81 deletions
+2 -2
View File
@@ -330,7 +330,7 @@ async def _main() -> None:
benchmark_closes,
exit_policy,
hold_days,
reentry_cooldown_days=5,
reentry_cooldown_sessions=5,
**sim_kwargs,
)
cooldown_10 = bt._simulate_portfolio(
@@ -339,7 +339,7 @@ async def _main() -> None:
benchmark_closes,
exit_policy,
hold_days,
reentry_cooldown_days=10,
reentry_cooldown_sessions=10,
**sim_kwargs,
)
refresher = GateStopRefresher(