전략평가 오류 수정

This commit is contained in:
Macbook
2026-06-16 00:36:00 +09:00
parent 133e3d0413
commit e93164deda
6 changed files with 191 additions and 27 deletions
@@ -27,6 +27,7 @@ import { getKoreanName } from '../utils/marketNameCache';
import { useIndicatorSettings } from '../hooks/useIndicatorSettings';
import {
mergeEvalGetParams,
buildEvalParamsFromStrategy,
type EvalIndicatorParams,
} from '../utils/strategyEvaluationParams';
import {
@@ -216,12 +217,13 @@ export default function StrategyEvaluationPage({ theme = 'dark' }: Props) {
setEvalLoading(true);
setEvalError(null);
try {
const indicatorParams = buildEvalParamsFromStrategy(selectedStrategy, getEvalParams);
const snap = await fetchEvaluationSnapshotAtBar(
market,
selectedStrategyId,
selectedStrategy,
selectedBarTimeSec,
appliedIndicatorParams,
indicatorParams,
bars,
chartTimeframe,
);
@@ -245,7 +247,7 @@ export default function StrategyEvaluationPage({ theme = 'dark' }: Props) {
selectedBarIndex,
bars,
chartTimeframe,
appliedIndicatorParams,
getEvalParams,
]);
useEffect(() => {