[2026-06-06] SL cascade 진입 차단 적용

This commit is contained in:
2026-06-06 12:28:13 +09:00
parent bff0005322
commit 56385527ca
5 changed files with 25 additions and 5 deletions
+5
View File
@@ -80,6 +80,11 @@ Highest-leverage fixes:
- `TIME` and `FORCE` cooldown is based on final exit time, not entry time.
- Final `TP1`/`TP2` exits block same-day re-entry for that ticker.
- Re-entry control state is restored from today's DB rows after restart.
- SL cascade halt is active:
- `SL_CASCADE_HALT_THRESHOLD = 5`
- `SL_CASCADE_WINDOW_MIN = 60`
- New entries stop when the threshold is reached; existing positions keep
normal exit handling.
- Duplicate bot execution guards are active:
- `app/main.py` uses `SingleInstanceLock` on `logs/stockbot.lock`.
- `scripts/start_bot.py` stops the PID-file process and scans for existing