전략평가 매매시그널 표시안되는 문제 수정
This commit is contained in:
@@ -531,6 +531,11 @@ export class ChartManager {
|
||||
if (this._auxIndicatorOnlyLayout) {
|
||||
this.syncChartOverlayVisibility();
|
||||
}
|
||||
|
||||
// setData 시 마커 플러그인만 dispose 되고 backtestMarkers 배열은 유지됨 — 재적용
|
||||
if (this.backtestMarkers.length > 0 || this.liveStrategyMarkers.length > 0) {
|
||||
this._reapplyAllPatternMarkers();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -139,10 +139,11 @@ export async function fetchBacktestHistoryCandles(
|
||||
const raw = (await res.json()) as OHLCVBar[];
|
||||
if (raw.length === 0) break;
|
||||
|
||||
const before = byTime.size;
|
||||
for (const b of raw) byTime.set(b.time, b);
|
||||
remaining -= raw.length;
|
||||
if (byTime.size === before) break;
|
||||
|
||||
if (raw.length < batch) break;
|
||||
remaining -= raw.length;
|
||||
|
||||
const oldest = raw[0]?.time;
|
||||
if (!oldest || oldest <= 0) break;
|
||||
|
||||
Reference in New Issue
Block a user