盘中平仓利息修复

This commit is contained in:
吴方海
2026-05-27 18:24:05 +08:00
parent aa14bbd516
commit 3d06e59908
2 changed files with 16 additions and 12 deletions
@@ -609,7 +609,7 @@ namespace YLErp.Modules.SwapModule
ExpectedInterest(1, FixedRate, 0.001m, Principal * 0.5m))
};
var eodInterest = CalcEod("10", new DateTime(2026, 4, 30), eodPositions);
var expectedEod = ExpectedInterest(1, FixedRate, 0.001m, Principal * 0.5m);
var expectedEod = ExpectedInterest(2, FixedRate, 0.001m, Principal * 0.5m);
Assert.AreEqual(expectedEod, eodInterest.InterestAmount);
}