실시간 차트 갱신오류 수정
This commit is contained in:
@@ -994,6 +994,8 @@ const TradingChart: React.FC<TradingChartProps> = ({
|
||||
}
|
||||
const m = managerRef.current;
|
||||
if (m?.hasMainSeries()) {
|
||||
// 지표 일부만 로드된 경우에도 메인 캔들은 준비됨 — 실시간 틱 허용
|
||||
onCandlesReady?.();
|
||||
const expected = countExpectedVisibleIndicators(indicatorsRef.current);
|
||||
const loaded = m.getLoadedIndicatorCount();
|
||||
if (expected === 0 || loaded >= expected) {
|
||||
|
||||
Reference in New Issue
Block a user