fix(swap): 修复股票基金类互换合约平仓时公司行为处理逻辑
- 优化 FindFundCorporateActions 方法,明确查询范围为严格大于 eodDate 的开区间,并添加日志记录 - 重命名 TryRestoreEffectiveFundPosition
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user