盘中平仓利息修复
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user