직접입력값 평가오류 수정

This commit is contained in:
Macbook
2026-06-18 00:15:18 +09:00
parent 9c832a3ab8
commit ea8576d756
9 changed files with 128 additions and 90 deletions
@@ -23,6 +23,7 @@ import {
getCompositeFieldOpts,
getCompositeLeftCandleType,
getCompositeRightCandleType,
canonicalizeConditionThreshold,
parseThresholdField,
} from './conditionPeriods';
import { formatStrategyCandleLabel } from './strategyStartNodes';
@@ -149,10 +150,11 @@ function describeConditionType(
}
function describeCondition(
cond: ReturnType<typeof normalizeCompositeCondition>,
raw: ReturnType<typeof normalizeCompositeCondition>,
signalType: 'buy' | 'sell',
def: DefType,
): string {
const cond = canonicalizeConditionThreshold(raw);
const ind = cond.indicatorType;
const ct = cond.conditionType;