시간봉 알림 수정

This commit is contained in:
Macbook
2026-05-27 16:32:02 +09:00
parent 972e8f7178
commit d7ceb8cbfd
4 changed files with 105 additions and 20 deletions
+6
View File
@@ -1123,6 +1123,12 @@ export async function fetchLiveConditionStatus(
});
}
/** 전략 DSL에 포함된 평가 시간봉 목록 (실시간 체크·STOMP 구독용) */
export async function loadStrategyTimeframes(strategyId: number): Promise<string[]> {
const list = await request<string[]>(`/strategies/${strategyId}/timeframes`);
return list?.length ? list : ['1m'];
}
/** 차트 실시간 파이프라인 pin (STOMP warm-up) */
export async function pinCandleWatch(market: string, candleType: string): Promise<void> {
try {