fix: reports 지표 순서 호환성 복원#8
Merged
Merged
Conversation
chado13
approved these changes
May 13, 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.
리뷰어가 작업내용을 이해하기 쉽도록 아래내용을 상세히 작성해주세요.
Changes
reports.metrics()의 basic/full report 항목 집합과 순서를 QuantStats legacy report와 호환되도록 조정했습니다.Max DD Date,Max DD Period Start,Max DD Period End,Avg. Return,Avg. Win,Avg. Lossrow를 제거하고Expected Daily,Expected Monthly,Expected Yearlyrow를 복원했습니다.0.2.1로 올렸습니다.Test
uv run pytest -quv run ruff check alphastats/reports.py tests/test_quantstats_parity.pyuv run mypy alphastats tests/test_quantstats_parity.py0.0.62와 basic/full reports row 개수 및 순서가 일치하는 것을 로컬 스크립트로 확인했습니다.Task Link