feat: add time stop rule for stale positions
Sell position if held for TIME_STOP_HOURS (default 24h) with less than TIME_STOP_MIN_GAIN_PCT (default +3%) gain. Frees up capital for fresh momentum opportunities. Priority: trailing stop (-10%) checked first, then time stop. Both thresholds configurable via .env. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
ACCESS_KEY=
|
||||
SECRET_KEY=
|
||||
|
||||
# 타임 스탑: N시간 경과 후 수익률 M% 미만이면 청산
|
||||
TIME_STOP_HOURS=24
|
||||
TIME_STOP_MIN_GAIN_PCT=3
|
||||
|
||||
Reference in New Issue
Block a user