yellowbean / Hastructure

ABS/MBS cashflow engine written in Haskell, with API to Python and C/Java (on the way)
https://deal-bench.xyz
Other
16 stars 4 forks source link

[Revolving] merge cashflow #227

Closed yellowbean closed 1 month ago

yellowbean commented 1 month ago

Issue

If original pool cashflow date range : 2024-01-01 -> 2024-12-01 but the new bought cashflow from revolving pool is 2024-06-01 -> 2025-03-01

In current merging logic, the cashflow from 2024-12-01 -> 2025-03-01 will be dropped.

Solution

yellowbean commented 1 month ago

fix 7ae5883