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

Manuel Carrera Standardized Schedule Second Contribution #3258

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

regnosys-prod-user
Copy link
Collaborator

No description provided.

This contribution expands the Initial Margin calculation model using Standardized Schedule
Copy link

netlify bot commented Nov 15, 2024

Deploy Preview for finos-cdm ready!

Name Link
🔨 Latest commit 81a8e4e
🔍 Latest deploy log https://app.netlify.com/sites/finos-cdm/deploys/673724ab1497ca0008f7b16a
😎 Deploy Preview https://deploy-preview-3258--finos-cdm.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@manucarreramoreno
Copy link
Contributor

Implementation of the Standardized Schedule Method for Initial Margin Calculation in CDM - Release Notes

Standardised Schedule - Key Features

Background

Following the initial contribution of the Standardized Schedule Method for calculating Initial Margin (IM) within the Common Domain Model (CDM) and after receiving feedback from the working group, further work has been carried out to enhance the model by introducing new functionalities.

What is being released

In this second contribution, improvements have been made to the model, categorized into three main areas: the creation of conditions, code optimization, and cosmetic changes.

Key components of this release include:

  • New conditions have been added to validate the outputs of functions, ensuring they make sense from a business perspective.
  • Code optimization has been implemented to reduce redundancy by avoiding repetitive use of qualifying functions within data extraction functions, resulting in improved efficiency.
  • The name of one function has been updated, and some definitions have been expanded for better user understanding.

Conditions

  • Added new PositiveNotional post-condition:
    • Ensure the notional is greater than 0.
  • Added new ValidCurrency post-condition:
    • Ensure the currency is a valid ISO 3-Letter Currency Code.
  • Added new PositiveDuration post-condition:
    • Ensure the duration is greater than 0.
  • Added new PositiveGrossInitialMargin post-condition:
    • Ensure the gross initial margin is greater than 0.
  • Added new NonNegativeNetInitialMargin post-condition:
    • Ensure net initial margin is non-negative.
  • Added new TotalGIMAddition post-condition:
    • Ensure that only a single currency exists.
  • Added new NGRAddition post-condition:
    • Ensure that only a single currency exists.

Types

  • Modification to the StandardizedSchedule type
    • The following conditions have been added: PositiveNotional , ValidCurrency , and PositiveDuration .
  • Modification to the StandardizedScheduleTradeInfo type
    • The attributes grossInitialMargin and markToMarketValue, which were previously of type Quantity, are now of type Money. Additionally, the conditions PositiveGrossInitialMargin and SameCurrency have been included.
  • Modification to the StandardizedScheduleInitialMargin type
    • The condition NonNegativeNetInitialMargin has also been added.

Functions

  • Modification to the BuildStandardizedSchedule function
    • Aliases for productClass and assetClass have been introduced to serve as temporary variable assignments.
  • Modification to the StandardizedScheduleNotional function
    • The qualifying functions have been substituted with the newly created aliases.
  • Modification to the StandardizedScheduleNotionalCurrency function
    • The qualifying functions have been substituted with the newly created aliases.
  • Modification to the StandardizedScheduleDuration function
    • The qualifying functions have been substituted with the newly created aliases.

Rename

  • GetStandardizedScheduleMarginRate is now used instead of GetIMRequirement.

@manucarreramoreno
Copy link
Contributor

@dshoneisda @chrisisla This contribution was approved yesterday at the DPBE WG. Could you review and release?

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 this pull request may close these issues.

2 participants