주식/현금 정적 배분 분석 — 낙폭을 절반으로 줄이는 안정성 구성 - #389
Merged
Merged
Conversation
buy&hold 주식 100%는 손실 연도 + ~-25% 낙폭이 있다. "안정적"에 다가가려면 종목 선택이 아니라 자산배분이 정석이라, 주식 비중을 낮추고 현금(연 3%)을 섞었을 때 트레이드오프를 데이터로 봤다(2022 약세 포함, 매년 리밸런싱). - 100% 주식: +62.1%/CAGR 12.9%/Sharpe 0.58/MDD -25.5%/최악연도 -21.5% - 60% 주식: +46.5%/CAGR 10.0%/Sharpe 0.63/MDD -14.6%/최악연도 -11.7% - 40% 주식: +36.4%/CAGR 8.1%/Sharpe 0.65/MDD -9.1%/최악연도 -6.9% 현금 혼합이 낙폭을 극적으로 줄이고(-25→-9%) Sharpe는 오히려 개선(더 효율적). 단 손실 연도 자체는 못 없앤다. 현실적 최적점은 50~60% 주식(CAGR ~9~10%, MDD ~-12~-15%). tools/static_allocation_analysis.py + docs/STATIC_ALLOCATION.md + 단위 테스트 4개 (분석기 빈 패널 처리 버그도 수정). 시스템 구현: 바스켓은 주식 비중만 관리하므로 현금 비중은 운영자가 투입 자본 비율로 조절. 검증: 전체 1330 테스트 통과.
easygap
added a commit
that referenced
this pull request
Jul 6, 2026
주식/현금 정적 배분 분석 — 낙폭을 절반으로 줄이는 안정성 구성
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
"안정적"에 다가가는 정직한 방법은 종목 선택이 아니라 자산배분입니다. buy&hold 주식 100%는
손실 연도 + ~−25% 낙폭이 있었으므로(#388), 주식 비중을 낮추고 현금(연 3%)을 섞었을 때의
트레이드오프를 데이터로 분석했습니다(2022 약세장 포함, 매년 리밸런싱).
결과
핵심
910%, MDD−12−15%) — 순수 주식보다 훨씬 안정적,현금 100%(연 3%)보다 훨씬 높은 수익. 이게 "안정적 고수익"의 책임 있는 권장안입니다.
변경 내용
tools/static_allocation_analysis.py: 주식/현금 비중별 수익·Sharpe·MDD·손실연도 분석(재현 가능).docs/STATIC_ALLOCATION.md: 결과·해석·권장(낙폭 vs 수익 트레이드오프)·한계.시스템 구현: 바스켓 리밸런싱은 주식 비중만 관리하므로, 현금 비중은 운영자가 투입 자본의 X%만
바스켓에 배정하는 방식으로 구현합니다.
검증
전체 1330 테스트 통과.
python tools/static_allocation_analysis.py로 재현.