Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loan Asset Type pool issues #68

Closed
Orangemaple23 opened this issue May 15, 2024 · 3 comments
Closed

Loan Asset Type pool issues #68

Orangemaple23 opened this issue May 15, 2024 · 3 comments

Comments

@Orangemaple23
Copy link

Hi @yellowbean!

Thank you for adding in Loan asset types into Absbox!

I've noticed an issue when modelling loan assets in a pool and then when buying the revolving assets.

The pool flows show that the balance goes negative and then get's increasingly bigger as the model runs through the dates. The collections received aren't indicative of the negative pool balance so I believe it might be a bug, I have attached a jupyter notebook showing the issue.
Loan_asset_type_negative_pool.zip

Thanks in advance!

@yellowbean
Copy link
Owner

yellowbean commented May 15, 2024

I think I pin point the issue, will look into it now

@yellowbean
Copy link
Owner

yellowbean commented May 15, 2024

Thanks ! @Orangemaple23

If you can connect to server with version : 0.27.21, the issue shall be gone.

root cause

when projection revolving cashflow it should rebuild begin balance ( sum up all revolving asset beg balance )

The old logic is using begin balance of asset 1 and amortize the balance with principal / prepayment/ defaults balance from asset 1 ~ asset 6, which over amortized then cause the big negative.

Screenshot 2024-05-16 at 03 02 55

@Orangemaple23
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants