전략 파라미터 조정 — SL 완화·TP 구간 축소·재진입 쿨다운 연장
- SL: -1.5% → -2.0% (개장 노이즈 손절 방지) - TP1: +2.0% → +1.5%, 매도 비율 50% → 70% (확정 빈도 향상) - TP2: +3.0% → +2.5% (달성률 개선) - 재진입 쿨다운: 30분 → 60분 (동일 종목 반복 손절 차단) - main.py: 청산 체크 오류 시 5초 대기 추가 (API 과부하 방지) - volatility_breakout.py: TP2 qty 버그 수정 (tp1_done=False 시 전량 청산) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -488,6 +488,7 @@ class StockBot:
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"청산 체크 오류 {ticker}: {type(e).__name__}: {e}")
|
||||
await asyncio.sleep(5)
|
||||
|
||||
async def _do_exit(self, ticker: str, pos: dict,
|
||||
current: float, qty: int, reason: str):
|
||||
|
||||
Reference in New Issue
Block a user