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

[internal refactor] on sequential pay #220

Open yellowbean opened 1 week ago

yellowbean commented 1 week ago

There are common alog that :

Using an Amount of Cash to pay out a list of 
Liabilities Actions ( Fee, Bond Int, Bond Prin, Account ) sequentially 

Goal:

Using an abstract function to cover these cases
yellowbean commented 1 week ago

complete at https://github.com/yellowbean/Hastructure/pull/216/commits/52876f4cb40bd3c0a9c207a86f4749c298742e57#diff-a8d00b4f29835e4a162c1d561d1e2575b8bb02d9047e7f4cbcbaf81d23aae322