From 6b400c352a97f642211fe05fdf92a98db8480a6f Mon Sep 17 00:00:00 2001 From: jongjae Date: Thu, 28 May 2026 20:35:27 +0900 Subject: [PATCH] =?UTF-8?q?[2026-05-28]=20=EB=AF=B8=EC=82=AC=EC=9A=A9=20?= =?UTF-8?q?=EC=9E=A5=EC=A4=91=20=EB=94=94=EC=8A=A4=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/_send_midday_discord.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 scripts/_send_midday_discord.py diff --git a/scripts/_send_midday_discord.py b/scripts/_send_midday_discord.py deleted file mode 100644 index c1ba250..0000000 --- a/scripts/_send_midday_discord.py +++ /dev/null @@ -1,17 +0,0 @@ -import asyncio, json, sys -sys.path.insert(0, '.') -from app.main import load_env; load_env() -from app.monitor.notifier import send - -ctx = json.load(open('data/midday_context.json', encoding='utf-8')) -hot = ', '.join(ctx.get('hot_sectors', [])) or '없음' -avoid = ', '.join(ctx.get('avoid_sectors', [])) or '없음' -flag = '✅ 점심진입허용' if ctx.get('lunch_trade_allowed', True) else '🚫 점심진입중단' -msg = ( - f'[장중분석] {ctx["date"]} {ctx.get("generated_at","")}\n' - f'{flag} | 포지션배율: x{ctx.get("position_size_multiplier", 1.0)}\n' - f'주목: {hot} | 회피: {avoid}\n' - f'📝 {ctx.get("reason","")}' -) -asyncio.run(send(msg)) -print('Discord 전송 완료')