hjhan
ce6c0812e1
refactor(accrual): 参数命名对齐业界标准(QuantLib/Strata)
FundingLegAccrual 4个方法的参数命名全面纠正:
| 旧名 | 新名 | 理由 |
|-------------------|-------------------|------|
| originalPv | referenceNotional | Pv(现值)概念错误,实际是参考本金 |
| closeRatio/closePercent | unwindFraction | 统一,对齐 ApplyUnwind.unwindPercent |
| consumedInterest | realizedInterest | 对齐 AccrualState.RealizedInterest |
| priorUnrealized | priorAccrued | 对齐 InterestResult.Accrued |
| priorAccrualPrincipal | priorNotional | 简洁,对齐 QuantLib notional |
| positionPrincipal | notional | 简化,去掉冗余前缀 |
| dynomicPrincipal | accrualBasis | 修正typo+用业界术语 |
同步更新:
- SwapDealService.CalcDailySimpleInterestByEod 调用点
- 3个影子测试文件命名参数
- SwapInterest.Round 改为 public(所有Round收口一处)
删除半成品残留: SwapInterest_CompoundInArrears_RolloverTimingTests.cs
验证: 编译0错误, 7个影子测试全过, 全量520测试7失败(基线一致)。
2026-08-12 10:11:26 +08:00
..
2026-08-12 10:11:26 +08:00
2025-08-29 14:43:24 +08:00
2026-08-11 11:24:05 +08:00
2026-08-12 06:13:38 +08:00
2026-08-11 16:59:22 +08:00
2026-08-11 17:09:13 +08:00
2024-05-09 14:06:26 +08:00
2026-08-10 18:01:37 +08:00
2025-09-11 14:18:51 +08:00
2026-08-12 07:05:41 +08:00
2024-05-09 14:06:26 +08:00
2026-07-23 11:06:50 +08:00
2026-08-11 09:23:01 +08:00
2026-08-12 10:11:26 +08:00
2026-07-03 08:22:27 +08:00
2026-08-11 16:59:22 +08:00
2026-08-11 09:40:48 +08:00
2026-08-06 17:45:43 +08:00
2025-04-14 16:31:35 +08:00
2026-07-29 14:42:03 +08:00
2026-07-23 11:06:50 +08:00
2026-08-07 19:44:01 +08:00
2026-07-21 15:28:14 +08:00
2026-07-22 16:51:40 +08:00
2024-05-09 14:06:26 +08:00
2024-05-09 14:06:26 +08:00
2026-01-26 17:35:56 +08:00
2026-07-23 11:06:50 +08:00
2026-08-12 09:45:19 +08:00
2026-08-11 19:23:21 +08:00
2024-05-09 14:06:26 +08:00
2024-05-09 14:06:26 +08:00
2024-06-04 18:19:49 +08:00