주문 수량·ETF 비용 계산 수정 및 README 문구 정리 - #469
Merged
Merged
Conversation
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.
리밸런싱에서 이미 계획한 매수를 빼지 않고 추가 매수량을 계산해, 40만원이 부족한 계좌에 50만원어치 주문을 만드는 경우가 있었습니다. 매매 한도를 적용한 주문을 먼저 반영하고, 목표 비중의 허용 범위에 들어오면 보충 매수를 멈추도록 고쳤습니다.
비교 결과
2020-07-08~2026-09-17, ETF 적립 설정으로 전일 종가에서 수량을 정하고 다음 날 종가에 비용을 반영했습니다. 양쪽 모두 동일한 현재 비용 계산을 사용해 주문 계획의 차이를 비교했습니다.
주문 보류는 줄었지만 기본 조건의 수익률과 낙폭은 좋아지지 않았습니다. 비용 3배 조건의 수익률은 12.83%→12.92%, 낙폭은 −15.44%→−15.70%였습니다. 실제 계좌 실적이나 향후 수익을 확인한 결과가 아닙니다.
기간별 수치, 불리한 결과, 자료 날짜, 모형의 한계와 재현 명령은
docs/REBALANCE_REVIEW_20260922.md에 기록했습니다. 주문 실행부와 기존 계좌 기록에 접근하지 않고 비교했습니다.근거
2026년 9월 22일 확인했습니다.
검증