복합지표 전략 추가
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
||||
THRESHOLD_HL_MID,
|
||||
THRESHOLD_HL_OVER,
|
||||
} from './thresholdSymbols';
|
||||
import { repairPriceExtremePairForest } from './priceExtremeBreakoutPair';
|
||||
|
||||
function migrateConditionThreshold(
|
||||
cond: ConditionDSL,
|
||||
@@ -87,10 +88,11 @@ export function migrateLogicRootForEditor(
|
||||
def: DefType,
|
||||
signalType: 'buy' | 'sell',
|
||||
): { root: LogicNode | null; orphans: LogicNode[] } {
|
||||
return {
|
||||
const migrated = {
|
||||
root: root ? migrateLogicNode(root, def, signalType) : null,
|
||||
orphans: orphans.map(n => migrateLogicNode(n, def, signalType)),
|
||||
};
|
||||
return repairPriceExtremePairForest(migrated.root, migrated.orphans);
|
||||
}
|
||||
|
||||
/** 저장 직전 — 상속 모드는 숫자 스냅샷·targetValue 제거 */
|
||||
|
||||
Reference in New Issue
Block a user