Repository navigation
fix: show descriptive timing returns with explicit sample scope - #6
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.
择时应用的标准指标未提供统一看板展示行,导致已有策略和基准收益在对比页为空。
现在明确展示两项描述性全区间收益,同时标注它们不是样本外验收指标。独立测试折、mean_excess_return、mean_matched_excess_return和失败门禁保持原样;不把折均超额包装成复合收益,不虚构缺失的年化、Sharpe或回撤。保留区间与来源说明并同步README。
验证:66项测试通过;新增原指标一致、全样本与样本外标签隔离和缺失值保留检查。Ruff检查、格式检查和diff检查通过。