대시보드 수정및 전략수정중

This commit is contained in:
2026-02-27 11:22:44 +09:00
parent 38ff312321
commit 4de03bad67
9 changed files with 159 additions and 65 deletions

View File

@@ -276,6 +276,9 @@ async def get_rule_based_recommendations_from_db(db: AsyncSession):
all_analyzed_stocks = []
for s in raw_stocks:
if s.stock_code not in seen:
# 전일 거래량 필터: 100만주 미만 종목 제외
if s.volume is not None and s.volume < 1_000_000:
continue
seen.add(s.stock_code)
all_analyzed_stocks.append(s)