feat: KR ATR-based dynamic hard-stop threshold (#318) #342
Reference in New Issue
Block a user
Delete Branch "feature/issue-318-kr-atr-dynamic-stoploss"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
KR_ATR_STOP_MULTIPLIER_K,KR_ATR_STOP_MIN_PCT,KR_ATR_STOP_MAX_PCTValidation
Review: PR #342 — feat: KR ATR-based dynamic hard-stop threshold (#318)
플랜 일치: ✅ ACT-01 정확히 일치
코드 품질: ✅ 우수
_compute_kr_dynamic_stop_loss_pct():entry_price <= 0 or atr_value <= 0→ 폴백 — 올바른 방어max_pct > min_pct시 swap — 설정 오류 방어 (defensive)-(k * ATR / entry_price) * 100→ ACT-01 계획과 일치max(max_pct, min(min_pct, dynamic))— clamp 올바름 (min_pct=-2, max_pct=-7 기준)market.code == "KR"조건으로 KR만 적용 — 다른 시장 영향 없음settings파라미터:_apply_staged_exit_override_for_hold()에 추가, 호출부(realtime/daily) 반영테스트: ✅ 충분
결론: LGTM ✅ — #343 머지 전에 먼저 머지할 것 (의존성)