매매전략 수정중

This commit is contained in:
2026-03-06 20:46:08 +09:00
parent 2b9a90a03f
commit 12460b7c9e
15 changed files with 752 additions and 105 deletions

View File

@@ -1,3 +1,11 @@
"""
TensorFlow/Keras 기반 주가 예측 서비스
- LSTM 모델로 단기 주가 방향(상승/하락) 예측
- KIS API 차트 데이터에서 피처 추출 → 정규화 → 모델 추론
- 모델 파일 없으면 더미 예측(0.5) 반환 (서비스 무중단)
- ML_TF_ENABLED=false 시 비활성화 가능
"""
import asyncio
import functools
import logging