디버그 로그 추가 (전략 로딩 진단용)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-11 01:45:10 +09:00
parent 66143e5912
commit 0a2925ba0f
2 changed files with 3 additions and 0 deletions
@@ -161,6 +161,7 @@ export async function fetchLiveSnapshot(
} catch {
status = null;
}
console.debug('[fetchLiveSnapshot] market=%s sid=%d status=%s baseRows=%d', normalizedMarket, strategyId, status ? 'ok' : 'null', baseRows.length);
if (!status || !statusMatches(status, normalizedMarket, strategyId)) {
if (baseRows.length === 0) return null;