fix(dashboard): update signal regex to match new log format with extra fields

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
21in7
2026-03-18 12:57:51 +09:00
parent 8c1cd0422f
commit 9d9f4960fc

View File

@@ -24,7 +24,7 @@ POLL_INTERVAL = int(os.environ.get("POLL_INTERVAL", "5")) # 초
PATTERNS = {
"signal": re.compile(
r"(?P<ts>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})"
r".*\[(?P<symbol>\w+)\] 신호: (?P<signal>\w+) \| 현재가: (?P<price>[\d.]+) USDT"
r".*\[(?P<symbol>\w+)\] 신호: (?P<signal>\w+) \|.*현재가: (?P<price>[\d.]+)"
),
"adx": re.compile(