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

Implement Multi-Asset on Pool Run endpoint #162

Closed yellowbean closed 5 months ago

yellowbean commented 6 months ago

Background

There is run endpoint on pool level:

Propose design

Design a new endpoint, which accept a map of list, each list has an asset type. The asset types may vary.

Why ?

Because , in the deal level , it supports multi type of assets in a single pool.

For transperancy purpose, it's nice to have a function to project cashflow just on pool level in standalone fashion , instead of being inside of Deal/SPV context.

yellowbean commented 5 months ago

implement on 4bc7c8f