forked from finos/common-domain-model
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into product-id-upi
- Loading branch information
Showing
73 changed files
with
5,480 additions
and
4,125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,36 @@ | ||
# *Collateral Model - Check Eligibility Function* | ||
# *Rename product qualification for Securities Lending and Repo* | ||
|
||
_Background_ | ||
|
||
As part of the [FINOS BMO Hackathon](https://www.finos.org/hosted-events/2023-05-03-finos-hackathon-bmo-nyc) event in May 2023, a demonstation of a [use-case](https://github.com/finos/community/discussions/251) was created that showed the CDM can be used to check collateral eligibility against multiple jurisdictions’ minimum collateral requirements and specific eligible collateral schedules. | ||
The current product qualification rules do not distinguish between securities lending and repurchase agreement product types. A future enhancement will refactor how `product` works and also introduce additional capabilities to the qualification functions to use additional attributes to support finer grained qualification (see Issue #2365). | ||
|
||
The demonstation was successful has been codified into the CDM and the `CheckEligibilityByDetails` function. | ||
In the meantime, the current qualification rule for repurchase agreements - which is invoked also for securities lending products - will be renamed to be "SecuritiesFinancing" to more loosely differentiate both sets of products. | ||
|
||
_Model Changes_ | ||
|
||
- Added new function/types: | ||
- `CheckEligibilityByDetails` - Applys an `EligibilityQuery` to check against a set of given `EligibleCollateralSpecification` to determine which collateral meets the eligibility and can be used/posted for delivery. | ||
|
||
_Review directions_ | ||
_What is being released?_ | ||
|
||
- Review the changes in the model | ||
- Inspect the Pull Request: https://github.com/finos/common-domain-model/pull/2439 | ||
- An updated product qualification rule: `Qualify_RepurchaseAgreement` is renamed to `Qualify_SecuritiesFinancing`. | ||
|
||
# *Product Model/ Collateral – ISO Country Code Enum and connection to Asset/Issuer Criteria* | ||
_Data types_ | ||
|
||
_What is being released?_ | ||
No changes. | ||
|
||
A new enumeration list has been added to the Common Domain Model named `ISOCountryCodeEnum`. | ||
The following changes have been made in the CDM to connect to this (including replacing the string with the enum list in the following occurrences): | ||
_Enumerations_ | ||
|
||
1. Data type `IssuerCriteria` attribute `issuerCountryOfOrigin`, string and metadata scheme removed, `ISOCountryCodeEnum` added. | ||
2. Data type `AssetCriteria` attribute `assetCountryOfOrigin`, string and metadata scheme removed, `ISOCountryCodeEnum` added. | ||
|
||
In addition, the following change has been made for connecting to ISO Currency codes: | ||
No changes. | ||
|
||
1. Data type `AssetCriteria` attribute `denominatedCurrency`, string and metadata scheme removed, `CurrencyCodeEnum` added. | ||
_Sample Files_ | ||
|
||
The following JSON sample files have been updated to reflect the current modeling of securities lending products which is to have the collateral information inside the `Collateral` data type rather than inside `AssetPayout`. | ||
|
||
_Review Directions_ | ||
- create-security-lending-invoice-func-input.json | ||
- full-return-settlement-workflow-func-input.json | ||
- new-settlement-workflow-func-input.json | ||
- new-settlement-workflow-func-input.json | ||
- allocation/allocation-sec-lending-func-input.json | ||
- reallocation/reallocation-pre-settled-func-input.json | ||
|
||
In the CDM Portal, select the Textual Browser and inspect the changes mentioned above. | ||
_Review directions_ | ||
|
||
Changes can be review in PR: https://github.com/finos/common-domain-model/pull/2477 | ||
In the CDM Portal, select the Textual Browser and inspect each of the changes identified above. | ||
|
||
Changes can be reviewed in PR: https://github.com/finos/common-domain-model/pull/2456 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.