fix: 저가 코인 소수점 표시 + VOL_MIN 6.0 조정
- fp() 헬퍼: 100원 미만 코인 소수점 표시 (HOLO 등) - VOL_MIN 8→6: 신호 빈도 적정화 - LLM 로그 가격도 :,.2f 통일 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -590,7 +590,7 @@ F&G지수: {fng} ({'공포' if fng <= 40 else '중립' if fng <= 50 else '탐욕
|
||||
|
||||
if data.get('action') == 'buy':
|
||||
data['price'] = float(data['price'])
|
||||
log.info(f'[LLM매수] {ticker} → buy {data["price"]:,.0f}원 | {confidence} | {status} | {reason}')
|
||||
log.info(f'[LLM매수] {ticker} → buy {data["price"]:,.2f}원 | {confidence} | {status} | {reason}')
|
||||
return data # action=buy, price=float
|
||||
|
||||
log.warning(f'[LLM매수] {ticker} 알 수 없는 action: {data}')
|
||||
@@ -646,7 +646,7 @@ def get_exit_price(
|
||||
data['price'] = float(data['price'])
|
||||
pnl_from_entry = (data['price'] - entry_price) / entry_price * 100
|
||||
log.info(
|
||||
f'[LLM매도] {ticker} 지정가 교체: {current_target:,.0f} → {data["price"]:,.0f}원 '
|
||||
f'[LLM매도] {ticker} 지정가 교체: {current_target:,.2f} → {data["price"]:,.2f}원 '
|
||||
f'(진입 대비 {pnl_from_entry:+.2f}%) | {confidence} | {status} | watch={watch} | {reason}'
|
||||
)
|
||||
return data # action=sell, price=float
|
||||
|
||||
Reference in New Issue
Block a user