[2026-06-06] SL cascade 진입 차단 적용
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user