fix: harden post-stop reentry lockdown
This commit is contained in:
1 parent
1e9f2dc4fb
commit
bc50ba9136
13 files changed
+318
-81
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user