hjhan
4a3fee9292
refactor(swap)+test: 删 GetInterests/CalcSwapInterests 死参数 needPrice/grossPrice;补工厂→接缝映射钉子
死参数收口(另一半):
- SwapDealService.GetInterests 删 needPrice/grossPrice(体内零消费,2026-08 验证);
InitSwapDealInterest.needPrice 同为死参数一并删
- SwapEodPositionService.CalcSwapInterests 签名+转发同步;两个 EOD 生产调用点
(SaveAutoEodInterestPosition/SaveEodInterestPositionCopy) 重排实参;
CalcEodPostCloseSettleInterests/GetIntradayUnwindInterests 委托同步
- 14 个测试文件 ~44 处直调点机械更新(8 处 override 签名 + 36 处调用实参)
- 注意:EOD 编排链(DealInterests→Save*家族)的 grossPrice(期初不含费价)有真实用途,保留未动
新增钉子:CalcEodPostCloseSettleInterests 工厂→接缝参数映射测试——
CalcSwapInterestsCapture 捕获 stub 断言 EodPostCloseSettle 的完整转发契约
(posi=平仓后剩余/closePosi=平掉额/恒1/settment:false/orginPv 等 11 项)。
该段位置转发含三个相邻同型 decimal,编译器不查错位,此测试兜底。
验证:定向 241 测试通过(含 T0/T1 Excel 验证期望值、EntrySemantics 精确值钉子——
任何 decimal 错位即红);全量 903=145失败/746通过/12跳过,与基线逐位一致。
2026-08-14 16:57:56 +08:00
..
2026-08-14 15:31:04 +08:00
2026-08-12 15:24:15 +08:00
2025-08-29 14:43:24 +08:00
2026-08-14 15:14:09 +08:00
2026-08-14 08:55:37 +08:00
2026-08-12 15:03:00 +08:00
2026-08-14 15:31:04 +08:00
2026-08-12 17:31:39 +08:00
2026-08-12 16:46:13 +08:00
2024-05-09 14:06:26 +08:00
2026-08-10 18:01:37 +08:00
2026-08-14 15:57:52 +08:00
2025-09-11 14:18:51 +08:00
2026-08-14 15:31:04 +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-14 16:57:56 +08:00
2026-07-03 08:22:27 +08:00
2026-08-14 16:57:56 +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
2026-08-12 16:26:12 +08:00
2024-05-09 14:06:26 +08:00
2024-06-04 18:19:49 +08:00
2026-08-12 16:26:12 +08:00