Repository navigation
完善低频基金账本重放对账与申赎重试一致性 - #10
Merged
PureSaber merged 1 commit intoOct 7, 2026
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.
基金产物原先可以通过资产分项相加与条款校验,但现金与总资产一起被改写、份额总量错误或日期丢失仍缺少逐日重放复核。本次从归档订单与PIT输入重建每天账户,并核对现金、冻结、应收、估值、净值、成交费用、订单状态及批次;schema@1继续原契约,不追认为新版重放通过。
Ledger.submit新增可选请求标识:同内容重试返回首次订单,冲突内容拒绝;提交与日推进共用回滚边界,异常或中断可重试。运行时同时核对待确认赎回冻结份额及应收有限性。现有未标识调用仍表示新订单。验证:81项全量测试通过,新增13项涵盖重复申赎、确认后重试、提交中断与状态恢复、份额/应收核对、重新签写摘要后的经济篡改、非有限现金及日期缺失/重复。Ruff、格式检查、依赖闭包通过。Studio实际基金预检、运行与原生重放核验集成通过,使用独立锁定环境及合成数据;不改变真实/冻结研究账户,不推进纳秒或实盘执行。