hjhan
47f95fcc45
fix(swap): 互换结清后eod待实现利息正确扣减(SaveEodInterestPosition)
SaveEodInterestPosition(cs:834)原公式:
InterestIncomeSum = pre + TdInterestIncome - TdCloseInterest
其中 TdInterestIncome = TdCloseInterest(互换日全程利息),
两者抵消导致 InterestIncomeSum=pre不变。
互换结清后待实现没归零,后续平仓默认值偏大。
修复:只改InterestIncomeSum公式为 pre - TdCloseInterest
(前日待实现 - 当日实现 = 剩余待实现)。
TdInterestIncome保持原值不动(入库字段,影响报表)。
验证需重新收盘:修复改的是eod生成逻辑,已有eod不会自动变。
2026-07-01 13:58:24 +08:00
..
2025-08-29 14:43:24 +08:00
2024-05-09 14:06:26 +08:00
2025-09-11 14:18:51 +08:00
2024-05-09 14:06:26 +08:00
2026-03-25 10:24:48 +08:00
2026-07-01 13:38:24 +08:00
2026-06-26 16:06:13 +08:00
2026-07-01 13:58:24 +08:00
2024-06-05 14:37:30 +08:00
2024-05-09 14:06:26 +08:00
2025-04-14 16:31:35 +08:00
2026-06-26 16:06:13 +08:00
2025-09-11 14:18:51 +08:00
2026-06-08 18:11:50 +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
2025-10-16 13:13:32 +08:00
2026-07-01 09:53:44 +08:00
2026-05-28 15:16:32 +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