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

Set Assumptions for assets in the pool : By Tags #96

Closed
yellowbean opened this issue Oct 16, 2023 · 1 comment · Fixed by #134
Closed

Set Assumptions for assets in the pool : By Tags #96

yellowbean opened this issue Oct 16, 2023 · 1 comment · Fixed by #134
Labels

Comments

@yellowbean
Copy link
Owner

Apply Assumption Via Index

User is able to set assumption via Index, like:

([1,2,3],("Mortgage",{"CPR":0.01} )...

Here the performance assumption is applied to assets with index of 1,2,3.

But it creates the burden which force user to remember the asset attributes and indexes in this pool.

i.e

  • user want to set higher default rate for coupon > 0.05
  • filter all assets with coupon > 0.05, remember the index of these asset
  • apply the asset level assumption via feeding the indexes.

but what if the assets in pool has changed ? then rerun the step A was required.

what if adding an optional tag to assets, then apply assumption via tag ?

("High Coupon",("Mortgage",{"CPR":0.01} )...
("Low Risk",("Mortgage",{"CPR":0.01} )...
@yellowbean yellowbean linked a pull request Oct 23, 2023 that will close this issue
@yellowbean yellowbean removed a link to a pull request Oct 23, 2023
@yellowbean yellowbean linked a pull request Dec 5, 2023 that will close this issue
@yellowbean
Copy link
Owner Author

done with 58c220c

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

Successfully merging a pull request may close this issue.

1 participant