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

Friendly function for creating pool performance vector #56

Open
yellowbean opened this issue Mar 5, 2024 · 0 comments
Open

Friendly function for creating pool performance vector #56

yellowbean opened this issue Mar 5, 2024 · 0 comments
Labels
candy function 100% user functions which not rely on engine

Comments

@yellowbean
Copy link
Owner

Background

By current design, the CDR CPR vector curve is just a python list ,which is not easy way to understand how this vector being applied to pool performance .

image

Question _0.01 being applied to what asset periods ? when the 0.01 starts ? _

Solution 1: create a util function to create pool performance vector via dates

function buildVector():

buildVector( dealObject, "CDR",  ["<date1>",<val1>],[<date2>,<val2>].....)
# it will drop the data points before projection start date ( cutoff date / and previous collection date ) 
# if the <date1> is after the projection start date , raise error 
@yellowbean yellowbean added the candy function 100% user functions which not rely on engine label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
candy function 100% user functions which not rely on engine
Projects
None yet
Development

No branches or pull requests

1 participant