Files
upbit-trader/.env.example
joungmin 0713fb1e11 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>
2026-02-28 10:23:32 +09:00

7 lines
138 B
Plaintext

ACCESS_KEY=
SECRET_KEY=
# 타임 스탑: N시간 경과 후 수익률 M% 미만이면 청산
TIME_STOP_HOURS=24
TIME_STOP_MIN_GAIN_PCT=3