Repository navigation
修正公开基金除息日收益并核对现金分红来源 - #11
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.
真实公募验收发现:来源的日增长率在部分除息日只反映单位净值下跌,旧采集器连乘会遗漏现金分红。改为从单位净值及显式每份现金分红构建再投资收益,用累计净值现金分项核对区间分红合计;拒绝拆分、日期不齐、单位歧义、重复或现金不一致,并保留四份来源CSV。
同步净值口径、原始快照及平台只读接入的文档。首次获知仍为采集日,旧快照不覆盖,不将公开分红记录冒充历史已知的申赎权益资料。
验证:两项核心回归先失败后通过;采集器14项回归及完整93项pytest通过,pip check、Ruff检查和格式检查通过。已核对四只真实股/债基金的日期、拆分及累计现金合计,新的隔离快照和对账另记在Notes。完整真实FOF仍缺历史公告获知时间、真实条款和分用途日历。