feat: 리밸런싱 엔진 V1 + GAS 버그 수정 (2026-06-13)
주요 변경: - tools/build_rebalance_engine_v1.py: REBALANCE_ENGINE_V1 신규 * account_snapshot 직접 합산(_build_snap_position_map) → 소수주 분리 행 병합 * 레짐 소스 macro.REGIME_PRELIM 최우선 (GAS 와 동일) - src/gas_adapter_parts/gdf_06_rebalance.gs: runRebalanceSheet_() 신규 * Logger.log / getSpreadsheet_() 로 run_all 연동 수정 - src/gas_adapter_parts/gdc_01_fetch_fundamentals.gs * _mergePositionRecord_(): 소수주 중복 행 합산 신규 * parseInt → parseFloat (qty, availQty) - src/gas_adapter_parts/gdf_01_price_metrics.gs * 미보유 종목 SELL_READY → WATCH_EXIT_SIGNAL - spec/41_release_dag.yaml: build_rebalance_sheet 노드 추가 (step_count 63) - spec/51_formula_lifecycle_registry.yaml: REBALANCE_ENGINE_V1 등록 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
meta:
|
||||
title: "은퇴자산포트폴리오 — 전략 규칙 호환 인덱스 (redirect-only)"
|
||||
parent_file: "RetirementAssetPortfolio.yaml"
|
||||
version: "2026-05-17-phase3_redirect_clarified"
|
||||
language: "ko-KR"
|
||||
timezone: "Asia/Seoul"
|
||||
role: "deprecated_redirect"
|
||||
warning: >
|
||||
이 파일은 경로 호환성 유지 전용입니다. 새 규칙·임계값 추가 금지.
|
||||
실제 전략 규칙은 아래 canonical_split_files를 직접 참조하십시오.
|
||||
|
||||
canonical_split_files:
|
||||
sector_model: "spec/strategy/sector_model.yaml"
|
||||
entry_timing_guardrails: "spec/strategy/entry_gates.yaml"
|
||||
anti_late_trade_rule: "spec/strategy/entry_gates.yaml"
|
||||
stock_model: "spec/strategy/stock_model.yaml"
|
||||
rebalancing_trigger: "spec/strategy/rebalancing_trigger.yaml"
|
||||
|
||||
legacy_path_aliases:
|
||||
"spec/04_strategy_rules.yaml:sector_model": "spec/strategy/sector_model.yaml:sector_model"
|
||||
"spec/04_strategy_rules.yaml:entry_timing_guardrails": "spec/strategy/entry_gates.yaml:entry_timing_guardrails"
|
||||
"spec/04_strategy_rules.yaml:anti_late_trade_rule": "spec/strategy/entry_gates.yaml:anti_late_trade_rule"
|
||||
"spec/04_strategy_rules.yaml:stock_model": "spec/strategy/stock_model.yaml:stock_model"
|
||||
"spec/04_strategy_rules.yaml:rebalancing_trigger": "spec/strategy/rebalancing_trigger.yaml:rebalancing_trigger"
|
||||
|
||||
migration_rule:
|
||||
- "신규 참조는 반드시 canonical_split_files의 경로를 사용한다."
|
||||
- "기존 문서/예시에서 legacy path가 남아 있으면 alias로 해석하되, 수정 시 새 경로로 교체한다."
|
||||
- "이 파일에는 수치 임계값을 추가하지 않는다."
|
||||
|
||||
validation:
|
||||
- "python tools/validate_specs.py"
|
||||
Reference in New Issue
Block a user