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

Contribution of Standardized Schedule functions to Core CDM #3342

Open
manucarreramoreno opened this issue Jan 24, 2025 · 1 comment · May be fixed by #3363
Open

Contribution of Standardized Schedule functions to Core CDM #3342

manucarreramoreno opened this issue Jan 24, 2025 · 1 comment · May be fixed by #3363

Comments

@manucarreramoreno
Copy link
Contributor

Background

Following the second contribution, further work has been conducted to externalize several functions defined in the Standardized Schedule model.

Proposal

Contribute to the core CDM the following functions:

Qualifying Functions

The following qualifying functions (accounted in the ISDA taxonomy) are not defined in the qualification base. ISDA taxonomy contemplates for FX Vanilla Option and FX NDO, while currently CDM has only a function for Vanilla Option that qualifies both product types.

Image

This functions require a transformation to follow the qualification structure, but they have to be included in the model.

Proposed namespace: cdm.product.qualification:func

Date Difference Years

The following function can be transformed to make use of the already existing DateDifference and LeapYearDateDifference in order to calculate the amount of years that are between two dates.

Image

Proposed namespace: cdm.base.datetime:func

FX Far Leg

This function extracts the far leg of an FX swap.

Image

Proposed namespace: cdm.product.template:func

Underlier for Product

This is a widely used DRR function. With an enhanced description, it could be very useful in CDM as well (as it is being used in the Standardized Schedule model already).

Image

Proposed namespace: cdm.product.template:func

Create Exposure from Trades

This is a very useful function to create a portfolio from a list of trades. Could be used in the testing of the events of a portfolio lifecycle.

Image

Proposed namespace: cdm.event.common:func or cdm.event.position:func

Date Resolutions

This group of function is used as a prioritization method for when adjustable dates are given.

Image

Image

Image

Proposed namespace: cdm.base.datetime:func

Compatibility

If known, please describe any compatibility issues that this change may have
with existing versions. Please review the list of backwardly incompatible
changes and in the design principles for assistance.

@manucarreramoreno
Copy link
Contributor Author

PR with proposal: #3363

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

Successfully merging a pull request may close this issue.

2 participants