fix(swap): 修复股票基金类互换合约平仓时公司行为处理逻辑

- 优化 FindFundCorporateActions 方法,明确查询范围为严格大于 eodDate 的开区间,并添加日志记录
- 重命名 TryRestoreEffectiveFundPosition
This commit is contained in:
张名锐
2026-08-20 17:31:02 +08:00
parent f33647c5be
commit 039415d44c
2 changed files with 51 additions and 15 deletions
@@ -80,7 +80,7 @@ namespace YLErp.Modules.SwapModule
=> fallbackPrice;
public bool RestoreEffectiveFundPositionForTest(UnwindData unwindData, DateTime valueDate)
=> TryRestoreEffectiveFundPosition(unwindData, valueDate);
=> TryRestoreAndValidateUnwindData(unwindData, valueDate);
protected override int AddClientCash(trade td, double amount, string action, DateTime valueDate)
{