지표조건 프리셋 적용

This commit is contained in:
Macbook
2026-06-16 10:02:03 +09:00
parent f85c0bef20
commit 7440453bb3
6 changed files with 610 additions and 1 deletions
+1 -1
View File
@@ -832,7 +832,7 @@ const getDefaultConditionFields = (ind: string, signalType: 'buy'|'sell', DEF: D
export { getDefaultConditionFields };
// conditionType 변경 시 자동 필드 조정
const applyCondTypeDefaults = (cond: ConditionDSL, newCondType: string, DEF: DefType): ConditionDSL => {
export const applyCondTypeDefaults = (cond: ConditionDSL, newCondType: string, DEF: DefType): ConditionDSL => {
const updated = { ...cond, conditionType: newCondType };
if (cond.composite) {
return syncCompositeFields({