Files
QuantEngineByItz/artifacts/archive/2026-06-06/canonical_metrics_v1.json
T
kjh2064 ee3e799de1 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>
2026-06-13 13:20:14 +09:00

104 lines
2.5 KiB
JSON

{
"formula_id": "CANONICAL_METRICS_V1",
"generated_at": "2026-06-03T14:00:54Z",
"metrics": {
"cluster_pct": 65.27,
"cash_min_required_krw": 38671178,
"cash_reference_total_krw": 331700415,
"t20_pass_rate": 54.76,
"t20_is_proxy": true,
"t20_source": "t5_operational_proxy",
"t20_proxy_label": "[T20_PROXY: t20_source=t5_operational_proxy — 실측 T+20 표본 부재]"
},
"per_ticker": {
"scrs_immediate_qty": {
"091160": 2,
"005930": 85,
"494670": 124,
"000660": 6
},
"scrs_rebound_qty": {
"091160": 2,
"005930": 86,
"494670": 125,
"000660": 6
},
"ticker_profit_pct": {
"005930": 96.44,
"012450": -20.17,
"091160": 31.52,
"000660": 40.45,
"010120": -23.71,
"028050": -9.75,
"494670": -9.05,
"064350": -8.36,
"0117V0": -24.94,
"000270": 1.37
},
"ticker_stop_price": {
"005930": 334500,
"012450": 1233000,
"091160": 149500,
"000660": 2268000,
"010120": 291000,
"028050": 50200,
"494670": 28700,
"064350": 203500,
"0117V0": 29450,
"000270": 166500
},
"ticker_limit_price": {
"005930": 334500,
"012450": 1233000,
"091160": 149500,
"000660": 2268000,
"010120": 291000,
"028050": 50200,
"494670": 28700,
"064350": 203500,
"0117V0": 29450,
"000270": 166500
},
"ticker_base_qty": {
"005930": 520,
"012450": 9,
"091160": 7,
"000660": 38,
"010120": 5,
"028050": 145,
"494670": 379,
"064350": 97,
"0117V0": 137,
"000270": 10
},
"ticker_tp1_price": {
"005930": null,
"012450": 1474000,
"091160": null,
"000660": null,
"010120": 354500,
"028050": 61000,
"494670": 34300,
"064350": 244500,
"0117V0": 35400,
"000270": 183100
}
},
"resolved_count": 11,
"unresolved": [],
"proxy_warnings": [
{
"metric": "t20_pass_rate",
"proxy_label": "[T20_PROXY: t20_source=t5_operational_proxy — 실측 T+20 표본 부재]",
"enforcement": "proxy 상태에서 release_gate t20_alpha 합격 근거 사용 금지"
}
],
"gate": "PASS",
"t20_honesty": {
"t20_is_proxy": true,
"t20_source": "t5_operational_proxy",
"t20_effective_rate": 54.76,
"t20_proxy_label": "[T20_PROXY: t20_source=t5_operational_proxy — 실측 T+20 표본 부재]",
"release_gate_t20_alpha_blocked": true
}
}