common-domain-model
common-domain-model copied to clipboard
Chris Rayner Observable - Addition of price sub types
Observable - Addition of price sub types
Background
The PriceSchedule offers a priceType which can be used to specify what type of price this is e.g. InterestRate, AssetPrice. In certain scenarios more granularity is required.
For example, when defining a price as an "InterestRate" on a securities lending trade, we need to be able to further identify if this is a lending fee or a rebate rate.
What is being released?
The key changes are:
- A new
PriceSubTypeEnumhas been created that holds the same options asCashPriceTypeEnumbut with the addition of the "Rebate" option. - A new optional attribute
priceSubTypeof typePriceSubTypeEnumhas been added toPriceSchedule - The
PriceSchedule -> cashPriceattribute has been removed as it is not required in the context of aPriceSchedule. - The
premiumTypeattribute, previously undercashPrice -> premiumExpression, has been added directly underPriceSchedule. - The functions that create new
Priceitems have been updated to removecashPriceand includepriceSubType - The functions updated were:
- Create_StockSplit
- Create_OnDemandRateChangePriceChangeInstruction
- Create_RepricePrimitiveInstruction
- Create_AdjustmentPrimitiveInstruction
- ResolveEquityInitialPrice
- The Ingest functions have been updated to reflect the changes too.
Note that the existing CashPrice and CashPriceTypeEnum are still used by transfers. They will remain in the model for now and their usage will be reviewed further in #4195
Extensive analysis and review was performed in order to define these changes. For full details please refer to the Issue #3871
Review Directions
Changes can be reviewed in PR: #4207
[!NOTE] This comment was generated via Rosetta.
Deploy Preview for finos-cdm ready!
| Name | Link |
|---|---|
| Latest commit | fbce9959da62f57687676fddc753d7eba6998f9a |
| Latest deploy log | https://app.netlify.com/projects/finos-cdm/deploys/6924869f45d2410008a9a9df |
| Deploy Preview | https://deploy-preview-4207--finos-cdm.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
What is being released?
Updated to remove CashPriceTypeEnum as this is only used by the CashPrice.
Within CashPrice the cashPriceType was updated to now be priceSubType of type PriceSubTypeEnum. The condition that used cashPriceType was also updated to reflect this name change.
[!NOTE] This comment was generated via Rosetta.